GTS Ethernet Intel® FPGA Hard IP User Guide

ID 817676
Date 10/12/2024
Public
Document Table of Contents

10.3. Simulate the Design Example

The testbench sends and receives 16 packets per each instantiated IP using the ROM-based packet generator.

Figure 75. Design Example Simulation Block Diagram with AN/LT Enabled
  1. At the command prompt, change the directory to <design_example_dir>/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 following table Steps to Simulate the Testbench.
    Simulator Instructions
    Synopsys* VCS* MX In the command line, type the following command:
    sh run_vcsmx.sh
    QuestaSim* or Questa* Intel® FPGA Edition To run a simulation in GUI, type the following command:
    vsim -do run_vsim.do
    If you prefer to simulate without bringing up the GUI, type the following command:
    vsim -c -do run_vsim.do
    Xcelium* In the command line, type the following command:
    sh run_xcelium.sh
    Aldec Riviera-PRO* 10 In the command line, type:
    vsim -c -do run_rivierasim.do
    To enable Synopsys* VCS* Verdi, uncomment the following line from the testbench file located in <design_example_dir>/example_testbench/basic_avl_tb_top.sv.
    //$fsdbDumpvars(0, "+all", basic_avl_tb_top);
    //$wlfdumpvars(0);
    A successful simulation ends with the following message:
    Testbench complete
    After successful completion, analyze the results.
10 Supports Riviera 2024.04