cloudFPGA (cF) API  1.0
The documentation of the source code of cloudFPGA (cF)
config.h
Go to the documentation of this file.
1 
17 
34 //------------------------------------ USEFUL MACROS --------------------------------------------
35 
37 #define CEIL(a, b) (((a) + (b-1)) / (b))
38 
39 
40 
41 //-------------------------------- USER DEFINED OPTIONS ------------------------------------------
42 #define TRACE_OFF 0x0000
43 #define TRACE_URIF 1 << 1
44 #define TRACE_UAF 1 << 2
45 #define TRACE_MMIO 1 << 3
46 #define TRACE_ALL 0xFFFF
47 #define DEBUG_LEVEL (TRACE_ALL)
48 
51 #define PACK_SIZE 1024
52 
54 #define BUF_LEN 65540
55 
56 /* For HOST TB uncomment this. For normal host execution keep it commented */
57  #define TB_SIM_CFP_VITIS
58 
60 #define NET_TYPE udp
61 
62 //---------------------------- AUTOMATICALLY DEFINED OPTIONS -------------------------------------
63 
64 
65 #define tcp 0
66 #define udp 1
67