============================================================== Vivado(TM) HLS - High-Level Synthesis from C, C++ and SystemC v2019.2 (64-bit) Copyright 1986-2019 Xilinx, Inc. All Rights Reserved. ============================================================== INFO: [SYN 201-201] Setting up clock 'default' with a period of 10ns. INFO: [HLS 200-10] Setting target device to 'xczu3eg-sbva484-1-e' INFO: [SIM 211-2] *************** CSIM start *************** INFO: [SIM 211-4] CSIM will launch GCC as the compiler. ERROR: [SIM 211-100] 'csim_design' failed: compilation error(s). INFO: [SIM 211-3] *************** CSIM finish *************** ============================================================== Vivado(TM) HLS - High-Level Synthesis from C, C++ and SystemC v2019.2 (64-bit) Copyright 1986-2019 Xilinx, Inc. All Rights Reserved. ============================================================== INFO: [SYN 201-201] Setting up clock 'default' with a period of 10ns. INFO: [HLS 200-10] Setting target device to 'xczu3eg-sbva484-1-e' INFO: [SYN 201-201] Setting up clock 'default' with a period of 10ns. INFO: [SCHED 204-61] Option 'relax_ii_for_timing' is enabled, will increase II to preserve clock frequency constraints. INFO: [HLS 200-10] Analyzing design file 'resize/xf_resize_accel.cpp' ... ERROR: [HLS 200-70] Compilation errors found: In file included from resize/xf_resize_accel.cpp:1: In file included from resize/xf_resize_accel.cpp:30: In file included from resize/xf_axis_config.h:37: In file included from ./vitis_lib/vision/L1/include\common/xf_common.hpp:20: ./vitis_lib/vision/L1/include\common/xf_structs.hpp:436:10: error: too many template arguments for class template 'stream' hls::stream data; ^ ~~~~~~~~~~ C:/Xilinx/Vivado/2019.2/common/technology/autopilot\hls_stream.h:89:7: note: template is declared here class stream ^ In file included from resize/xf_resize_accel.cpp:1: In file included from resize/xf_resize_accel.cpp:30: In file included from resize/xf_axis_config.h:37: In file included from ./vitis_lib/vision/L1/include\common/xf_common.hpp:20: ./vitis_lib/vision/L1/include\common/xf_structs.hpp:929:12: error: unknown type name 'constexpr' static constexpr int fvalue = 1 + (log2::fvalue); ^ ./vitis_lib/vision/L1/include\common/xf_structs.hpp:929:22: error: expected member name or ';' after declaration specifiers static constexpr int fvalue = 1 + (log2::fvalue); ~~~~~~~~~~~~~~~~ ^ ./vitis_lib/vision/L1/include\common/xf_structs.hpp:930:12: error: unknown type name 'constexpr' static constexpr int cvalue = (N > (1 << fvalue)) ? (fvalue + 1) : fvalue; ^ ./vitis_lib/vision/L1/include\common/xf_structs.hpp:930:22: error: expected member name or ';' after declaration specifiers static constexpr int cvalue = (N > (1 << fvalue)) ? (fvalue + 1) : fvalue; ~~~~~~~~~~~~~~~~ ^ ./vitis_lib/vision/L1/include\common/xf_structs.hpp:936:12: error: unknown type name 'constexpr' static constexpr int fvalue = 0; ^ ./vitis_lib/vision/L1/include\common/xf_structs.hpp:936:22: error: expected member name or ';' after declaration specifiers static constexpr int fvalue = 0; ~~~~~~~~~~~~~~~~ ^ ./vitis_lib/vision/L1/include\common/xf_structs.hpp:937:12: error: unknown type name 'constexpr' static constexpr int cvalue = 0; ^ ./vitis_lib/vision/L1/include\common/xf_structs.hpp:937:22: error: expected member name or ';' after declaration specifiers static constexpr int cvalue = 0; ~~~~~~~~~~~~~~~~ ^ ./vitis_lib/vision/L1/include\common/xf_structs.hpp:953:12: error: unknown type name 'constexpr' static constexpr int XF_BITS_PER_CLOCK = DataType::pixelwidth * xfNPixelsPerCycle::nppc; ^ ./vitis_lib/vision/L1/include\common/xf_structs.hpp:953:22: error: expected member name or ';' after declaration specifiers static constexpr int XF_BITS_PER_CLOCK = DataType::pixelwidth * xfNPixelsPerCycle::nppc; ~~~~~~~~~~~~~~~~ ^ ./vitis_lib/vision/L1/include\common/xf_structs.hpp:954:12: error: unknown type name 'constexpr' static constexpr int COLS_BOUND_PER_NPC = ((COLS + (xfNPixelsPerCycle::nppc - 1)) >> xfNPixelsPerCycle::datashift); ^ ./vitis_lib/vision/L1/include\common/xf_structs.hpp:954:22: error: expected member name or ';' after declaration specifiers static constexpr int COLS_BOUND_PER_NPC = ((COLS + (xfNPixelsPerCycle::nppc - 1)) >> xfNPixelsPerCycle::datashift); ~~~~~~~~~~~~~~~~ ^ ./vitis_lib/vision/L1/include\common/xf_structs.hpp:955:12: error: unknown type name 'constexpr' static constexpr int LOOPBOUND = ROWS * COLS_BOUND_PER_NPC; ^ ./vitis_lib/vision/L1/include\common/xf_structs.hpp:955:22: error: expected member name or ';' after declaration specifiers static constexpr int LOOPBOUND = ROWS * COLS_BOUND_PER_NPC; ~~~~~~~~~~~~~~~~ ^ ./vitis_lib/vision/L1/include\common/xf_structs.hpp:956:12: error: unknown type name 'constexpr' static constexpr int ADDRBOUND = ((ROWS * COLS * DataType::pixelwidth) + (PTR_WIDTH - 1)) >> ^ ./vitis_lib/vision/L1/include\common/xf_structs.hpp:956:22: error: expected member name or ';' after declaration specifiers static constexpr int ADDRBOUND = ((ROWS * COLS * DataType::pixelwidth) + (PTR_WIDTH - 1)) >> ~~~~~~~~~~~~~~~~ ^ ./vitis_lib/vision/L1/include\common/xf_structs.hpp:958:12: error: unknown type name 'constexpr' static constexpr int LAST_BLK_PXL_WIDTH = ^ ./vitis_lib/vision/L1/include\common/xf_structs.hpp:958:22: error: expected member name or ';' after declaration specifiers static constexpr int LAST_BLK_PXL_WIDTH = ~~~~~~~~~~~~~~~~ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated.