cloudFPGA (cF) API  1.0
The documentation of the source code of cloudFPGA (cF)
test_tcp_shell_if_top.cpp File Reference

: Testbench for the toplevel of the TCP Shell Interface (TSIF). More...

Include dependency graph for test_tcp_shell_if_top.cpp:

Go to the source code of this file.

Macros

#define THIS_NAME   "TB_TSIF_TOP"
 
#define TRACE_OFF   0x0000
 
#define TRACE_DDC   1 << 1
 
#define TRACE_ALL   0xFFFF
 
#define DEBUG_LEVEL   (TRACE_OFF)
 

Functions

template<typename T >
bool drainDebugCounter (stream< T > &ss, string ssName)
 Empty a debug stream and throw it away. More...
 
int main (int argc, char *argv[])
 Main function for the test of the TCP Shell Interface (TSIF). More...
 

Variables

unsigned int gSimCycCnt
 
unsigned int gMaxSimCycles
 

Detailed Description

: Testbench for the toplevel of the TCP Shell Interface (TSIF).

System: : cloudFPGA Component : cFp_HelloKale/ROLE/TcpShellInterface (TSIF) Language : Vivado HLS

      +-----------------------+
      |  TcpApplicationFlash  |     +--------+
      |        (TAF)          <-----+  MMIO  |
      +-----/|\------+--------+     +--------+
             |       |
             |       |
      +------+------\|/-------+
      |   TcpShellInterface   |
      |        (TSIF)         |
      +-----/|\------+--------+
             |       |
             |      \|/

Definition in file test_tcp_shell_if_top.cpp.