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 <lars@metafoo.de>main
parent
bfd84edc46
commit
9183f2287a
|
@ -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" \
|
||||
|
|
Loading…
Reference in New Issue