From c2ea667a01767c3f9a4705355dd7e2e6f39e4acb Mon Sep 17 00:00:00 2001 From: Istvan Csomortani Date: Tue, 25 Aug 2015 09:36:42 +0300 Subject: [PATCH] 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. --- library/axi_i2s_adi/axi_i2s_adi_ip.tcl | 3 +++ library/axi_spdif_tx/axi_spdif_tx_ip.tcl | 3 +++ 2 files changed, 6 insertions(+) diff --git a/library/axi_i2s_adi/axi_i2s_adi_ip.tcl b/library/axi_i2s_adi/axi_i2s_adi_ip.tcl index 627a781bc..cda746e58 100644 --- a/library/axi_i2s_adi/axi_i2s_adi_ip.tcl +++ b/library/axi_i2s_adi/axi_i2s_adi_ip.tcl @@ -95,5 +95,8 @@ adi_set_ports_dependency "DMA_REQ_RX_ACLK" \ adi_set_ports_dependency "DMA_REQ_RX_RSTN" \ "(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] diff --git a/library/axi_spdif_tx/axi_spdif_tx_ip.tcl b/library/axi_spdif_tx/axi_spdif_tx_ip.tcl index 3fb7a0fce..98ab1cb4b 100644 --- a/library/axi_spdif_tx/axi_spdif_tx_ip.tcl +++ b/library/axi_spdif_tx/axi_spdif_tx_ip.tcl @@ -46,5 +46,8 @@ adi_set_ports_dependency "DMA_REQ_ACLK" \ adi_set_ports_dependency "DMA_REQ_RSTN" \ "(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]