|
cloudFPGA (cF) API
1.0
The documentation of the source code of cloudFPGA (cF)
|
: Simulation environment for the UDP Application Flash (UAF). More...
#include "simu_udp_app_flash_env.hpp"Go to the source code of this file.
Macros | |
| #define | THIS_NAME "SIM" |
| #define | TRACE_OFF 0x0000 |
| #define | TRACE_USIF 1 << 1 |
| #define | TRACE_UAF 1 << 2 |
| #define | TRACE_CGTF 1 << 3 |
| #define | TRACE_DUMTF 1 << 4 |
| #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 | readDatagramFromFile (const char *myName, SimUdpDatagram &appDatagram, ifstream &ifsData, SocketPair &sockPair, queue< UdpAppMeta > &udpMetaQueue, queue< UdpAppDLen > &udpDLenQueue, int &inpChunks, int &inpDgrms, int &inpBytes) |
| Read a datagram from a DAT file. More... | |
| int | createGoldenTxFiles (EchoCtrl tbCtrlMode, string inpData_FileName, queue< UdpAppMeta > &udpMetaQueue, queue< UdpAppDLen > &udpDLenQueue, string outData_GoldName, string outMeta_GoldName, string outDLen_GoldName) |
| Create the golden UDP Tx files from an input test file. More... | |
| int | createUdpRxTraffic (stream< AxisApp > &ssData, const string ssDataName, stream< UdpAppMeta > &ssMeta, const string ssMetaName, stream< UdpAppDLen > &ssDLen, const string ssMDLenName, string datFile, queue< UdpAppMeta > &metaQueue, queue< UdpAppDLen > &dlenQueue, int &nrFeededChunks) |
| Create the UDP Rx traffic as streams from an input test file. More... | |
| bool | drainUdpMetaStreamToFile (stream< UdpAppMeta > &ss, string ssName, string datFile, int &nrChunks, int &nrFrames, int &nrBytes) |
| Empty an UdpMeta stream to a DAT file. More... | |
| bool | drainUdpDLenStreamToFile (stream< UdpAppDLen > &ss, string ssName, string datFile, int &nrChunks, int &nrFrames, int &nrBytes) |
| Empty a UdpDLen stream to a DAT file. More... | |
Variables | |
| unsigned int | gSimCycCnt |
| bool | gTraceEvent |
| bool | gFatalError |
| unsigned int | gMaxSimCycles |
: Simulation environment for the UDP Application Flash (UAF).
System: : cloudFPGA Component : cFp_HelloKale/ROLE/UdpApplicationFlash (UAF) Language : Vivado HLS
+-----------------------+
| UdpApplicationFlash | +--------+
| (UAF) <-----+ MMIO |
+-----/|\------+--------+ +--------+
| |
| ||
+------+------\|/-------+
| UdpShellInterface |
| (USIF) |
+-----/|\------+--------+
| |
| \|/
Definition in file simu_udp_app_flash_env.cpp.