Ethernet Subsystem Intel® FPGA IP User Guide

ID 773413
Date 9/16/2024
Public
Document Table of Contents

8.3.1. Steps to Simulate the Design Example

  1. Navigate to <Design Example Directory>/example_testbench/
  2. Type appropriate command for your simulator:
    Simulator Command
    VCS sh run_vcs.sh
    VCSMX sh run_vcsmx.sh
    Questasim -c -do run_vsim.tcl
    Xcelium sh run_xcelium.sh
  3. Observe simulation output. The successful simulation displays a Testbench Complete message.

The following sample output illustrates a successful simulation test run for the Ethernet Subsystem IP core design example testbench.

TBINFO:  Ref clock is 156.25 MHz
TBINFO:        300335000000     Port 0 - Waiting for EHIP READY
TBINFO:        425955000000     Port 0 - EHIP READY is 1
TBINFO:        425955000000     Port 0 - Waiting for EHIP RX Block Lock
TBINFO:        438285000000     Port 0 - EHIP RX Block Lock  is high
TBINFO:        438285000000     Port 0 - Waiting for RX PCS Ready
TBINFO:        438300000000     Port 0 - RX deskew locked
TBINFO:        438300000000     Port 0 - RX lane aligmnent locked
TBINFO:        438300000000     Port 0 - Waiting for TX Lanes Stable
TBINFO:        438300000000     Port 0 - TX enabled
TBINFO:        438300000000     Port 0 - Checking EHIP Ready & Rx Block Status Register
TBINFO:        438310000000     Address offset = 00202114, WriteData = 00000003
TBINFO:        438330000000     Address offset = 00202514, WriteData = 00000003
TBINFO:        439210000000     Address offset = 00202114, WriteData = 00000000
TBINFO:        440100000000     Address offset = 00202514, WriteData = 00000000
TBINFO:        443250000000     Address offset = 002020d8, ReadData  = 00000000
TBINFO:        444660000000     Address offset = 002024d8, ReadData  = 00000000
TBINFO:        444667000000     Port 0 - Sending  Packet 1
TBINFO:        444694000000     Port 0 - Sending  Packet 2
TBINFO:        444722000000     Port 0 - Sending  Packet 3
TBINFO:        444749000000     Port 0 - Sending  Packet 4
TBINFO:        444776000000     Port 0 - Sending  Packet 5
TBINFO:        444804000000     Port 0 - Sending  Packet 6
TBINFO:        444831000000     Port 0 - Sending  Packet 7
TBINFO:        444858000000     Port 0 - Sending  Packet 8
TBINFO:        444885000000     Port 0 - Sending  Packet 9
TBINFO:        444913000000     Port 0 - Sending  Packet 10
TBINFO:        445347000000     Port 0 - Received Packet 1
TBINFO:        445379000000     Port 0 - Received Packet 2
TBINFO:        445412000000     Port 0 - Received Packet 3
TBINFO:        445442000000     Port 0 - Received Packet 4
TBINFO:        445471000000     Port 0 - Received Packet 5
TBINFO:        445506000000     Port 0 - Received Packet 6
TBINFO:        445533000000     Port 0 - Received Packet 7
TBINFO:        445563000000     Port 0 - Received Packet 8
TBINFO:        445590000000     Port 0 - Received Packet 9
TBINFO:        445620000000     Port 0 - Received Packet 10
TBINFO:        447080000000     Address offset = 002020d8, ReadData  = 0000000a
TBINFO:        448490000000     Address offset = 002024d8, ReadData  = 0000000a
TBINFO:        449900000000     Address offset = 00202010, ReadData  = 00000000
TBINFO:        451310000000     Address offset = 00202410, ReadData  = 00000000
**
** Testbench complete.
**
*****************************************