Stratix® 10 10GBASE-KR PHY IP Core User Guide

ID 683500
Date 5/03/2024
Public
Document Table of Contents

7.1.5. Simulating the Stratix® 10 10GBASE-KR Design Example Testbench

Procedure

Follow these steps to simulate the testbench:

  1. Change to the testbench simulation directory <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 table "Steps to Simulate the Testbench".
  3. Analyze the results. The successful testbench sends and receives XGMII, and displays "END OF TESTING"
    Table 21.  Steps to Simulate the Testbench
    Simulator Instructions
    ModelSim In the command line, type vsim -c -do run_vsim.do
    NCSim In the command line, type sh run_ncsim.sh
    VCS In the command line, type sh run_vcs.sh
    The following sample output illustrates a successful simulation test run:
    Start frame detected, byteslip 0, time 1362044322
    Address 0x0000f002 data 0x00000053
    Address 0x0000f004 data 0x000001a2
    Address 0x0000f005 data 0x000001a2
    Total BASER traffic cycle errors: 0
    10G Traffic Test PASSED..!!!
    **
    END OF TESTING...
    **
    *****************************************