Triple-Speed Ethernet IP Design Example User Guide: Agilex™ 3 and Agilex™ 5 FPGAs and SoCs

ID 813899
Date 8/04/2025
Public
Document Table of Contents

3.2.5.1. Test Procedure

To turn on the System Console and test the hardware design example, follow these steps:

Note: You must connect the external loopback module to the QSFP28 port on bank 1A before running the test.
  1. In the Quartus® Prime Pro Edition software, select Tools > Programmer to configure the FPGA on the development board using the generated .sof file.
  2. In the Quartus® Prime Pro Edition software, select Tools > In-System Sources and Probes Editor.
    1. Set the phy_reset to 1 and reset_n to 0 to apply the reset.
    2. Set the phy_reset to 0 and reset_n to 1 to release the system from the reset state, as shown in the figure below.
    Figure 25. In-System Sources and Probes Editor Setting
  3. In the Quartus® Prime Pro Edition software, select Tools > System Debugging Tools>System Console to launch the system console.
  4. In the Tcl Console pane, type cd hardware_test_design/sc to change directory to <design_example_dir>/TSE_MAC_PCS2xTBI/hardware_test_design/sc.
  5. Initialize the design command list by running this command: source main.tcl. If JTAG Master needs to be manually selected:
    1. Type list_jtag to display a list of JTAG master indexes that are connected to your board.
    2. Type set_jtag<number_of appropriate_JTAG_master> to select the JTAG master.
  6. Run the following loopback test:

    TEST_SMA_LB <channel> <speed> <burst_size>

    Example: TEST_SMA_LB 0 1G 1000

    A successful test run displays the following message: