UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Observer swordwest
Observer
586 Views
Registered: ‎05-17-2018

A Vivado project - unable to find the problem detected in Vivado HLS run - unable to find solution implementation directory for fast_accel

when I build xfOpenCV example I found this error,Who can help me!? Thanks.

 

22:13:43 **** Build of configuration Release for project fast **** make pre-build main-build sdsoc_make_clean Release ' ' 'Building file: ../src/xf_fast_accel.cpp' 'Invoking: SDS++ Compiler' sds++ -DHLS_NO_XIL_FPO_LIB -DPLATFORM_ZCU104 -Wall -O3 -ID:\download\fpga\zcu104-rv-ss-2018-2\petalinux\sdk\sysroots\aarch64-xilinx-linux/usr/include/c++/6.2.1 -ID:\download\fpga\zcu104-rv-ss-2018-2\petalinux\sdk\sysroots\aarch64-xilinx-linux/usr/include/c++/6.2.1/aarch64-xilinx-linux -ID:\download\fpga\zcu104-rv-ss-2018-2\petalinux\sdk\sysroots\aarch64-xilinx-linux/usr/include/c++/6.2.1/backward -ID:\download\fpga\zcu104-rv-ss-2018-2\petalinux\sdk\sysroots\aarch64-xilinx-linux/usr/include -ID:\download\fpga\zcu104-rv-ss-2018-2\petalinux\sdk\sysroots\aarch64-xilinx-linux/usr/include/glib-2.0 -ID:\download\fpga\zcu104-rv-ss-2018-2\petalinux\sdk\sysroots\aarch64-xilinx-linux/usr/lib/glib-2.0/include -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/6.2.1 -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/6.2.1/aarch64-linux-gnu -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/6.2.1/backward -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/lib/gcc/aarch64-linux-gnu/6.2.1/include -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/lib/gcc/aarch64-linux-gnu/6.2.1/include-fixed -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include -I"../src" -ID:\download\fpga\zcu104-rv-ss-2018-2\zcu104_rv_ss/sw/a53_linux/a53_linux/inc/xfopencv -c -fmessage-length=0 -MT"src/xf_fast_accel.o" -Wno-overloaded-virtual -Wno-unused-label -Wno-strict-overflow -Wno-uninitialized -Wno-unused-function -Wno-unused-variable -Wno-unknown-attributes -Wno-unused-local-typedefs -Wno-sign-compare -Wno-narrowing -MMD -MP -MF"src/xf_fast_accel.d" -MT"src/xf_fast_accel.o" -o "src/xf_fast_accel.o" "../src/xf_fast_accel.cpp" -sds-hw fast_accel xf_fast_accel.cpp -clkid 2 -sds-end -sds-sys-config a53_linux -sds-proc a53_linux -sds-pf "D:\download\fpga\zcu104-rv-ss-2018-2\zcu104_rv_ss" Processing -sds-hw block for fast_accel Create data motion intermediate representation C:\xf\fast\Release>C:\Xilinx\SDx\2018.2\llvm-clang\win64\llvm\bin\clang.exe -ID:\download\fpga\zcu104-rv-ss-2018-2\petalinux\sdk\sysroots\aarch64-xilinx-linux/usr/include/c++/6.2.1 -ID:\download\fpga\zcu104-rv-ss-2018-2\petalinux\sdk\sysroots\aarch64-xilinx-linux/usr/include/c++/6.2.1/aarch64-xilinx-linux -ID:\download\fpga\zcu104-rv-ss-2018-2\petalinux\sdk\sysroots\aarch64-xilinx-linux/usr/include/c++/6.2.1/backward -ID:\download\fpga\zcu104-rv-ss-2018-2\petalinux\sdk\sysroots\aarch64-xilinx-linux/usr/include -ID:\download\fpga\zcu104-rv-ss-2018-2\petalinux\sdk\sysroots\aarch64-xilinx-linux/usr/include/glib-2.0 -ID:\download\fpga\zcu104-rv-ss-2018-2\petalinux\sdk\sysroots\aarch64-xilinx-linux/usr/lib/glib-2.0/include -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/6.2.1 -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/6.2.1/aarch64-linux-gnu -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/6.2.1/backward -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/lib/gcc/aarch64-linux-gnu/6.2.1/include -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/lib/gcc/aarch64-linux-gnu/6.2.1/include-fixed -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include -I../src -ID:\download\fpga\zcu104-rv-ss-2018-2\zcu104_rv_ss/sw/a53_linux/a53_linux/inc/xfopencv -DHLS_NO_XIL_FPO_LIB -DPLATFORM_ZCU104 -Wall -fmessage-length=0 -Wno-overloaded-virtual -Wno-unused-label -Wno-strict-overflow -Wno-uninitialized -Wno-unused-function -Wno-unused-variable -Wno-unknown-attributes -Wno-unused-local-typedefs -Wno-sign-compare -Wno-narrowing -MMD -MP -D __SDSCC__ -target aarch64-linux-gnu -mcpu=cortex-a53 -O0 -g -I D:/download/fpga/zcu104-rv-ss-2018-2/zcu104_rv_ss/sw/a53_linux/a53_linux/inc/xfopencv -I C:/Xilinx/SDx/2018.2/target/aarch64-linux/include -D HLS_NO_XIL_FPO_LIB -I C:/Xilinx/Vivado/2018.2/include -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/7.2.1 -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/7.2.1/aarch64-linux-gnu -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/7.2.1/backward -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/lib/gcc/aarch64-linux-gnu/7.2.1/include -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/lib/gcc/aarch64-linux-gnu/7.2.1/include-fixed -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/libc/usr/include -std=c++11 -emit-llvm -S C:/xf/fast/src/xf_fast_accel.cpp -o C:/xf/fast/Release/_sds/.llvm/src/xf_fast_accel.s C:/Xilinx/Vivado/2018.2/include/ap_int_special.h:99:1: warning: 'complex' defined as a struct template here but previously declared as a class template [-Wmismatched-tags] struct complex<ap_int > { ^ C:/Xilinx/Vivado/2018.2/include/ap_int_special.h:71:24: note: did you mean struct here? template class complex; ^~~~~ struct C:/Xilinx/Vivado/2018.2/include/ap_fixed_special.h:99:1: warning: 'complex' defined as a struct template here but previously declared as a class template [-Wmismatched-tags] struct complex<ap_fixed<_AP_W, _AP_I, _AP_Q, _AP_O, _AP_N> > { ^ C:/Xilinx/Vivado/2018.2/include/ap_fixed_special.h:71:24: note: did you mean struct here? template class complex; ^~~~~ struct C:/Xilinx/Vivado/2018.2/include/ap_int_special.h:71:24: note: did you mean struct here? template class complex; ^~~~~ struct D:\download\fpga\zcu104-rv-ss-2018-2\zcu104_rv_ss/sw/a53_linux/a53_linux/inc/xfopencv\features/xf_fast.hpp:133:52: warning: suggest braces around initialization of subobject [-Wmissing-braces] short int flag_d[(1 << XF_BITSHIFT(NPC))][NUM] = {0}, flag_val[(1 << XF_BITSHIFT(NPC))][NUM] = {0}; ^ {} D:\download\fpga\zcu104-rv-ss-2018-2\zcu104_rv_ss/sw/a53_linux/a53_linux/inc/xfopencv\features/xf_fast.hpp:364:6: note: in instantiation of function template specialization 'xf::xFfastProc<1, 0, 0, 7, 49>' requested here xFfastProc<NPC, WORDWIDTH,DEPTH, WIN_SZ, WIN_SZ_SQ>(OutputValues_percycle,src_buf_temp_med_apply, WIN_SZ,_threshold,pack_corners); ^ D:\download\fpga\zcu104-rv-ss-2018-2\zcu104_rv_ss/sw/a53_linux/a53_linux/inc/xfopencv\features/xf_fast.hpp:542:3: note: in instantiation of function template specialization 'xf::ProcessFast<2160, 3840, 0, 1, 0, 3843, 7, 49>' requested here ProcessFast<ROWS, COLS, DEPTH, NPC, WORDWIDTH, TC, WIN_SZ, WIN_SZ_SQ>(_src_mat, _out_mat, buf, src_buf,OutputValues, P0, img_width, img_height, shift_x, row_ind, row,win_size,_threshold,pack_corners); ^ D:\download\fpga\zcu104-rv-ss-2018-2\zcu104_rv_ss/sw/a53_linux/a53_linux/inc/xfopencv\features/xf_fast.hpp:907:3: note: in instantiation of function template specialization 'xf::xFfast7x7<2160, 3840, 0, 1, 0, 3843, 7, 49>' requested here xFfast7x7<ROWS,COLS,DEPTH,NPC,WORDWIDTH_SRC,(COLS>>XF_BITSHIFT(NPC))+(7>>1),7, 7*7>(_strm_in, _dst,7,_image_height,_image_width,_threshold); ^ D:\download\fpga\zcu104-rv-ss-2018-2\zcu104_rv_ss/sw/a53_linux/a53_linux/inc/xfopencv\features/xf_fast.hpp:955:2: note: in instantiation of function template specialization 'xf::xFFastCornerDetection<2160, 3840, 0, 1, 0, 9, 1>' requested here xFFastCornerDetection<ROWS,COLS,XF_DEPTH(SRC_T,NPC),NPC,XF_WORDWIDTH(SRC_T,NPC),XF_32UW,NMS>(_src,_dst,_src_mat.rows,_src_mat.cols,_threshold); ^ C:/xf/fast/src/xf_fast_accel.cpp:36:6: note: in instantiation of function template specialization 'xf::fast<1, 0, 2160, 3840, 1>' requested here xf::fast<NMS,XF_8UC1,HEIGHT,WIDTH,NPC1>(_src,_dst,threshold); ^ D:\download\fpga\zcu104-rv-ss-2018-2\zcu104_rv_ss/sw/a53_linux/a53_linux/inc/xfopencv\features/xf_fast.hpp:133:98: warning: suggest braces around initialization of subobject [-Wmissing-braces] short int flag_d[(1 << XF_BITSHIFT(NPC))][NUM] = {0}, flag_val[(1 << XF_BITSHIFT(NPC))][NUM] = {0}; ^ {} C:\xf\fast\Release>exit /b 0 Performing accelerator source linting for fast_accel Performing pragma generation C:\xf\fast\Release>C:\Xilinx\SDx\2018.2\llvm-clang\win64\llvm\bin\clang.exe -E -ID:/download/fpga/zcu104-rv-ss-2018-2/petalinux/sdk/sysroots/aarch64-xilinx-linux/usr/include/c++/6.2.1 -ID:/download/fpga/zcu104-rv-ss-2018-2/petalinux/sdk/sysroots/aarch64-xilinx-linux/usr/include/c++/6.2.1/aarch64-xilinx-linux -ID:/download/fpga/zcu104-rv-ss-2018-2/petalinux/sdk/sysroots/aarch64-xilinx-linux/usr/include/c++/6.2.1/backward -ID:/download/fpga/zcu104-rv-ss-2018-2/petalinux/sdk/sysroots/aarch64-xilinx-linux/usr/include -ID:/download/fpga/zcu104-rv-ss-2018-2/petalinux/sdk/sysroots/aarch64-xilinx-linux/usr/include/glib-2.0 -ID:/download/fpga/zcu104-rv-ss-2018-2/petalinux/sdk/sysroots/aarch64-xilinx-linux/usr/lib/glib-2.0/include -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/6.2.1 -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/6.2.1/aarch64-linux-gnu -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/6.2.1/backward -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/lib/gcc/aarch64-linux-gnu/6.2.1/include -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/lib/gcc/aarch64-linux-gnu/6.2.1/include-fixed -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include -IC:/xf/fast/src -ID:/download/fpga/zcu104-rv-ss-2018-2/zcu104_rv_ss/sw/a53_linux/a53_linux/inc/xfopencv -DHLS_NO_XIL_FPO_LIB -DPLATFORM_ZCU104 -Wall -fmessage-length=0 -Wno-overloaded-virtual -Wno-unused-label -Wno-strict-overflow -Wno-uninitialized -Wno-unused-function -Wno-unused-variable -Wno-unknown-attributes -Wno-unused-local-typedefs -Wno-sign-compare -Wno-narrowing -MMD -MP -D __SDSCC__ -m64 -I D:/download/fpga/zcu104-rv-ss-2018-2/zcu104_rv_ss/sw/a53_linux/a53_linux/inc/xfopencv -D HLS_NO_XIL_FPO_LIB -I C:/Xilinx/SDx/2018.2/target/aarch64-linux/include -IC:/xf/fast/src -D __SDSVHLS__ -target aarch64-linux-gnu -mcpu=cortex-a53 -O0 -g -w -I D:/download/fpga/zcu104-rv-ss-2018-2/zcu104_rv_ss/sw/a53_linux/a53_linux/inc/xfopencv -I C:/Xilinx/SDx/2018.2/target/aarch64-linux/include -D HLS_NO_XIL_FPO_LIB -I C:/Xilinx/Vivado/2018.2/include -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/7.2.1 -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/7.2.1/aarch64-linux-gnu -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/7.2.1/backward -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/lib/gcc/aarch64-linux-gnu/7.2.1/include -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/lib/gcc/aarch64-linux-gnu/7.2.1/include-fixed -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include -IC:/Xilinx/SDK/2018.2/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/libc/usr/include -std=c++11 C:/xf/fast/src/xf_fast_accel.cpp -o C:/xf/fast/Release/_sds/vhls/xf_fast_accel_pp.cpp C:\xf\fast\Release>exit /b 0 INFO: [PragmaGen 83-3231] Successfully generated tcl script: C:/xf/fast/Release/_sds/vhls/fast_accel.tcl Moving function fast_accel to Programmable Logic ERROR: [SdsCompiler 83-5031] Problem detected in Vivado HLS run - unable to find solution implementation directory for fast_accel C:/xf/fast/Release/_sds/vhls/fast_accel/solution/impl/ip. For possible causes, review C:/xf/fast/Release/_sds/vhls/fast_accel/solution/solution.log or C:/xf/fast/Release/_sds/vhls/fast_accel_vivado_hls.log. C:/xf/fast/Release/_sds/vhls/fast_accel_vivado_hls.log (last 20 lines): D:/download/fpga/zcu104-rv-ss-2018-2/petalinux/sdk/sysroots/aarch64-xilinx-linux/usr/include\bits/wordsize.h:36:2: error: "__WORDSIZE is not defined" #error "__WORDSIZE is not defined" ^ D:/download/fpga/zcu104-rv-ss-2018-2/petalinux/sdk/sysroots/aarch64-xilinx-linux/usr/include\bits/wordsize.h:59:2: error: "Unknown __WORDSIZE detected" #error "Unknown __WORDSIZE detected" ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] C preprocessor failed. while executing "source C:/xf/fast/Release/_sds/vhls/fast_accel_run.tcl" invoked from within "hls::main C:/xf/fast/Release/_sds/vhls/fast_accel_run.tcl -l fast_accel_vivado_hls.log" ("uplevel" body line 1) invoked from within "uplevel 1 hls::main {*}$args" (procedure "hls_proc" line 5) invoked from within "hls_proc $argv" INFO: [Common 17-206] Exiting vivado_hls at Sun Jul 29 22:14:02 2018... sds++ log file saved as C:/xf/fast/Release/_sds/reports/sds_xf_fast_accel.log ERROR: [SdsCompiler 83-5004] Build failed make: *** [src/xf_fast_accel.o] 错误 1 22:14:02 Build Finished (took 18s.874ms)

0 Kudos
1 Reply
Teacher xilinxacct
Teacher
322 Views
Registered: ‎10-23-2018

Re: A Vivado project - unable to find the problem detected in Vivado HLS run - unable to find solution implementation directory for fast_accel

0 Kudos