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

: UDP Application Flash (UAF) More...

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

Go to the source code of this file.

Macros

#define THIS_NAME   "UAF"
 
#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 pUdpEchoStoreAndForward (CmdBit *piSHL_Enable, stream< UdpAppData > &siRXp_Data, stream< UdpAppMeta > &siRXp_Meta, stream< UdpAppDLen > &siRXp_DLen, stream< UdpAppData > &soTXp_Data, stream< UdpAppMeta > &soTXp_Meta, stream< UdpAppDLen > &soTXp_DLen)
 Echo loopback between the Rx and Tx ports of the UDP connection. More...
 
void pUdpTxPath (CmdBit *piSHL_Mmio_Enable, stream< UdpAppData > &siEPt_Data, stream< UdpAppMeta > &siEPt_Meta, stream< UdpAppDLen > &siEPt_DLen, stream< UdpAppData > &siESf_Data, stream< UdpAppMeta > &siESf_Meta, stream< UdpAppDLen > &siESf_DLen, stream< UdpAppData > &soUSIF_Data, stream< UdpAppMeta > &soUSIF_Meta, stream< UdpAppDLen > &soUSIF_DLen)
 Transmit Path - From THIS to USIF. More...
 
void pUdpRxPath (CmdBit *piSHL_Mmio_Enable, stream< UdpAppData > &siUSIF_Data, stream< UdpAppMeta > &siUSIF_Meta, stream< UdpAppDLen > &siUSIF_DLen, stream< UdpAppData > &soEPt_Data, stream< UdpAppMeta > &soEPt_Meta, stream< UdpAppDLen > &soEPt_DLen, stream< UdpAppData > &soESf_Data, stream< UdpAppMeta > &soESf_Meta, stream< UdpAppDLen > &soESf_DLen)
 UDP Receive Path (RXp) - From SHELL->ROLE/USIF to THIS. More...
 
void udp_app_flash (CmdBit *piSHL_Mmio_En, stream< UdpAppData > &siUSIF_Data, stream< UdpAppMeta > &siUSIF_Meta, stream< UdpAppDLen > &siUSIF_DLen, stream< UdpAppData > &soUSIF_Data, stream< UdpAppMeta > &soUSIF_Meta, stream< UdpAppDLen > &soUSIF_DLen)
 Main process of the UDP Application Flash (UAF) More...
 

Variables

bool gTraceEvent
 

Detailed Description

: UDP Application Flash (UAF)

System: : cloudFPGA Component : cFp_HelloKale / ROLE Language : Vivado HLS


This application implements a set of UDP-oriented tests which are embedded into the role of the cFp_HelloKale. The UAF connects to the SHELL via a UDP Shell Interface (USIF) block. The main purpose of the USIF is to provide a placeholder for the opening of one or multiple listening port(s). Its use is not a prerequisite, but it is provided here for sake of clarity and simplicity.

    +-------+  +--------------------------------+
    |       |  |  +------+     +-------------+  |
    |       <-----+      <-----+             |  |
    | SHELL |  |  | USIF |     |     UAF     |  |
    |       +----->      +----->             |  |
    |       |  |  +------+     +-------------+  |
    +-------+  +--------------------------------+

Definition in file udp_app_flash.cpp.