From e0efbe210e9502dce0be9657b4d70313303faee1 Mon Sep 17 00:00:00 2001 From: Istvan Csomortani Date: Mon, 3 Apr 2017 18:12:28 +0300 Subject: [PATCH] constraints: constraint files should be specified at adi_ip_files --- library/util_rfifo/util_rfifo_ip.tcl | 3 ++- library/util_tdd_sync/util_tdd_sync_ip.tcl | 1 + library/util_wfifo/util_wfifo_ip.tcl | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/library/util_rfifo/util_rfifo_ip.tcl b/library/util_rfifo/util_rfifo_ip.tcl index d8d2b8d7f..67ef25353 100644 --- a/library/util_rfifo/util_rfifo_ip.tcl +++ b/library/util_rfifo/util_rfifo_ip.tcl @@ -6,6 +6,7 @@ source $ad_hdl_dir/library/scripts/adi_ip.tcl adi_ip_create util_rfifo adi_ip_files util_rfifo [list \ "$ad_hdl_dir/library/common/ad_mem.v" \ + "util_rfifo_constr.xdc" \ "util_rfifo.v" ] adi_ip_properties_lite util_rfifo @@ -19,7 +20,7 @@ set_property driver_value 0 [ipx::get_ports *dout_valid* -of_objects [ipx::curre set_property driver_value 0 [ipx::get_ports *din_data* -of_objects [ipx::current_core]] set_property driver_value 0 [ipx::get_ports *din_unf* -of_objects [ipx::current_core]] set_property enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.NUM_OF_CHANNELS')) > 1} \ - [ipx::get_ports *_1* -of_objects [ipx::current_core]] + [ipx::get_ports *_1* -of_objects [ipx::current_core]] set_property enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.NUM_OF_CHANNELS')) > 2} \ [ipx::get_ports *_2* -of_objects [ipx::current_core]] set_property enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.NUM_OF_CHANNELS')) > 3} \ diff --git a/library/util_tdd_sync/util_tdd_sync_ip.tcl b/library/util_tdd_sync/util_tdd_sync_ip.tcl index 5881b95d5..fbe92a4f5 100644 --- a/library/util_tdd_sync/util_tdd_sync_ip.tcl +++ b/library/util_tdd_sync/util_tdd_sync_ip.tcl @@ -7,6 +7,7 @@ source $ad_hdl_dir/library/scripts/adi_ip.tcl adi_ip_create util_tdd_sync adi_ip_files util_tdd_sync [list \ "$ad_hdl_dir/library/common/util_pulse_gen.v" \ + "util_tdd_sync_constr.xdc" \ "util_tdd_sync.v"] adi_ip_properties_lite util_tdd_sync diff --git a/library/util_wfifo/util_wfifo_ip.tcl b/library/util_wfifo/util_wfifo_ip.tcl index f6a54b55d..d0cfdcfa8 100644 --- a/library/util_wfifo/util_wfifo_ip.tcl +++ b/library/util_wfifo/util_wfifo_ip.tcl @@ -6,6 +6,7 @@ source $ad_hdl_dir/library/scripts/adi_ip.tcl adi_ip_create util_wfifo adi_ip_files util_wfifo [list \ "$ad_hdl_dir/library/common/ad_mem.v" \ + "util_wfifo_constr.xdc" \ "util_wfifo.v" ] adi_ip_properties_lite util_wfifo @@ -19,7 +20,7 @@ set_property driver_value 0 [ipx::get_ports *din_valid* -of_objects [ipx::curren set_property driver_value 0 [ipx::get_ports *din_data* -of_objects [ipx::current_core]] set_property driver_value 0 [ipx::get_ports *dout_ovf* -of_objects [ipx::current_core]] set_property enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.NUM_OF_CHANNELS')) > 1} \ - [ipx::get_ports *_1* -of_objects [ipx::current_core]] + [ipx::get_ports *_1* -of_objects [ipx::current_core]] set_property enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.NUM_OF_CHANNELS')) > 2} \ [ipx::get_ports *_2* -of_objects [ipx::current_core]] set_property enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.NUM_OF_CHANNELS')) > 3} \