cloudFPGA (cF) API
1.0
The documentation of the source code of cloudFPGA (cF)
|
The Role for a Gammacorrection Example application (UDP or TCP) More...
#include <stdio.h>
#include <iostream>
#include <fstream>
#include <string>
#include <math.h>
#include <hls_stream.h>
#include "ap_int.h"
#include <stdint.h>
#include "network.hpp"
Go to the source code of this file.
Macros | |
#define | WAIT_FOR_META 0 |
#define | WAIT_FOR_STREAM_PAIR 1 |
#define | PROCESSING_PACKET 2 |
#define | GAMMACORRECTION_RETURN_RESULTS 3 |
#define | PacketFsmType uint8_t |
#define | DEFAULT_TX_PORT 2718 |
#define | DEFAULT_RX_PORT 2718 |
#define | MEMDW 64 |
#define | BPERDW (MEMDW/8) |
#define | MAX_NB_OF_ELMT_READ 16 |
#define | MAX_NB_OF_WORDS_READ (MAX_NB_OF_ELMT_READ*sizeof(mat_elmt_t)/BPERDW) |
#define | MAX_NB_OF_ELMT_PERDW (BPERDW/sizeof(mat_elmt_t)) |
Typedefs | |
typedef uint8_t | mat_elmt_t |
Functions | |
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... | |
The Role for a Gammacorrection Example application (UDP or TCP)
: This application implements a set of UDP-oriented tests and functions which are embedded into the Flash of the cloudFPGA role.
Definition in file gammacorrection.hpp.