axi_ad9144: Hide unused ports in DUAL mode
In DUAL mode half of the data ports are unused and the unused inputs need to be connected to dummy signals. Completely hide the unused ports in DUAL mode to remove that requirement. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>main
parent
7474ca36de
commit
b9b619d918
|
@ -13,6 +13,13 @@ adi_ip_add_core_dependencies { \
|
||||||
analog.com:user:ad_ip_jesd204_tpl_dac:1.0 \
|
analog.com:user:ad_ip_jesd204_tpl_dac:1.0 \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
adi_set_ports_dependency "dac_valid_2" "QUAD_OR_DUAL_N == 1"
|
||||||
|
adi_set_ports_dependency "dac_valid_3" "QUAD_OR_DUAL_N == 1"
|
||||||
|
adi_set_ports_dependency "dac_enable_2" "QUAD_OR_DUAL_N == 1"
|
||||||
|
adi_set_ports_dependency "dac_enable_3" "QUAD_OR_DUAL_N == 1"
|
||||||
|
adi_set_ports_dependency "dac_ddata_2" "QUAD_OR_DUAL_N == 1" "0"
|
||||||
|
adi_set_ports_dependency "dac_ddata_3" "QUAD_OR_DUAL_N == 1" "0"
|
||||||
|
|
||||||
set_property driver_value 0 [ipx::get_ports *dunf* -of_objects [ipx::current_core]]
|
set_property driver_value 0 [ipx::get_ports *dunf* -of_objects [ipx::current_core]]
|
||||||
set_property driver_value 0 [ipx::get_ports *tx_ready* -of_objects [ipx::current_core]]
|
set_property driver_value 0 [ipx::get_ports *tx_ready* -of_objects [ipx::current_core]]
|
||||||
|
|
||||||
|
|
|
@ -160,7 +160,5 @@ ad_cpu_interrupt ps-11 mb-14 axi_ad9680_jesd/irq
|
||||||
ad_cpu_interrupt ps-12 mb-13 axi_ad9144_dma/irq
|
ad_cpu_interrupt ps-12 mb-13 axi_ad9144_dma/irq
|
||||||
ad_cpu_interrupt ps-13 mb-12 axi_ad9680_dma/irq
|
ad_cpu_interrupt ps-13 mb-12 axi_ad9680_dma/irq
|
||||||
|
|
||||||
ad_connect axi_ad9144_core/dac_ddata_2 GND
|
|
||||||
ad_connect axi_ad9144_core/dac_ddata_3 GND
|
|
||||||
ad_connect axi_ad9144_fifo/bypass GND
|
ad_connect axi_ad9144_fifo/bypass GND
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue