10GBASE-KR Ethernet TRD
42
UG1058 (v2017.1) April 19, 2017
Chapter 3:
Bringing Up the Design
To execute the sequence as described in
, a Tcl script is provided. Source the script in
the Tcl console of the Vivado IDE with the traffic running in the Ethernet Controller
application. The command to source the script is:
source
<working_dir>/kcu1250_10gbasekr_trd/ready_to_test/fec_and_err_injection/err_in
jection.tcl
Dynamic Reconfiguration Ports
The GTH transceiver dynamic reconfiguration ports (DRP) can be accessed via the training
ports of the 10-Gigabit Ethernet PCS/PMA IP core. The training ports are brought out to
VIOs - training_*_ch0 and training_*_ch1.
1. For reads:
°
Set the training_addr_ch* to a DRP address, example
h'00_007F
(TX_MARGIN_FULL_1, TX_MARGIN_FULL_0)
°
Set the training_rnw_ch* to
1
°
Toggle (
0 > 1 > 0
) enable_ch*
°
The read value will be available on training_rd_data_reg_ch*
2. For writes:
°
Set the training_addr_ch* to a DRP address example
h'00_007F
(TX_MARGIN_FULL_1, TX_MARGIN_FULL_0)
°
Set the training_wr_data for the above address as
h'AE9C
°
Set the training_rnw_ch* to
0
°
Toggle (
0 > 1 > 0
) enable_ch*
°
Read the value back following the instructions for Reads to verify that the write was
successful
To execute the sequence described in
and
, A Tcl script is provided in:
<working_dir>/kcu1250_10gbasekr_trd/ready_to_test/drp_rd_wr.tcl
Source the script in the Tcl console of the Vivado IDE.
Refer to
UltraScale Architecture GTH Transceivers User Guide
(UG576)
for a list of
DRP addresses that can be accessed.