cloudFPGA (cF) API
1.0
The documentation of the source code of cloudFPGA (cF)
|
Testbench for the Ready Logic Barrier (RLB) for the Network Transport Stack (NTS). More...
Macros | |
#define | THIS_NAME "TB" |
#define | TRACE_OFF 0x0000 |
#define | TRACE_CGRF 1 << 1 |
#define | TRACE_CGTF 1 << 2 |
#define | TRACE_DUMTF 1 << 3 |
#define | TRACE_ALL 0xFFFF |
#define | DEBUG_LEVEL (TRACE_OFF) |
#define | TB_MAX_SIM_CYCLES 100 |
#define | TB_STARTUP_DELAY 0 |
#define | TB_GRACE_TIME 0 |
Functions | |
void | stepSim () |
Increment the simulation counter. More... | |
int | main (int argc, char *argv[]) |
Main function. More... | |
Variables | |
bool | gTraceEvent = false |
bool | gFatalError = false |
unsigned int | gSimCycCnt = 0 |
unsigned int | gMaxSimCycles = 0 + 100 |
Testbench for the Ready Logic Barrier (RLB) for the Network Transport Stack (NTS).
#define DEBUG_LEVEL (TRACE_OFF) |
Definition at line 46 of file test_rlb.cpp.
#define TB_GRACE_TIME 0 |
Definition at line 40 of file test_rlb.hpp.
#define TB_MAX_SIM_CYCLES 100 |
Definition at line 38 of file test_rlb.hpp.
#define TB_STARTUP_DELAY 0 |
Definition at line 39 of file test_rlb.hpp.
#define THIS_NAME "TB" |
Definition at line 39 of file test_rlb.cpp.
#define TRACE_ALL 0xFFFF |
Definition at line 45 of file test_rlb.cpp.
#define TRACE_CGRF 1 << 1 |
Definition at line 42 of file test_rlb.cpp.
#define TRACE_CGTF 1 << 2 |
Definition at line 43 of file test_rlb.cpp.
#define TRACE_DUMTF 1 << 3 |
Definition at line 44 of file test_rlb.cpp.
#define TRACE_OFF 0x0000 |
Definition at line 41 of file test_rlb.cpp.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Main function.
Definition at line 66 of file test_rlb.cpp.
void stepSim | ( | ) |
Increment the simulation counter.
Definition at line 51 of file test_rlb.cpp.
bool gFatalError = false |
Definition at line 48 of file test_rlb.hpp.
unsigned int gMaxSimCycles = 0 + 100 |
Definition at line 50 of file test_rlb.hpp.
unsigned int gSimCycCnt = 0 |
GLOBAL VARIABLES USED BY THE SIMULATION ENVIRONMENT
Definition at line 49 of file test_rlb.hpp.
bool gTraceEvent = false |
HELPERS FOR THE DEBUGGING TRACES .e.g: DEBUG_LEVEL = (MDL_TRACE | IPS_TRACE)
Definition at line 47 of file test_rlb.hpp.