cloudFPGA (cF) API  1.0
The documentation of the source code of cloudFPGA (cF)
test_rx_engine.hpp File Reference

: Testbench for RX Engine (RXe) of the TCP Offload Engine (TOE). More...

Include dependency graph for test_rx_engine.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define TB_STARTUP_DELAY   (TOE_SIZEOF_LISTEN_PORT_TABLE)
 
#define TB_GRACE_TIME   2500
 
#define TB_STARTUP_TIME   25
 
#define DEFAULT_FPGA_IP4_ADDR   0x0A0CC801
 
#define DEFAULT_FPGA_LSN_PORT   0x0057
 
#define DEFAULT_FPGA_SND_PORT   TOE_FIRST_EPHEMERAL_PORT_NUM
 
#define DEFAULT_HOST_IP4_ADDR   0x0A0CC832
 
#define DEFAULT_HOST_LSN_PORT   0x0058
 
#define DEFAULT_HOST_SND_PORT   0x8058
 
#define APP_RSP_LATENCY   10
 
#define MEM_RD_CMD_LATENCY   10
 
#define MEM_RD_DAT_LATENCY   10
 
#define MEM_RD_STS_LATENCY   10
 
#define MEM_WR_CMD_LATENCY   10
 
#define MEM_WR_DAT_LATENCY   10
 
#define MEM_WR_STS_LATENCY   10
 
#define CAM_LOOKUP_LATENCY   1
 
#define CAM_UPDATE_LATENCY   10
 
#define RTT_LINK   25
 
#define FPGA_CLIENT_CONNECT_TIMEOUT   250
 

Enumerations

enum  TestingMode {
  RX_MODE ='0' , TX_MODE ='1' , BIDIR_MODE ='2' , ECHO_MODE ='3' ,
  RX_MODE ='0' , TX_MODE ='1' , BIDIR_MODE ='2' , ECHO_MODE ='3' ,
  RX_MODE ='0' , TX_MODE ='1' , BIDIR_MODE ='2' , ECHO_MODE ='3'
}
 

Variables

bool gTraceEvent = false
 
bool gFatalError = false
 
unsigned int gSimCycCnt = 0
 
unsigned int gMaxSimCycles = ( 0x8000 ) + 2500
 
Ip4Addr gFpgaIp4Addr = 0x0A0CC801
 
TcpPort gFpgaLsnPort = 0x0057
 
TcpPort gFpgaSndPort = 0x8000
 
Ip4Addr gHostIp4Addr = 0x0A0CC832
 
TcpPort gHostLsnPort = 0x0058
 
bool gSortTaifGold = false
 
bool gTest_RcvdIp4Packet = true
 
bool gTest_RcvdIp4TotLen = true
 
bool gTest_RcvdIp4HdrCsum = true
 
bool gTest_RcvdUdpLen = true
 
bool gTest_RcvdLy4Csum = true
 
bool gTest_SentIp4TotLen = true
 
bool gTest_SentIp4HdrCsum = true
 
bool gTest_SentUdpLen = true
 
bool gTest_SentLy4Csum = true
 

Detailed Description

: Testbench for RX Engine (RXe) of the TCP Offload Engine (TOE).

System: : cloudFPGA Component : NTS, TCP Offload Engine (TOE) Language : Vivado HLS

Definition in file test_rx_engine.hpp.