GTS Ethernet Intel® FPGA Hard IP User Guide

ID 817676
Date 8/05/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

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 69. 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* 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
    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.