pluto_hdl_adi/projects/adrv9361z7035/common/ccbob_bd.tcl

50 lines
1.5 KiB
Tcl
Raw Normal View History

2015-09-18 15:48:30 +00:00
# lbfmc
2015-09-21 18:44:24 +00:00
ad_connect sys_ps7/ENET1_GMII_RX_CLK GND
ad_connect sys_ps7/ENET1_GMII_TX_CLK GND
2015-11-06 16:34:07 +00:00
# un-used io (gt)
2015-09-18 15:48:30 +00:00
2017-05-02 08:43:32 +00:00
ad_ip_instance axi_xcvrlb axi_pz_xcvrlb
ad_ip_parameter axi_pz_xcvrlb CONFIG.NUM_OF_LANES 4
2015-09-18 15:48:30 +00:00
2015-11-06 16:34:07 +00:00
create_bd_port -dir I gt_ref_clk
2016-09-21 15:02:49 +00:00
create_bd_port -dir I -from 3 -to 0 gt_rx_p
create_bd_port -dir I -from 3 -to 0 gt_rx_n
create_bd_port -dir O -from 3 -to 0 gt_tx_p
create_bd_port -dir O -from 3 -to 0 gt_tx_n
ad_cpu_interconnect 0x44A60000 axi_pz_xcvrlb
ad_connect axi_pz_xcvrlb/ref_clk gt_ref_clk
ad_connect axi_pz_xcvrlb/rx_p gt_rx_p
ad_connect axi_pz_xcvrlb/rx_n gt_rx_n
ad_connect axi_pz_xcvrlb/tx_p gt_tx_p
ad_connect axi_pz_xcvrlb/tx_n gt_tx_n
2015-11-06 16:34:07 +00:00
# un-used io (regular)
2017-05-02 08:43:32 +00:00
ad_ip_instance axi_gpreg axi_gpreg
ad_ip_parameter axi_gpreg CONFIG.NUM_OF_CLK_MONS 0
ad_ip_parameter axi_gpreg CONFIG.NUM_OF_IO 4
2015-11-06 16:34:07 +00:00
create_bd_port -dir I -from 31 -to 0 gp_in_0
create_bd_port -dir I -from 31 -to 0 gp_in_1
create_bd_port -dir I -from 31 -to 0 gp_in_2
2016-09-21 15:02:49 +00:00
create_bd_port -dir I -from 31 -to 0 gp_in_3
2015-11-06 16:34:07 +00:00
create_bd_port -dir O -from 31 -to 0 gp_out_0
create_bd_port -dir O -from 31 -to 0 gp_out_1
create_bd_port -dir O -from 31 -to 0 gp_out_2
2016-09-21 15:02:49 +00:00
create_bd_port -dir O -from 31 -to 0 gp_out_3
2015-11-06 16:34:07 +00:00
ad_connect gp_in_0 axi_gpreg/up_gp_in_0
ad_connect gp_in_1 axi_gpreg/up_gp_in_1
ad_connect gp_in_2 axi_gpreg/up_gp_in_2
2016-09-21 15:02:49 +00:00
ad_connect gp_in_3 axi_gpreg/up_gp_in_3
2015-11-06 16:34:07 +00:00
ad_connect gp_out_0 axi_gpreg/up_gp_out_0
ad_connect gp_out_1 axi_gpreg/up_gp_out_1
ad_connect gp_out_2 axi_gpreg/up_gp_out_2
2016-09-21 15:02:49 +00:00
ad_connect gp_out_3 axi_gpreg/up_gp_out_3
ad_cpu_interconnect 0x41200000 axi_gpreg
2015-11-06 16:34:07 +00:00