Low Latency Ethernet 10G MAC IP Design Example User Guide: Agilex™ 3 and Agilex™ 5 FPGAs and SoCs

ID 813665
Date 10/24/2025
Public
Document Table of Contents

6.5.1. Test Procedure

Follow these steps to test the design examples in hardware:

  1. Click Tools > System Debugging Tools > System Console or run command: system-console &.
  2. Navigate to the hardware design directory: cd <design_example>/LL10G_2_5G_SM/hwtesting/system_console.
  3. Run the following command in the System Console:
    1. source main.tcl
    2. set_jtag <select_appropriate_jtag_master>
    Note: The set_jtag command places the Agilex™ 5 device on the JTAG chain.
  4. Run the following commands in the system console to start the test:
    1. If you want to trigger the test for a specific datarate and channel:

      TEST_EXT_LB <channel> <speed> <burst_size>

      Example: TEST_EXT_LB 0 2P5G 100000

      Note: You must connect the external QSFP28 loopback module to bank 1A before running the test.
      Table 18.  Command Parameters
      Parameter Valid Values Description
      channel 0, 1 The channel number to test.
      speed 2P5G (for 2.5G) The PHY speed.
      burst_size An integer value The number of packets to generate for the test.
    Note: If you want to trigger the test for all the supported rates for both the channels: source hwtest_main.tcl
  5. Run the following commands in the system console to start the serial internal loopback test:
    1. If you want to trigger the serial loopback test for a specific rate and channel:
      • loop_on: To enable the serial internal loopback.
      • TEST_EXT_LB <channel> <speed> <burst_size>

        Example: TEST_EXT_LB 0 10G 100000

      • loop_off: To disable serial internal loopback.
      Table 19.  Command Parameters
      Parameter Valid Values Description
      channel 0, 1 The channel number to test.
      speed 2P5G The PHY speed.
      burst_size An integer value The number of packets to generate for the test.
    2. If you want to trigger the serial internal loopback test for all the supported rates for both the channels:
      source hwtest_main_silb.tcl
  6. The following sample output illustrate a successful hardware test run:
    Figure 37. Sample Test Output