axi_dmac: Hide fifo_wr_sync signal if C_SYNC_TRANSFER_START != 1

The fifo_wr_sync signal is only used when C_SYNC_TRANSFER_START = 1, so hide it otherwise.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
main
Lars-Peter Clausen 2014-09-30 10:48:45 +02:00
parent 77cbf26241
commit 9e7eb81b76
1 changed files with 3 additions and 0 deletions

View File

@ -83,5 +83,8 @@ set_property value {fifo_wr} [ipx::get_bus_parameter ASSOCIATED_BUSIF [ipx::get_
adi_set_bus_dependency "fifo_wr" "fifo_wr" \
"(spirit:decode(id('MODELPARAM_VALUE.C_DMA_TYPE_SRC')) = 2)"
set_property ENABLEMENT_DEPENDENCY \
"(spirit:decode(id('MODELPARAM_VALUE.C_DMA_TYPE_SRC')) = 2 and spirit:decode(id('MODELPARAM_VALUE.C_SYNC_TRANSFER_START')) = 1)" \
[ipx::get_ports "fifo_wr_sync"]
ipx::save_core [ipx::current_core]