Visible to Intel only — GUID: vgo1449476340312
Ixiasoft
1.4.3. Avalon-ST Reverse Loopback Test
Complete the tasks to run the Avalon-ST reverse loopback test.
Set up the development board. The Avalon-ST reverse loopback test requires an external Ethernet packet generator.
- Using the Ethernet cable assembly, connect the external generator to the RJ-45 port of the FPGA development board.
- Connect the programming cable to the JTAG connection port.
- Connect the board to the power supply input (J4).
To run the internal MAC loopback test:
- Set up the System Console.
- Open Qsys.
- On the Tools menu, click System Console.
The System Console is a debugging tool that provides you with Tcl scripts to perform low-level hardware debugging and run tests on your reference designs. The console communicates to the hardware components instantiated into your Qsys system reference designs through the JTAG to Avalon Master Bridge.
- Open the config.tcl script and set LOOP_ENA to 0 to disable the MAC loopback mode.
For more information, refer to Configuration Script.
- Type the following command to start the MAC and PHY configurations in the System Console:
source config.tclThe System Console displays the copper link connection status and the PHY’s operating speed and mode. Verify that the console displays the correct configurations
- Start sending Ethernet packets from the external packet generator to the FPGA development board and verify that the packets are correctly looped back to the external packet generator.
- Type the following command to view the MAC statistic counters:
source tse_stat_read.tcl