cloudFPGA (cF) API
1.0
The documentation of the source code of cloudFPGA (cF)
|
: Simulation environment for the TCP Shell Interface (TSIF). More...
#include "simu_tcp_shell_if_env.hpp"
Go to the source code of this file.
Macros | |
#define | THIS_NAME "SIM" |
#define | TRACE_OFF 0x0000 |
#define | TRACE_TOE 1 << 1 |
#define | TRACE_TOE_LSN 1 << 2 |
#define | TRACE_TOE_OPN 1 << 3 |
#define | TRACE_TOE_RXP 1 << 4 |
#define | TRACE_TOE_TXP 1 << 5 |
#define | TRACE_TAF 1 << 6 |
#define | TRACE_MMIO 1 << 7 |
#define | TRACE_DDSK 1 << 8 |
#define | TRACE_DDSP 1 << 9 |
#define | TRACE_ALL 0xFFFF |
#define | DEBUG_LEVEL (TRACE_OFF) |
Functions | |
void | stepSim () |
Increment the simulation counter. More... | |
void | increaseSimTime (unsigned int cycles) |
Increase the simulation time of the testbench. More... | |
bool | drainDebugSinkCounter (stream< ap_uint< 32 > > &ss, string ssName) |
Empty the DebugSinkCounter stream and throw it away. More... | |
bool | drainDebugSpaceCounter (stream< ap_uint< 16 > > &ss, string ssName) |
Empty the DebugSpaceCounter stream and check its last value. More... | |
void | pTAF (ofstream &ofTAF_Data, stream< TcpAppData > &siTSIF_Data, stream< TcpSessId > &siTSIF_SessId, stream< TcpDatLen > &siTSIF_DatLen, stream< TcpAppData > &soTSIF_Data, stream< TcpSessId > &soTSIF_Meta, stream< TcpSessId > &soTSIF_DLen) |
Emulate the behavior of the ROLE/TcpAppFlash (TAF). More... | |
void | pMMIO (StsBit *piSHL_Ready, CmdBit *poTSIF_Enable) |
Emulate the behavior of the SHELL & MMIO. More... | |
void | pTOE (int &nrErr, ofstream &ofTAF_Gold, ofstream &ofTOE_Gold, ofstream &ofTOE_Data, TcpDatLen echoDatLen, SockAddr testSock, TcpDatLen testDatLen, StsBit *poMMIO_Ready, stream< TcpAppNotif > &soTSIF_Notif, stream< TcpAppRdReq > &siTSIF_DReq, stream< TcpAppData > &soTSIF_Data, stream< TcpAppMeta > &soTSIF_Meta, stream< TcpAppLsnReq > &siTSIF_LsnReq, stream< TcpAppLsnRep > &soTSIF_LsnRep, stream< TcpAppData > &siTSIF_Data, stream< TcpAppSndReq > &siTSIF_SndReq, stream< TcpAppSndRep > &soTSIF_SndRep, stream< TcpAppOpnReq > &siTSIF_OpnReq, stream< TcpAppOpnRep > &soTSIF_OpnRep) |
Emulate behavior of the SHELL/NTS/TCP Offload Engine (TOE). More... | |
Variables | |
unsigned int | gSimCycCnt |
bool | gTraceEvent |
bool | gFatalError |
unsigned int | gMaxSimCycles |
: Simulation environment for the TCP Shell Interface (TSIF).
System: : cloudFPGA Component : ROLE/TcpShellInterface (TSIF) Language : Vivado HLS
+-----------------------+ | UdpApplicationFlash | +--------+ | (TAF) <-----+ MMIO | +-----/|\------+--------+ +--------+ | | | || +------+------\|/-------+ | UdpShellInterface | | (TSIF) | +-----/|\------+--------+ | | | \|/
Definition in file simu_tcp_shell_if_env.cpp.