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

: TCP Application Flash (TAF) More...

#include "tcp_app_flash.hpp"
Include dependency graph for tcp_app_flash.cpp:

Go to the source code of this file.

Macros

#define THIS_NAME   "TAF"
 
#define TRACE_OFF   0x0000
 
#define TRACE_ESF   1 << 1
 
#define TRACE_RXP   1 << 2
 
#define TRACE_TXP   1 << 3
 
#define TRACE_ALL   0xFFFF
 
#define DEBUG_LEVEL   (TRACE_OFF)
 

Functions

void pTcpEchoStoreAndForward (stream< TcpAppData > &siRXp_Data, stream< TcpSessId > &siRXp_SessId, stream< TcpDatLen > &siRXp_DatLen, stream< TcpAppData > &soTXp_Data, stream< TcpSessId > &soTXp_SessId, stream< TcpDatLen > &soTXp_DatLen)
 Echo Store and Forward (ESf) More...
 
void pTcpTxPath (stream< TcpAppData > &siEPt_Data, stream< TcpSessId > &siEPt_SessId, stream< TcpDatLen > &siEPt_DatLen, stream< TcpAppData > &siESf_Data, stream< TcpSessId > &siESf_SessId, stream< TcpDatLen > &siESf_DatLen, stream< TcpAppData > &soTSIF_Data, stream< TcpSessId > &soTSIF_SessId, stream< TcpDatLen > &soTSIF_DatLen)
 Transmit Path - From THIS to TSIF. More...
 
void pTcpRxPath (stream< TcpAppData > &siTSIF_Data, stream< TcpSessId > &siTSIF_SessId, stream< TcpDatLen > &siTSIF_DatLen, stream< TcpAppData > &soEPt_Data, stream< TcpSessId > &soEPt_SessId, stream< TcpDatLen > &soEPt_DatLen, stream< TcpAppData > &soESf_Data, stream< TcpSessId > &soESf_SessId, stream< TcpDatLen > &soESf_DatLen)
 TCP Receive Path (RXp) - From SHELL->ROLE/TSIF to THIS. More...
 
void tcp_app_flash (stream< TcpAppData > &siTSIF_Data, stream< TcpSessId > &siTSIF_SessId, stream< TcpDatLen > &siTSIF_DataLen, stream< TcpAppData > &soTSIF_Data, stream< TcpSessId > &soTSIF_SessId, stream< TcpDatLen > &soTSIF_DatLen)
 Main process of the TCP Application Flash (TAF) More...
 

Variables

bool gTraceEvent
 

Detailed Description

: TCP Application Flash (TAF)

System: : cloudFPGA Component : cFp_HelloKale/ROLE/TCP Application Flash (TAF) Language : Vivado HLS


: This application implements a set of TCP-oriented tests and functions for the bring-up of a cloudFPGA module. The TAF connects to the SHELL via a TCP Shell Interface (TSIF) block. The main purpose of the TSIF is to provide a placeholder for the opening of one or multiple listening and active port(s). Its use is not a prerequisite, but it is provided here for sake of simplicity.

    +-------+  +--------------------------------+
    |       |  |  +------+     +-------------+  |
    |       <-----+      <-----+             |  |
    | SHELL |  |  | TSIF |     |     TAF     |  |
    |       +----->      +----->             |  |
    |       |  |  +------+     +-------------+  |
    +-------+  +--------------------------------+

Definition in file tcp_app_flash.cpp.