axi_jesd_gt- split up

main
Rejeesh Kutty 2015-08-03 08:39:38 -04:00
parent e4f94664a6
commit 3ed350efbc
2 changed files with 1179 additions and 1008 deletions

File diff suppressed because it is too large Load Diff

View File

@ -5,15 +5,19 @@ source $ad_hdl_dir/library/scripts/adi_ip.tcl
adi_ip_create axi_jesd_gt adi_ip_create axi_jesd_gt
adi_ip_files axi_jesd_gt [list \ adi_ip_files axi_jesd_gt [list \
"$ad_hdl_dir/library/common/ad_gt_common_1.v" \ "axi_jesd_gt_constr.xdc" \
"$ad_hdl_dir/library/common/ad_gt_channel_1.v" \
"$ad_hdl_dir/library/common/ad_gt_es.v" \
"$ad_hdl_dir/library/common/ad_jesd_align.v" \
"$ad_hdl_dir/library/common/ad_rst.v" \ "$ad_hdl_dir/library/common/ad_rst.v" \
"$ad_hdl_dir/library/common/ad_gt_channel.v" \
"$ad_hdl_dir/library/common/ad_gt_common.v" \
"$ad_hdl_dir/library/common/ad_gt_es.v" \
"$ad_hdl_dir/library/common/ad_gt_es_axi.v" \
"$ad_hdl_dir/library/common/ad_gt_channel_1.v" \
"$ad_hdl_dir/library/common/ad_gt_common_1.v" \
"$ad_hdl_dir/library/common/ad_jesd_align.v" \
"$ad_hdl_dir/library/common/up_axi.v" \ "$ad_hdl_dir/library/common/up_axi.v" \
"$ad_hdl_dir/library/common/up_gt_channel.v" \
"$ad_hdl_dir/library/common/up_gt.v" \ "$ad_hdl_dir/library/common/up_gt.v" \
"axi_jesd_gt.v" \ "axi_jesd_gt.v" ]
"axi_jesd_gt_constr.xdc" ]
adi_ip_properties axi_jesd_gt adi_ip_properties axi_jesd_gt
@ -28,37 +32,37 @@ set_property value axi_aresetn [ipx::get_bus_parameters ASSOCIATED_RESET \
-of_objects [ipx::get_bus_interfaces axi_signal_clock \ -of_objects [ipx::get_bus_interfaces axi_signal_clock \
-of_objects [ipx::current_core]]] -of_objects [ipx::current_core]]]
set_property enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.PCORE_NUM_OF_RX_LANES')) > 1} \ set_property enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.RX_NUM_OF_LANES')) > 1} \
[ipx::get_ports *rx_gt_*_1* -of_objects [ipx::current_core]] [ipx::get_ports *rx_*_1* -of_objects [ipx::current_core]]
set_property enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.PCORE_NUM_OF_RX_LANES')) > 2} \ set_property enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.RX_NUM_OF_LANES')) > 2} \
[ipx::get_ports *rx_gt_*_2* -of_objects [ipx::current_core]] [ipx::get_ports *rx_*_2* -of_objects [ipx::current_core]]
set_property enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.PCORE_NUM_OF_RX_LANES')) > 3} \ set_property enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.RX_NUM_OF_LANES')) > 3} \
[ipx::get_ports *rx_gt_*_3* -of_objects [ipx::current_core]] [ipx::get_ports *rx_*_3* -of_objects [ipx::current_core]]
set_property enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.PCORE_NUM_OF_RX_LANES')) > 4} \ set_property enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.RX_NUM_OF_LANES')) > 4} \
[ipx::get_ports *rx_gt_*_4* -of_objects [ipx::current_core]] [ipx::get_ports *rx_*_4* -of_objects [ipx::current_core]]
set_property enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.PCORE_NUM_OF_RX_LANES')) > 5} \ set_property enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.RX_NUM_OF_LANES')) > 5} \
[ipx::get_ports *rx_gt_*_5* -of_objects [ipx::current_core]] [ipx::get_ports *rx_*_5* -of_objects [ipx::current_core]]
set_property enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.PCORE_NUM_OF_RX_LANES')) > 6} \ set_property enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.RX_NUM_OF_LANES')) > 6} \
[ipx::get_ports *rx_gt_*_6* -of_objects [ipx::current_core]] [ipx::get_ports *rx_*_6* -of_objects [ipx::current_core]]
set_property enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.PCORE_NUM_OF_RX_LANES')) > 7} \ set_property enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.RX_NUM_OF_LANES')) > 7} \
[ipx::get_ports *rx_gt_*_7* -of_objects [ipx::current_core]] [ipx::get_ports *rx_*_7* -of_objects [ipx::current_core]]
set_property driver_value 0 [ipx::get_ports *tx_gt_charisk_* -of_objects [ipx::current_core]] set_property enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.TX_NUM_OF_LANES')) > 1} \
set_property driver_value 0 [ipx::get_ports *tx_gt_data_* -of_objects [ipx::current_core]] [ipx::get_ports *tx_*_1* -of_objects [ipx::current_core]]
set_property enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.PCORE_NUM_OF_TX_LANES')) > 1} \ set_property enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.TX_NUM_OF_LANES')) > 2} \
[ipx::get_ports *tx_gt_*_1* -of_objects [ipx::current_core]] [ipx::get_ports *tx_*_2* -of_objects [ipx::current_core]]
set_property enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.PCORE_NUM_OF_TX_LANES')) > 2} \ set_property enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.TX_NUM_OF_LANES')) > 3} \
[ipx::get_ports *tx_gt_*_2* -of_objects [ipx::current_core]] [ipx::get_ports *tx_*_3* -of_objects [ipx::current_core]]
set_property enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.PCORE_NUM_OF_TX_LANES')) > 3} \ set_property enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.TX_NUM_OF_LANES')) > 4} \
[ipx::get_ports *tx_gt_*_3* -of_objects [ipx::current_core]] [ipx::get_ports *tx_*_4* -of_objects [ipx::current_core]]
set_property enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.PCORE_NUM_OF_TX_LANES')) > 4} \ set_property enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.TX_NUM_OF_LANES')) > 5} \
[ipx::get_ports *tx_gt_*_4* -of_objects [ipx::current_core]] [ipx::get_ports *tx_*_5* -of_objects [ipx::current_core]]
set_property enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.PCORE_NUM_OF_TX_LANES')) > 5} \ set_property enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.TX_NUM_OF_LANES')) > 6} \
[ipx::get_ports *tx_gt_*_5* -of_objects [ipx::current_core]] [ipx::get_ports *tx_*_6* -of_objects [ipx::current_core]]
set_property enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.PCORE_NUM_OF_TX_LANES')) > 6} \ set_property enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.TX_NUM_OF_LANES')) > 7} \
[ipx::get_ports *tx_gt_*_6* -of_objects [ipx::current_core]] [ipx::get_ports *tx_*_7* -of_objects [ipx::current_core]]
set_property enablement_dependency {spirit:decode(id('MODELPARAM_VALUE.PCORE_NUM_OF_TX_LANES')) > 7} \
[ipx::get_ports *tx_gt_*_7* -of_objects [ipx::current_core]] set_property driver_value 0 [ipx::get_ports -filter "direction==in" -of_objects [ipx::current_core]]
ipx::save_core [ipx::current_core] ipx::save_core [ipx::current_core]