util_upack: Show upack_valid only if the channel is activated

main
Adrian Costina 2015-06-02 11:36:06 +03:00
parent 71b5004b25
commit 2b5abf74d7
1 changed files with 7 additions and 0 deletions

View File

@ -18,42 +18,49 @@ set_property -dict {driver_value {0} enablement_dependency {spirit:decode(id('MO
[ipx::get_port dac_enable_1 [ipx::current_core]] \ [ipx::get_port dac_enable_1 [ipx::current_core]] \
[ipx::get_port dac_valid_1 [ipx::current_core]] \ [ipx::get_port dac_valid_1 [ipx::current_core]] \
[ipx::get_port dac_data_1 [ipx::current_core]] \ [ipx::get_port dac_data_1 [ipx::current_core]] \
[ipx::get_port upack_valid_1 [ipx::current_core]] \
set_property -dict {driver_value {0} enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.CH_CNT')) > 2}} \ set_property -dict {driver_value {0} enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.CH_CNT')) > 2}} \
[ipx::get_port dac_enable_2 [ipx::current_core]] \ [ipx::get_port dac_enable_2 [ipx::current_core]] \
[ipx::get_port dac_valid_2 [ipx::current_core]] \ [ipx::get_port dac_valid_2 [ipx::current_core]] \
[ipx::get_port dac_data_2 [ipx::current_core]] \ [ipx::get_port dac_data_2 [ipx::current_core]] \
[ipx::get_port upack_valid_2 [ipx::current_core]] \
set_property -dict {driver_value {0} enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.CH_CNT')) > 3}} \ set_property -dict {driver_value {0} enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.CH_CNT')) > 3}} \
[ipx::get_port dac_enable_3 [ipx::current_core]] \ [ipx::get_port dac_enable_3 [ipx::current_core]] \
[ipx::get_port dac_valid_3 [ipx::current_core]] \ [ipx::get_port dac_valid_3 [ipx::current_core]] \
[ipx::get_port dac_data_3 [ipx::current_core]] \ [ipx::get_port dac_data_3 [ipx::current_core]] \
[ipx::get_port upack_valid_3 [ipx::current_core]] \
set_property -dict {driver_value {0} enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.CH_CNT')) > 4}} \ set_property -dict {driver_value {0} enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.CH_CNT')) > 4}} \
[ipx::get_port dac_enable_4 [ipx::current_core]] \ [ipx::get_port dac_enable_4 [ipx::current_core]] \
[ipx::get_port dac_valid_4 [ipx::current_core]] \ [ipx::get_port dac_valid_4 [ipx::current_core]] \
[ipx::get_port dac_data_4 [ipx::current_core]] \ [ipx::get_port dac_data_4 [ipx::current_core]] \
[ipx::get_port upack_valid_4 [ipx::current_core]] \
set_property -dict {driver_value {0} enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.CH_CNT')) > 5}} \ set_property -dict {driver_value {0} enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.CH_CNT')) > 5}} \
[ipx::get_port dac_enable_5 [ipx::current_core]] \ [ipx::get_port dac_enable_5 [ipx::current_core]] \
[ipx::get_port dac_valid_5 [ipx::current_core]] \ [ipx::get_port dac_valid_5 [ipx::current_core]] \
[ipx::get_port dac_data_5 [ipx::current_core]] \ [ipx::get_port dac_data_5 [ipx::current_core]] \
[ipx::get_port upack_valid_5 [ipx::current_core]] \
set_property -dict {driver_value {0} enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.CH_CNT')) > 6}} \ set_property -dict {driver_value {0} enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.CH_CNT')) > 6}} \
[ipx::get_port dac_enable_6 [ipx::current_core]] \ [ipx::get_port dac_enable_6 [ipx::current_core]] \
[ipx::get_port dac_valid_6 [ipx::current_core]] \ [ipx::get_port dac_valid_6 [ipx::current_core]] \
[ipx::get_port dac_data_6 [ipx::current_core]] \ [ipx::get_port dac_data_6 [ipx::current_core]] \
[ipx::get_port upack_valid_6 [ipx::current_core]] \
set_property -dict {driver_value {0} enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.CH_CNT')) > 7}} \ set_property -dict {driver_value {0} enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.CH_CNT')) > 7}} \
[ipx::get_port dac_enable_7 [ipx::current_core]] \ [ipx::get_port dac_enable_7 [ipx::current_core]] \
[ipx::get_port dac_valid_7 [ipx::current_core]] \ [ipx::get_port dac_valid_7 [ipx::current_core]] \
[ipx::get_port dac_data_7 [ipx::current_core]] \ [ipx::get_port dac_data_7 [ipx::current_core]] \
[ipx::get_port upack_valid_7 [ipx::current_core]] \
ipx::save_core [ipx::current_core] ipx::save_core [ipx::current_core]