diff --git a/library/util_cpack/util_cpack_ip.tcl b/library/util_cpack/util_cpack_ip.tcl index 23cffc529..9820b6842 100644 --- a/library/util_cpack/util_cpack_ip.tcl +++ b/library/util_cpack/util_cpack_ip.tcl @@ -14,6 +14,48 @@ adi_ip_properties_lite util_cpack adi_ip_constraints util_cpack [list \ "util_cpack_constr.xdc" ] +set_property -dict {driver_value {0} enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.CH_CNT')) > 1}} \ + [ipx::get_port adc_enable_1 [ipx::current_core]] \ + [ipx::get_port adc_valid_1 [ipx::current_core]] \ + [ipx::get_port adc_data_1 [ipx::current_core]] \ + + +set_property -dict {driver_value {0} enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.CH_CNT')) > 2}} \ + [ipx::get_port adc_enable_2 [ipx::current_core]] \ + [ipx::get_port adc_valid_2 [ipx::current_core]] \ + [ipx::get_port adc_data_2 [ipx::current_core]] \ + + +set_property -dict {driver_value {0} enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.CH_CNT')) > 3}} \ + [ipx::get_port adc_enable_3 [ipx::current_core]] \ + [ipx::get_port adc_valid_3 [ipx::current_core]] \ + [ipx::get_port adc_data_3 [ipx::current_core]] \ + + +set_property -dict {driver_value {0} enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.CH_CNT')) > 4}} \ + [ipx::get_port adc_enable_4 [ipx::current_core]] \ + [ipx::get_port adc_valid_4 [ipx::current_core]] \ + [ipx::get_port adc_data_4 [ipx::current_core]] \ + + +set_property -dict {driver_value {0} enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.CH_CNT')) > 5}} \ + [ipx::get_port adc_enable_5 [ipx::current_core]] \ + [ipx::get_port adc_valid_5 [ipx::current_core]] \ + [ipx::get_port adc_data_5 [ipx::current_core]] \ + + +set_property -dict {driver_value {0} enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.CH_CNT')) > 6}} \ + [ipx::get_port adc_enable_6 [ipx::current_core]] \ + [ipx::get_port adc_valid_6 [ipx::current_core]] \ + [ipx::get_port adc_data_6 [ipx::current_core]] \ + + +set_property -dict {driver_value {0} enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.CH_CNT')) > 7}} \ + [ipx::get_port adc_enable_7 [ipx::current_core]] \ + [ipx::get_port adc_valid_7 [ipx::current_core]] \ + [ipx::get_port adc_data_7 [ipx::current_core]] \ + + ipx::save_core [ipx::current_core]