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

The Role for a Gammacorrection Example application (UDP or TCP) More...

Include dependency graph for gammacorrection.cpp:

Go to the source code of this file.

Macros

#define Data_t   ap_axiu<INPUT_PTR_WIDTH, 0, 0, 0>
 

Functions

void storeWordToArray (uint64_t input, ap_uint< 64 > img[256 *256/(64/8)], unsigned int *processed_word, unsigned int *image_loaded)
 Store a word from ethernet to local memory. More...
 
void storeWordToAxiStream (NetworkWord word, stream< ap_axiu< 64, 0, 0, 0 > > &img_in_axi_stream, unsigned int *processed_word_rx, unsigned int *image_loaded)
 Store a word from ethernet to a local AXI stream. More...
 
void pRXPath (stream< NetworkWord > &siSHL_This_Data, stream< NetworkMetaStream > &siNrc_meta, stream< NetworkMetaStream > &sRxtoTx_Meta, stream< ap_axiu< 64, 0, 0, 0 > > &img_in_axi_stream, NetworkMetaStream meta_tmp, unsigned int *processed_word_rx, unsigned int *image_loaded)
 Receive Path - From SHELL to THIS. More...
 
void pProcPath (stream< NetworkWord > &sRxpToTxp_Data, stream< ap_axiu< 64, 0, 0, 0 > > &img_in_axi_stream, stream< ap_axiu< 64, 0, 0, 0 > > &img_out_axi_stream, unsigned int *processed_word_rx, unsigned int *image_loaded)
 Processing Path - Main processing FSM for Vitis kernels. More...
 
void pTXPath (stream< NetworkWord > &soTHIS_Shl_Data, stream< NetworkMetaStream > &soNrc_meta, stream< NetworkWord > &sRxpToTxp_Data, stream< NetworkMetaStream > &sRxtoTx_Meta, unsigned int *processed_word_tx, ap_uint< 32 > *pi_rank, ap_uint< 32 > *pi_size)
 Transmit Path - From THIS to SHELL. More...
 
void gammacorrection (ap_uint< 32 > *pi_rank, ap_uint< 32 > *pi_size, stream< NetworkWord > &siSHL_This_Data, stream< NetworkWord > &soTHIS_Shl_Data, stream< NetworkMetaStream > &siNrc_meta, stream< NetworkMetaStream > &soNrc_meta, ap_uint< 32 > *po_rx_ports)
 Main process of the Gammacorrection Application directives. More...
 

Variables

uint8_t enqueueFSM = 0
 
uint8_t dequeueFSM = 1
 
uint8_t GammacorrectionFSM = 0
 

Detailed Description

The Role for a Gammacorrection Example application (UDP or TCP)

Author
FAB, WEI, NGL, DID

@date May 2020

This application implements a UDP-oriented Vitis function.

Deprecated:
For the time being, we continue designing with the DEPRECATED directives because the new PRAGMAs do not work for us.

Definition in file gammacorrection.cpp.