2023-07-06 12:08:22 +00:00
|
|
|
###############################################################################
|
|
|
|
## Copyright (C) 2015-2023 Analog Devices, Inc. All rights reserved.
|
|
|
|
### SPDX short identifier: ADIBSD
|
|
|
|
###############################################################################
|
2015-08-14 15:24:27 +00:00
|
|
|
|
2023-07-06 12:08:22 +00:00
|
|
|
# ip
|
2022-07-12 11:06:15 +00:00
|
|
|
source ../../scripts/adi_env.tcl
|
2018-08-14 09:59:39 +00:00
|
|
|
source $ad_hdl_dir/library/scripts/adi_ip_xilinx.tcl
|
2015-08-14 15:24:27 +00:00
|
|
|
|
2016-06-17 16:00:15 +00:00
|
|
|
adi_if_define if_xcvr_cm
|
|
|
|
adi_if_ports output 1 enb
|
|
|
|
adi_if_ports output 12 addr
|
2018-10-04 08:33:57 +00:00
|
|
|
adi_if_ports output 1 wr
|
2016-06-17 16:00:15 +00:00
|
|
|
adi_if_ports output 16 wdata
|
|
|
|
adi_if_ports input 16 rdata
|
|
|
|
adi_if_ports input 1 ready
|
|
|
|
|
|
|
|
adi_if_define if_xcvr_ch
|
|
|
|
adi_if_ports input 1 pll_locked
|
|
|
|
adi_if_ports output 1 rst
|
|
|
|
adi_if_ports output 1 user_ready
|
|
|
|
adi_if_ports input 1 rst_done
|
2020-12-18 14:43:28 +00:00
|
|
|
adi_if_ports output 4 prbssel
|
|
|
|
adi_if_ports output 1 prbsforceerr
|
|
|
|
adi_if_ports output 1 prbscntreset
|
|
|
|
adi_if_ports input 1 prbserr
|
|
|
|
adi_if_ports input 1 prbslocked
|
2016-06-17 16:00:15 +00:00
|
|
|
adi_if_ports output 1 lpm_dfe_n
|
|
|
|
adi_if_ports output 3 rate
|
|
|
|
adi_if_ports output 2 sys_clk_sel
|
|
|
|
adi_if_ports output 3 out_clk_sel
|
2018-10-01 15:36:39 +00:00
|
|
|
adi_if_ports output 4 tx_diffctrl
|
|
|
|
adi_if_ports output 5 tx_postcursor
|
|
|
|
adi_if_ports output 5 tx_precursor
|
2016-06-17 16:00:15 +00:00
|
|
|
adi_if_ports output 1 enb
|
|
|
|
adi_if_ports output 12 addr
|
|
|
|
adi_if_ports output 1 wr
|
|
|
|
adi_if_ports output 16 wdata
|
|
|
|
adi_if_ports input 16 rdata
|
|
|
|
adi_if_ports input 1 ready
|
2021-10-01 14:41:30 +00:00
|
|
|
adi_if_ports output 2 bufstatus
|
|
|
|
adi_if_ports output 1 bufstatus_rst
|
2016-06-17 16:00:15 +00:00
|
|
|
|
2015-08-14 19:33:36 +00:00
|
|
|
adi_if_define if_gt_qpll
|
|
|
|
adi_if_ports output 1 qpll_rst reset
|
|
|
|
adi_if_ports output 1 qpll_ref_clk clock
|
2015-08-14 15:24:27 +00:00
|
|
|
|
2015-08-14 19:33:36 +00:00
|
|
|
adi_if_define if_gt_pll
|
|
|
|
adi_if_ports output 1 cpll_rst_m reset
|
|
|
|
adi_if_ports output 1 cpll_ref_clk_in clock
|
2015-08-14 15:24:27 +00:00
|
|
|
|
2015-08-14 19:33:36 +00:00
|
|
|
adi_if_define if_gt_rx
|
2018-10-04 08:33:57 +00:00
|
|
|
adi_if_ports output 1 rx_p
|
|
|
|
adi_if_ports output 1 rx_n
|
2015-08-14 15:24:27 +00:00
|
|
|
adi_if_ports input 1 rx_rst reset
|
|
|
|
adi_if_ports output 1 rx_rst_m reset
|
2015-10-02 16:53:23 +00:00
|
|
|
adi_if_ports input 1 rx_pll_rst reset
|
2015-08-14 15:24:27 +00:00
|
|
|
adi_if_ports input 1 rx_gt_rst reset
|
|
|
|
adi_if_ports output 1 rx_gt_rst_m reset
|
2018-10-04 08:33:57 +00:00
|
|
|
adi_if_ports input 1 rx_pll_locked
|
|
|
|
adi_if_ports output 1 rx_pll_locked_m
|
|
|
|
adi_if_ports input 1 rx_user_ready
|
|
|
|
adi_if_ports output 1 rx_user_ready_m
|
|
|
|
adi_if_ports input 1 rx_rst_done
|
|
|
|
adi_if_ports output 1 rx_rst_done_m
|
2015-08-14 15:24:27 +00:00
|
|
|
adi_if_ports input 1 rx_out_clk clock
|
|
|
|
adi_if_ports output 1 rx_clk clock
|
2018-10-04 08:33:57 +00:00
|
|
|
adi_if_ports output 1 rx_sysref
|
|
|
|
adi_if_ports input 1 rx_sync
|
|
|
|
adi_if_ports input 1 rx_sof
|
|
|
|
adi_if_ports input 32 rx_data
|
2015-08-14 15:24:27 +00:00
|
|
|
adi_if_ports input 1 rx_ip_rst reset
|
2018-10-04 08:33:57 +00:00
|
|
|
adi_if_ports output 4 rx_ip_sof
|
|
|
|
adi_if_ports output 32 rx_ip_data
|
|
|
|
adi_if_ports input 1 rx_ip_sysref
|
|
|
|
adi_if_ports output 1 rx_ip_sync
|
|
|
|
adi_if_ports input 1 rx_ip_rst_done
|
2015-08-14 15:24:27 +00:00
|
|
|
|
2015-08-14 19:33:36 +00:00
|
|
|
adi_if_define if_gt_tx
|
|
|
|
adi_if_ports input 1 tx_p
|
|
|
|
adi_if_ports input 1 tx_n
|
|
|
|
adi_if_ports input 1 tx_rst reset
|
|
|
|
adi_if_ports output 1 tx_rst_m reset
|
2015-10-02 16:53:23 +00:00
|
|
|
adi_if_ports input 1 tx_pll_rst reset
|
2015-08-14 19:33:36 +00:00
|
|
|
adi_if_ports input 1 tx_gt_rst reset
|
|
|
|
adi_if_ports output 1 tx_gt_rst_m reset
|
2018-10-04 08:33:57 +00:00
|
|
|
adi_if_ports input 1 tx_pll_locked
|
|
|
|
adi_if_ports output 1 tx_pll_locked_m
|
|
|
|
adi_if_ports input 1 tx_user_ready
|
|
|
|
adi_if_ports output 1 tx_user_ready_m
|
|
|
|
adi_if_ports input 1 tx_rst_done
|
|
|
|
adi_if_ports output 1 tx_rst_done_m
|
2015-08-14 19:33:36 +00:00
|
|
|
adi_if_ports input 1 tx_out_clk clock
|
|
|
|
adi_if_ports output 1 tx_clk clock
|
2018-10-04 08:33:57 +00:00
|
|
|
adi_if_ports output 1 tx_sysref
|
|
|
|
adi_if_ports output 1 tx_sync
|
|
|
|
adi_if_ports output 32 tx_data
|
2015-08-14 19:33:36 +00:00
|
|
|
adi_if_ports input 1 tx_ip_rst reset
|
2018-10-04 08:33:57 +00:00
|
|
|
adi_if_ports input 32 tx_ip_data
|
|
|
|
adi_if_ports input 1 tx_ip_sysref
|
|
|
|
adi_if_ports input 1 tx_ip_sync
|
|
|
|
adi_if_ports input 1 tx_ip_rst_done
|
2015-08-14 19:33:36 +00:00
|
|
|
|
|
|
|
adi_if_define if_gt_rx_ksig
|
|
|
|
adi_if_ports output 4 rx_gt_ilas_f
|
|
|
|
adi_if_ports output 4 rx_gt_ilas_q
|
|
|
|
adi_if_ports output 4 rx_gt_ilas_a
|
|
|
|
adi_if_ports output 4 rx_gt_ilas_r
|
|
|
|
adi_if_ports output 4 rx_gt_cgs_k
|
2015-08-14 15:24:27 +00:00
|
|
|
|
2022-04-06 07:28:17 +00:00
|
|
|
adi_if_define if_do_ctrl
|
|
|
|
adi_if_ports output 1 request_enable
|
|
|
|
adi_if_ports output 1 request_valid
|
|
|
|
adi_if_ports input 1 request_ready
|
|
|
|
adi_if_ports output -1 request_length
|
|
|
|
adi_if_ports output -1 response_measured_length
|
|
|
|
adi_if_ports input 1 response_eot
|
|
|
|
adi_if_ports input 1 status_underflow
|
|
|
|
adi_if_ports input 1 status_overflow
|