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

4.1.3. Simulating the Design Example Testbench

Figure 30. Procedure to Simulate Design Example Testbench

Follow these steps to simulate the testbench:

  1. Navigate to the testbench simulation directory:
    cd intel_eth_tse_0_example_design/example_testbench/
  2. Run the simulation script for the supported simulator of your choice. The script compiles and runs the testbench in the simulator. Refer to the table Steps to Simulate the Testbench.
    Table 25.  Steps to Simulate the Testbench
    Simulator Working Directory Command
    ModelSim* <Example Design>/example_testbench/mentor

    In the command line, type vsim -c -do run_vsim_lvds.do 1

    In the command line, type vsim -c -do run_vsim_mp_lvds.do 2

    Synopsys* VCS* MX <Example Design>/example_testbench/synopsys/vcsmx

    In the command line, type sh tb_run_lvds.sh 1

    In the command line, type sh tb_run_mp_lvds.sh 2

    Xcelium* <Example Design>/example_testbench/xcelium

    In the command line, type sh tb_run_lvds.sh 1

    In the command line, type sh tb_run_mp_lvds.sh 2

    Riviera-PRO* <Example Design>/example_testbench/aldec

    In the command line, type vsim -c -do tb_run_lvds.tcl 1

    In the command line, type vsim -c -do tb_run_mp_lvds.tcl 2

  3. Analyze the results. The successful testbench sends five packets, receives the same number of packets, and displays the following message:
    Simulation Passed
1 For single channel design (Number of ports parameter under the Core Configuration tab set to 1).
2 For multi channel design (Number of ports parameter under the Core Configuration tab set to 4)