spi_engine: Add dependency for unused interfaces
parent
225d133a68
commit
fb6e0d3efb
|
@ -59,5 +59,7 @@ adi_add_bus_clock "s_axi_aclk" "spi_engine_offload_ctrl0:s_axi" "s_axi_aresetn"
|
|||
foreach port {"up_clk" "up_rstn" "up_wreq" "up_waddr" "up_wdata" "up_rreq" "up_raddr"} {
|
||||
set_property DRIVER_VALUE "0" [ipx::get_ports $port]
|
||||
}
|
||||
adi_set_bus_dependency "spi_engine_offload_ctrl0" "spi_engine_offload_ctrl0" \
|
||||
"(spirit:decode(id('MODELPARAM_VALUE.NUM_OFFLOAD')) > 0)"
|
||||
|
||||
ipx::save_core [ipx::current_core]
|
||||
|
|
|
@ -51,4 +51,7 @@ foreach prefix [list "s0" "s1"] {
|
|||
adi_add_bus_clock "clk" [format "%s_ctrl" $prefix] "resetn"
|
||||
}
|
||||
|
||||
adi_set_bus_dependency "s1_ctrl" "s1_ctrl" \
|
||||
"(spirit:decode(id('MODELPARAM_VALUE.NUM_OF_SDI')) > 1)"
|
||||
|
||||
ipx::save_core [ipx::current_core]
|
||||
|
|
Loading…
Reference in New Issue