library/IPI: Set ASSOCIATED_RESET parameter for AXI interface

For some reason, if a core has an AXI and an AXI Stream interface too, the tool sets the AXI interface's ASSOCIATED_RESET parameter to the AXI Stream interface's reset.
This cause an unconnected AXI reset port in the block design. This 'set_property' command intended to overwrite this automated setup.
main
Istvan Csomortani 2015-08-25 09:36:42 +03:00
parent af8a48d90e
commit c2ea667a01
2 changed files with 6 additions and 0 deletions

View File

@ -95,5 +95,8 @@ adi_set_ports_dependency "DMA_REQ_RX_ACLK" \
adi_set_ports_dependency "DMA_REQ_RX_RSTN" \ adi_set_ports_dependency "DMA_REQ_RX_RSTN" \
"(spirit:decode(id('MODELPARAM_VALUE.DMA_TYPE')) = 1)" "(spirit:decode(id('MODELPARAM_VALUE.DMA_TYPE')) = 1)"
set_property value S_AXI_ARESETN [ipx::get_bus_parameters ASSOCIATED_RESET \
-of_objects [ipx::get_bus_interfaces S_AXI_ACLK -of_objects [ipx::current_core]]]
ipx::save_core [ipx::current_core] ipx::save_core [ipx::current_core]

View File

@ -46,5 +46,8 @@ adi_set_ports_dependency "DMA_REQ_ACLK" \
adi_set_ports_dependency "DMA_REQ_RSTN" \ adi_set_ports_dependency "DMA_REQ_RSTN" \
"(spirit:decode(id('MODELPARAM_VALUE.DMA_TYPE')) = 1)" "(spirit:decode(id('MODELPARAM_VALUE.DMA_TYPE')) = 1)"
set_property value S_AXI_ARESETN [ipx::get_bus_parameters ASSOCIATED_RESET \
-of_objects [ipx::get_bus_interfaces S_AXI_ACLK -of_objects [ipx::current_core]]]
ipx::save_core [ipx::current_core] ipx::save_core [ipx::current_core]