From 9183f2287a3867a777f7b945ea3c9c3951de2502 Mon Sep 17 00:00:00 2001 From: Lars-Peter Clausen Date: Thu, 16 Apr 2015 10:49:32 +0200 Subject: [PATCH] axi_spdif_tx: Use adi_ip_constraints Use adi_ip_constraints to add the constraints file instead of open-coding it. Signed-off-by: Lars-Peter Clausen --- library/axi_spdif_tx/axi_spdif_tx_ip.tcl | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/library/axi_spdif_tx/axi_spdif_tx_ip.tcl b/library/axi_spdif_tx/axi_spdif_tx_ip.tcl index 372106801..9b119a232 100644 --- a/library/axi_spdif_tx/axi_spdif_tx_ip.tcl +++ b/library/axi_spdif_tx/axi_spdif_tx_ip.tcl @@ -15,12 +15,7 @@ adi_ip_files axi_spdif_tx [list \ "axi_spdif_tx_constr.xdc" ] adi_ip_properties_lite axi_spdif_tx - -set ip_constr_files "axi_spdif_tx_constr.xdc" -set proj_filegroup [ipx::get_file_group xilinx_vhdlsynthesis [ipx::current_core]] -ipx::add_file $ip_constr_files $proj_filegroup -set_property type {{xdc}} [ipx::get_file $ip_constr_files $proj_filegroup] -set_property library_name {} [ipx::get_file $ip_constr_files $proj_filegroup] +adi_ip_constraints axi_spdif_tx axi_spdif_tx_constr.xdc adi_add_bus "DMA_ACK" "slave" \ "xilinx.com:interface:axis_rtl:1.0" \