cloudFPGA (cF) API  1.0
The documentation of the source code of cloudFPGA (cF)
network.hpp File Reference
#include <stdint.h>
#include <stdio.h>
#include "ap_int.h"
#include "ap_utils.h"
#include <hls_stream.h>
Include dependency graph for network.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  NetworkWord
 
struct  NetworkMeta
 
struct  NetworkMetaStream
 

Macros

#define NETWORK_WORD_BYTE_WIDTH   8
 
#define NETWORK_WORD_BIT_WIDTH   64
 
#define MAX_CF_NODE_ID   (64-1)
 
#define NAL_THIS_FPGA_PSEUDO_NID   (MAX_CF_NODE_ID + 1)
 
#define NAL_RX_MIN_PORT   2718
 
#define NAL_RX_MAX_PORT   2749
 

Typedefs

typedef NetworkWord UdpWord
 
typedef NetworkWord TcpWord
 
typedef ap_uint< 16 > NrcPort
 
typedef ap_uint< 8 > NodeId
 
typedef ap_uint< 16 > NetworkDataLength
 

Macro Definition Documentation

◆ MAX_CF_NODE_ID

#define MAX_CF_NODE_ID   (64-1)

Definition at line 85 of file network.hpp.

◆ NAL_RX_MAX_PORT

#define NAL_RX_MAX_PORT   2749

Definition at line 90 of file network.hpp.

◆ NAL_RX_MIN_PORT

#define NAL_RX_MIN_PORT   2718

Definition at line 89 of file network.hpp.

◆ NAL_THIS_FPGA_PSEUDO_NID

#define NAL_THIS_FPGA_PSEUDO_NID   (MAX_CF_NODE_ID + 1)

Definition at line 87 of file network.hpp.

◆ NETWORK_WORD_BIT_WIDTH

#define NETWORK_WORD_BIT_WIDTH   64

Definition at line 46 of file network.hpp.

◆ NETWORK_WORD_BYTE_WIDTH

#define NETWORK_WORD_BYTE_WIDTH   8

Generic Network Streaming Interfaces.

Definition at line 45 of file network.hpp.

Typedef Documentation

◆ NetworkDataLength

typedef ap_uint<16> NetworkDataLength

Definition at line 92 of file network.hpp.

◆ NodeId

typedef ap_uint<8> NodeId

Definition at line 82 of file network.hpp.

◆ NrcPort

typedef ap_uint<16> NrcPort

Definition at line 81 of file network.hpp.

◆ TcpWord

Definition at line 78 of file network.hpp.

◆ UdpWord

Definition at line 77 of file network.hpp.