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

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

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

Go to the source code of this file.

Macros

#define CEIL(a, b)   (((a) + (b-1)) / (b))
 
#define FRAME_HEIGHT   32
 
#define FRAME_WIDTH   32
 
#define FRAME_INTERVAL   (1000/30)
 
#define PACK_SIZE   1024
 
#define BUF_LEN   65540
 
#define WRITE_OUTPUT_FILE
 
#define TB_SIM_CFP_VITIS
 
#define INPUT_TYPE_HOST   CV_8UC1
 
#define NET_TYPE   udp
 
#define DEBUG_LEVEL   dbgLevelNone
 
#define FRAME_TOTAL   FRAME_HEIGHT * FRAME_WIDTH
 
#define WARP_TRANSFORM_TOTAL   FRAME_TOTAL + 8 * 2 + 5 * 8
 
#define TOT_TRANSFERS   CEIL(WARP_TRANSFORM_TOTAL, PACK_SIZE)
 
#define tcp   0
 
#define udp   1
 
#define PY_WRAP_WARPTRANSFORM_NUMPI   0
 
#define PY_WRAP_WARPTRANSFORM_FILENAME   1
 

Detailed Description

The configuration of a WarpTransform Example 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 June 2020

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


Definition in file config.h.