cloudFPGA (cF) API  1.0
The documentation of the source code of cloudFPGA (cF)
test_iprx.cpp File Reference

: Testbench for the IP Receiver packet handler (IPRX). More...

#include "test_iprx.hpp"
Include dependency graph for test_iprx.cpp:

Go to the source code of this file.

Macros

#define THIS_NAME   "TB"
 
#define TRACE_OFF   0x0000
 
#define TRACE_CGF   1 << 1
 
#define TRACE_ALL   0xFFFF
 
#define DEBUG_LEVEL   (TRACE_OFF)
 

Functions

void stepSim ()
 Increment the simulation counter. More...
 
int createGoldenFiles (EthAddr myMacAddress, string inpDAT_FileName, string outARP_GoldName, string outICMP_GoldName, string outTOE_GoldName, string outUOE_GoldName)
 Create the golden reference files from an input test file. More...
 
void iprx_top_wrap (EthAddr piMMIO_MacAddress, Ip4Addr piMMIO_Ip4Address, stream< AxisEth > &siETH_Data, stream< AxisArp > &soARP_Data, stream< AxisIp4 > &soICMP_Data, stream< AxisIp4 > &soICMP_Derr, stream< AxisIp4 > &soUOE_Data, stream< AxisIp4 > &soTOE_Data)
 A wrapper for the Toplevel of the IP Receive handler (IPRX). More...
 
int main (int argc, char *argv[])
 Main function. More...
 

Detailed Description

: Testbench for the IP Receiver packet handler (IPRX).

System: : cloudFPGA Component : Shell, Network Transport Stack (NTS) Language : Vivado HLS

Definition in file test_iprx.cpp.