3.4. Hardware Testing
The hardware design example provides the loopback test. In loopback test mode, the traffic generator sends packets to the F-Tile 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_ftile.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.
|
traffic_gen_enable | Enables the traffic generator and checker. |
traffic_gen_disable | Disables the traffic generator and checker. |
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. |
crc_err_inject_pulse | Enables CRC error injection for all lanes. |
reconfig_tx_sel | To access Avalon® memory-mapped interface through TX. |
reconfig_rx_sel | To access Avalon® memory-mapped interface through RX. |
reg_write <avmm2_address> <desired_value> | Perform write operation on reconfig_*/AVMM2 interface. |
reg_read <avmm2_address> | Perform read operation on reconfig_*/AVMM2 interface. |
proc_avmm1_write <avmm1_address> <desired_value> | Perform write operation on reconfig_sl_*/AVMM1 interface. |
proc_avmm1_read <avmm1_address> | Perform read operation on reconfig_sl_*/AVMM1 interface. |