3.4. Hardware Testing
The hardware design example provides the loopback test. In loopback test mode, the traffic generator sends packets to the GTS Serial Lite IV TX core and loopback to the RX core either internally or externally.
To use the system console script, navigate to the ./ed_hwtest/system_console directory. Source the sliv_gts.tcl script. The system console script provides useful commands for reading statistics and enables you to control various features in the design.
Command | Function |
---|---|
list_jtag | Displays a list of JTAG master indexes that are connected to your board. |
set_jtag <jtag master_index number> | Selects the JTAG master.
|
read_error_statistic | Displays the error statistics. |
sl4_link_init_int_lpbk <index number> | Enables TX to RX internal serial loopback within the transceiver and performs the specific transceiver calibration flow.
|
continuous_mode_en | Resets the TX and RX core (MAC and PHY) and enables the traffic generator to generate continuous (single continuous data generation) traffic stream. |
burst_mode_en | Resets the TX and RX core (MAC and PHY) and enables the traffic generator to generate a burst (multiple burst packet data generation) traffic stream. Not applicable for Deterministic Latency Enabled design. |