cloudFPGA (cF) API  1.0
The documentation of the source code of cloudFPGA (cF)
config.h File Reference

The configuration of a MCEuropeanEngine application (UDP or TCP) More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  varin
 
union  intToFloatUnion
 

Macros

#define CEIL(a, b)   (((a) + (b-1)) / (b))
 
#define PACK_SIZE   1024
 
#define BUF_LEN   65540
 
#define NET_TYPE   udp
 
#define DtUsed   double
 
#define MCM_NM   6
 
#define OUTDEP   1024
 
#define TOT_TRANSFERS_IN   (CEIL(INSIZE, PACK_SIZE))
 
#define TOT_TRANSFERS_OUT   (CEIL(OUTSIZE, PACK_SIZE))
 
#define TOT_TRANSFERS   TOT_TRANSFERS_IN + TOT_TRANSFERS_OUT
 
#define tcp   0
 
#define udp   1
 

Typedefs

typedef long unsigned int DtUsedInt
 

Detailed Description

The configuration of a MCEuropeanEngine application (UDP or TCP)

Copyright 2016 – 2022 IBM Corporation

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Author
FAB, WEI, NGL, DID

@date September 2020

This file contains definitios used both in HLS and host code of cFp Vitis MCEuropeanEngine application.


Definition in file config.h.