2023-08-18 07:55:04 +00:00
|
|
|
###############################################################################
|
|
|
|
## Copyright (C) 2017-2022 Analog Devices, Inc. All rights reserved.
|
|
|
|
### SPDX short identifier: ADIJESD204
|
|
|
|
###############################################################################
|
2017-05-17 17:28:50 +00:00
|
|
|
|
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
|
2017-05-17 17:28:50 +00:00
|
|
|
|
|
|
|
# TX interfaces
|
|
|
|
|
|
|
|
adi_if_define "jesd204_tx_cfg"
|
|
|
|
adi_if_ports output -1 lanes_disable
|
2018-03-29 09:38:34 +00:00
|
|
|
adi_if_ports output -1 links_disable
|
2020-01-30 22:05:13 +00:00
|
|
|
adi_if_ports output 10 octets_per_multiframe
|
2017-05-17 17:28:50 +00:00
|
|
|
adi_if_ports output 8 octets_per_frame
|
|
|
|
adi_if_ports output 1 continuous_cgs
|
|
|
|
adi_if_ports output 1 continuous_ilas
|
|
|
|
adi_if_ports output 1 skip_ilas
|
|
|
|
adi_if_ports output 8 mframes_per_ilas
|
|
|
|
adi_if_ports output 1 disable_char_replacement
|
|
|
|
adi_if_ports output 1 disable_scrambler
|
2020-10-27 15:40:37 +00:00
|
|
|
adi_if_ports output 10 device_octets_per_multiframe
|
|
|
|
adi_if_ports output 8 device_octets_per_frame
|
|
|
|
adi_if_ports output 8 device_beats_per_multiframe
|
|
|
|
adi_if_ports output 8 device_lmfc_offset
|
|
|
|
adi_if_ports output 1 device_sysref_oneshot
|
|
|
|
adi_if_ports output 1 device_sysref_disable
|
2017-05-17 17:28:50 +00:00
|
|
|
|
|
|
|
adi_if_define "jesd204_tx_ilas_config"
|
|
|
|
adi_if_ports output 1 rd
|
|
|
|
adi_if_ports output 2 addr
|
|
|
|
adi_if_ports input 32 data
|
|
|
|
|
|
|
|
adi_if_define "jesd204_tx_status"
|
|
|
|
adi_if_ports output 1 state
|
|
|
|
adi_if_ports output 1 sync
|
2020-12-03 13:59:33 +00:00
|
|
|
adi_if_ports output -1 synth_params0
|
|
|
|
adi_if_ports output -1 synth_params1
|
|
|
|
adi_if_ports output -1 synth_params2
|
2017-05-17 17:28:50 +00:00
|
|
|
|
|
|
|
adi_if_define "jesd204_tx_event"
|
|
|
|
adi_if_ports output 1 sysref_alignment_error
|
|
|
|
adi_if_ports output 1 sysref_edge
|
|
|
|
|
|
|
|
adi_if_define "jesd204_tx_ctrl"
|
|
|
|
adi_if_ports output 1 manual_sync_request
|
|
|
|
|
|
|
|
# RX interfaces
|
|
|
|
|
|
|
|
adi_if_define "jesd204_rx_cfg"
|
|
|
|
adi_if_ports output -1 lanes_disable
|
2018-03-27 14:45:46 +00:00
|
|
|
adi_if_ports output -1 links_disable
|
2020-01-30 22:05:13 +00:00
|
|
|
adi_if_ports output 10 octets_per_multiframe
|
2017-05-17 17:28:50 +00:00
|
|
|
adi_if_ports output 8 octets_per_frame
|
|
|
|
adi_if_ports output 1 disable_char_replacement
|
|
|
|
adi_if_ports output 1 disable_scrambler
|
2020-01-29 14:41:43 +00:00
|
|
|
adi_if_ports output 8 frame_align_err_threshold
|
2020-10-27 15:40:37 +00:00
|
|
|
adi_if_ports output 10 device_octets_per_multiframe
|
|
|
|
adi_if_ports output 8 device_octets_per_frame
|
|
|
|
adi_if_ports output 8 device_beats_per_multiframe
|
|
|
|
adi_if_ports output 8 device_lmfc_offset
|
|
|
|
adi_if_ports output 1 device_sysref_oneshot
|
|
|
|
adi_if_ports output 1 device_sysref_disable
|
|
|
|
adi_if_ports output 1 device_buffer_early_release
|
|
|
|
adi_if_ports output 1 device_buffer_delay
|
2018-05-07 12:33:00 +00:00
|
|
|
adi_if_ports output 1 err_statistics_reset
|
2019-10-10 07:22:49 +00:00
|
|
|
adi_if_ports output 7 err_statistics_mask
|
2017-05-17 17:28:50 +00:00
|
|
|
|
|
|
|
adi_if_define "jesd204_rx_status"
|
|
|
|
adi_if_ports output 3 ctrl_state
|
|
|
|
adi_if_ports output -1 lane_cgs_state
|
2019-10-10 07:22:49 +00:00
|
|
|
adi_if_ports output -1 lane_emb_state
|
2017-05-17 17:28:50 +00:00
|
|
|
adi_if_ports output -1 lane_frame_align
|
|
|
|
adi_if_ports output -1 lane_ifs_ready
|
|
|
|
adi_if_ports output -1 lane_latency_ready
|
|
|
|
adi_if_ports output -1 lane_latency
|
2018-05-07 12:33:00 +00:00
|
|
|
adi_if_ports output -1 err_statistics_cnt
|
2020-12-03 13:59:33 +00:00
|
|
|
adi_if_ports output -1 synth_params0
|
|
|
|
adi_if_ports output -1 synth_params1
|
|
|
|
adi_if_ports output -1 synth_params2
|
2017-05-17 17:28:50 +00:00
|
|
|
|
|
|
|
adi_if_define "jesd204_rx_ilas_config"
|
|
|
|
adi_if_ports output -1 valid
|
|
|
|
adi_if_ports output -1 addr
|
|
|
|
adi_if_ports input -1 data
|
|
|
|
|
|
|
|
adi_if_define "jesd204_rx_event"
|
|
|
|
adi_if_ports output 1 sysref_alignment_error
|
|
|
|
adi_if_ports output 1 sysref_edge
|
2020-07-21 07:07:57 +00:00
|
|
|
adi_if_ports output 1 frame_alignment_error
|
2020-07-21 15:53:23 +00:00
|
|
|
adi_if_ports output 1 unexpected_lane_state_error
|