|
cloudFPGA (cF) API
1.0
The documentation of the source code of cloudFPGA (cF)
|
: Testbench for the UDP Shell Interface (USIF). More...
#include "simu_udp_shell_if_env.hpp"Go to the source code of this file.
Macros | |
| #define | THIS_NAME "SIM" |
| #define | TRACE_OFF 0x0000 |
| #define | TRACE_UOE 1 << 1 |
| #define | TRACE_UAF 1 << 2 |
| #define | TRACE_MMIO 1 << 3 |
| #define | TRACE_ALL 0xFFFF |
| #define | DEBUG_LEVEL (TRACE_UOE) |
Functions | |
| void | stepSim () |
| Increment the simulation counter. More... | |
| void | increaseSimTime (unsigned int cycles) |
| Increase the simulation time of the testbench. More... | |
| void | pUAF (stream< UdpAppData > &siUSIF_Data, stream< UdpAppMeta > &siUSIF_Meta, stream< UdpAppData > &soUSIF_Data, stream< UdpAppMeta > &soUSIF_Meta, stream< UdpAppDLen > &soUSIF_DLen) |
| Emulate the behavior of the ROLE/UdpAppFlash (UAF). More... | |
| void | pMMIO (StsBit *piSHL_Ready, CmdBit *poUSIF_Enable) |
| Emulate the behavior of the SHELL & MMIO. More... | |
| void | pUOE (int &nrErr, ofstream &dataGoldFile, ofstream &dataFile, ofstream &metaGoldFile, ofstream &metaFile, int echoDgrmLen, SockAddr testSock, int testDgrmLen, StsBit *poMMIO_Ready, stream< UdpAppData > &soUSIF_Data, stream< UdpAppMeta > &soUSIF_Meta, stream< UdpAppDLen > &soUSIF_DLen, stream< UdpAppData > &siUSIF_Data, stream< UdpAppMeta > &siUSIF_Meta, stream< UdpAppDLen > &siUSIF_DLen, stream< UdpPort > &siUSIF_LsnReq, stream< StsBool > &soUSIF_LsnRep, stream< UdpPort > &siUSIF_ClsReq) |
| Emulate behavior of the SHELL/NTS/UDP Offload Engine (UOE). More... | |
Variables | |
| unsigned int | gSimCycCnt |
| bool | gTraceEvent |
| bool | gFatalError |
| unsigned int | gMaxSimCycles |
: Testbench for the UDP Shell Interface (USIF).
System: : cloudFPGA Component : cFp_HelloKale / ROLE Language : Vivado HLS
+-----------------------+
| UdpApplicationFlash |
| (UAF) |
+-----/|\------+--------+
| |
| |
+------+------\|/-------+
| UdpShellInterface | +--------+
| (USIF) <-----+ MMIO |
+-----/|\------+--------+ +--/|\---+
| | |
| | |
+------+------\|/-------+ |
| UdpOffloadEngine | |
| (UOE) +
+-----------------------+
Definition in file simu_udp_shell_if_env.cpp.