F-Tile CPRI PHY Intel® FPGA IP Design Example User Guide

ID 683281
Date 12/04/2023
Public

1.4.2. Simulating the Design Example Testbench Simplified Model

When enabling the "simplified IP core model in simulation (Support 24G non-FEC only)" option, an additional folder named "example_testbench_simple_model" is generated alongside the regular files of the generated standard example design. This streamlined testbench enables users to simulate the standard testbench flow in a shorter duration. However, please note that this simplified model does not include the Deterministic Latency feature or serial functionality. It specifically supports a speed rate of 24G non-FEC without the 8B10B reconfiguration option.

Figure 9. Procedure
Follow these steps to simulate the testbench:
  1. At the command prompt, change to the testbench simulation directory <design_example_dir>/example_testbench_simple_model:
    cd <my_design>/example_testbench_simple_model
  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 Simplified Testbench.
  3. Analyze the results. The successful testbench displays "PASSED".

    To execute the testbench, use one of the commands below, depending on the simulator.

    Table 5.  Steps to Simulate the Simplified Testbench
    Simulator Instructions
    VCS* In the command line, type:
    sh run_vcs.sh
    QuestaSim* or Questa* Intel® FPGA Edition In the command line, type:
    vsim -do run_vsim.do
    If you prefer to simulate without bringing up the GUI, type:
    vsim -c -do run_vsim.do
    Xcelium* In the command line, type:
    sh run_xcelium.sh
    Riviera In the command line, type:
    vsim -c -do run_riviera.do