Skip to content

Reference Nic Simulation

Jong Hun Han edited this page Jun 20, 2013 · 4 revisions

The NetFPGA 10G Simulations can verify Tx and Rx data paths simultaneously as well as register writing process. This page shows how run newly added simulations for verifying Tx, Rx, and TX-RX data paths, respectively. This simulations are limited to only Reference Nic project.

Scripts for running the simulations are added Makefile in ./NetFPGA-10G-live/projects/referece_nic/hw/. For running simulation,

make simtx PKTLEN= <SIZE> PKTNO= <NO>

To run the simulation, length and number of packets should be specified. If they are not specified, it will run with default values, PKTLEN=16 (in a number of byte) and PKTNO=2.

e.g.)

Tx simulation,

 make simtx PKTLEN=20 PKTNO=5

or

 make simtxgui PKTLEN=20 PKTNO=5

Rx simulation,

 make simrx PKTLEN=20 PKTNO=5

or

 make simrxgui PKTLEN=20 PKTNO=5

TX-RX simulation,

 make simtxrx PKTLEN=20 PKTNO=5

or

 make simtxrxgui PKTLEN=20 PKTNO=5
Clone this wiki locally