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: 
Highlighted
Visitor med_neggaz
Visitor
1,589 Views
Registered: ‎04-25-2017

SDSoC Cannot finish HLS Synthetisis

Jump to solution

Hello,

 

I have started using SDSoC with the reVISION stack lately on a ZCU102_es2. I have a Windows 10 64 bit.

 

I followed every step in the tutorial "http://www.wiki.xilinx.com/reVISION+Getting+Started+Guide+2017.1" and everything went OK. I successfully compiled and run the Optical Flow example on the card and visualized the output using the generated files on SD Card.

 

 

After I tried editing the source code, I ran into some troubles. First, I had to change the SYSROOT. Then It said that I have some locked IPs knowing that my license is still active.

 

After rebuilding multiple times, I am stuck with this error. HLS cannot move the xFDenseNonPyrLKOpticalFlow function to HW. It works fine for read_optflow_input but the second function is problematic.

 

I provide the logs in attachments. The next is the Console output.

 

12:26:11 **** Build of configuration Release for project OF2_Cust ****
make pre-build main-build 
sdsoc_make_clean Release
' '
'Building file: ../src/optical_flow.cpp'
'Invoking: SDS++ Compiler'
sds++ -DPLATFORM_ZCU102 -DHLS_NO_XIL_FPO_LIB -DWITH_SDSOC -DSAMPLE_OPTICAL_FLOW -DOF_PIX_PER_CLOCK=2 -Wall -O3 -I"../src" -I"../src/include" -IC:/Users/Miloslav/Projects/ZCU102/zcu102_es2_reVISION/sw/aarch64-linux-gnu/video_lib/include -c -fmessage-length=0 -MT"src/optical_flow.o" -IC:\Users\Miloslav\Projects\ZCU102\zcu102_es2_reVISION\sw\aarch64-linux-gnu\sysroot/usr/include/c++/6.2.1 -IC:\Users\Miloslav\Projects\ZCU102\zcu102_es2_reVISION\sw\aarch64-linux-gnu\sysroot/usr/include/c++/6.2.1/aarch64-xilinx-linux -IC:\Users\Miloslav\Projects\ZCU102\zcu102_es2_reVISION\sw\aarch64-linux-gnu\sysroot/usr/include/c++/6.2.1/backward -IC:\Users\Miloslav\Projects\ZCU102\zcu102_es2_reVISION\sw\aarch64-linux-gnu\sysroot/usr/include -IC:\Users\Miloslav\Projects\ZCU102\zcu102_es2_reVISION\sw\aarch64-linux-gnu\sysroot/usr/include/glib-2.0 -IC:\Users\Miloslav\Projects\ZCU102\zcu102_es2_reVISION\sw\aarch64-linux-gnu\sysroot/usr/lib/glib-2.0/include -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/6.2.1 -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/6.2.1/aarch64-linux-gnu -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/6.2.1/backward -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/lib/gcc/aarch64-linux-gnu/6.2.1/include -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/lib/gcc/aarch64-linux-gnu/6.2.1/include-fixed -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include -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 -MMD -MP -MF"src/optical_flow.d" -MT"src/optical_flow.o" -o "src/optical_flow.o" "../src/optical_flow.cpp" -sds-hw read_optflow_input optical_flow_wrap.cpp  -clkid 2 -sds-end -sds-hw "xFDenseNonPyrLKOpticalFlow<25,0,2160,3840,2>" optical_flow_wrap.cpp  -files ../src/include/imgproc/xf_dense_npyr_optical_flow.hpp  -clkid 2 -sds-end -sds-hw write_optflow_output optical_flow_wrap.cpp  -clkid 2 -sds-end -sds-sys-config linux -sds-proc a53_0 -sds-pf "C:/Users/Miloslav/Projects/ZCU102/zcu102_es2_reVISION"
Create data motion intermediate representation

C:\Users\Miloslav\Projects\SDSoC\OF2_Cust\Release>C:\Xilinx\SDx\2017.1\llvm-clang\win64\llvm\bin\clang.exe -I../src -I../src/include -IC:/Users/Miloslav/Projects/ZCU102/zcu102_es2_reVISION/sw/aarch64-linux-gnu/video_lib/include -IC:\Users\Miloslav\Projects\ZCU102\zcu102_es2_reVISION\sw\aarch64-linux-gnu\sysroot/usr/include/c++/6.2.1 -IC:\Users\Miloslav\Projects\ZCU102\zcu102_es2_reVISION\sw\aarch64-linux-gnu\sysroot/usr/include/c++/6.2.1/aarch64-xilinx-linux -IC:\Users\Miloslav\Projects\ZCU102\zcu102_es2_reVISION\sw\aarch64-linux-gnu\sysroot/usr/include/c++/6.2.1/backward -IC:\Users\Miloslav\Projects\ZCU102\zcu102_es2_reVISION\sw\aarch64-linux-gnu\sysroot/usr/include -IC:\Users\Miloslav\Projects\ZCU102\zcu102_es2_reVISION\sw\aarch64-linux-gnu\sysroot/usr/include/glib-2.0 -IC:\Users\Miloslav\Projects\ZCU102\zcu102_es2_reVISION\sw\aarch64-linux-gnu\sysroot/usr/lib/glib-2.0/include -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/6.2.1 -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/6.2.1/aarch64-linux-gnu -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/6.2.1/backward -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/lib/gcc/aarch64-linux-gnu/6.2.1/include -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/lib/gcc/aarch64-linux-gnu/6.2.1/include-fixed -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include -DPLATFORM_ZCU102 -DHLS_NO_XIL_FPO_LIB -DWITH_SDSOC -DSAMPLE_OPTICAL_FLOW -DOF_PIX_PER_CLOCK=2 -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 -MMD -MP -D __SDSCC__ -target aarch64-linux-gnu -mcpu=cortex-a53 -O0 -g -I C:/Users/Miloslav/Projects/ZCU102/zcu102_es2_reVISION/sw/aarch64-linux-gnu/video_lib/include -I C:/Xilinx/SDx/2017.1/target/aarch64-linux/include -I C:/Xilinx/SDx/2017.1/Vivado_HLS/include -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/6.2.1 -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/6.2.1/aarch64-linux-gnu -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/6.2.1/backward -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/lib/gcc/aarch64-linux-gnu/6.2.1/include -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/lib/gcc/aarch64-linux-gnu/6.2.1/include-fixed -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/libc/usr/include -std=c++11 -emit-llvm -S C:/Users/Miloslav/Projects/SDSoC/OF2_Cust/src/optical_flow.cpp -o C:/Users/Miloslav/Projects/SDSoC/OF2_Cust/Release/_sds/.llvm/src/optical_flow.s 

C:\Users\Miloslav\Projects\SDSoC\OF2_Cust\Release>exit /b 0 
Compiling C:/Users/Miloslav/Projects/SDSoC/OF2_Cust/src/optical_flow.cpp
                 from C:/Users/Miloslav/Projects/SDSoC/OF2_Cust/src/optical_flow_int.h:47,
                 from C:/Users/Miloslav/Projects/SDSoC/OF2_Cust/src/optical_flow.cpp:44:
sds++ log file saved as C:/Users/Miloslav/Projects/SDSoC/OF2_Cust/Release/_sds/reports/sds_optical_flow.log

'Finished building: ../src/optical_flow.cpp'
' '
'Building file: ../src/optical_flow_wrap.cpp'
'Invoking: SDS++ Compiler'
sds++ -DPLATFORM_ZCU102 -DHLS_NO_XIL_FPO_LIB -DWITH_SDSOC -DSAMPLE_OPTICAL_FLOW -DOF_PIX_PER_CLOCK=2 -Wall -O3 -I"../src" -I"../src/include" -IC:/Users/Miloslav/Projects/ZCU102/zcu102_es2_reVISION/sw/aarch64-linux-gnu/video_lib/include -c -fmessage-length=0 -MT"src/optical_flow_wrap.o" -IC:\Users\Miloslav\Projects\ZCU102\zcu102_es2_reVISION\sw\aarch64-linux-gnu\sysroot/usr/include/c++/6.2.1 -IC:\Users\Miloslav\Projects\ZCU102\zcu102_es2_reVISION\sw\aarch64-linux-gnu\sysroot/usr/include/c++/6.2.1/aarch64-xilinx-linux -IC:\Users\Miloslav\Projects\ZCU102\zcu102_es2_reVISION\sw\aarch64-linux-gnu\sysroot/usr/include/c++/6.2.1/backward -IC:\Users\Miloslav\Projects\ZCU102\zcu102_es2_reVISION\sw\aarch64-linux-gnu\sysroot/usr/include -IC:\Users\Miloslav\Projects\ZCU102\zcu102_es2_reVISION\sw\aarch64-linux-gnu\sysroot/usr/include/glib-2.0 -IC:\Users\Miloslav\Projects\ZCU102\zcu102_es2_reVISION\sw\aarch64-linux-gnu\sysroot/usr/lib/glib-2.0/include -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/6.2.1 -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/6.2.1/aarch64-linux-gnu -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/6.2.1/backward -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/lib/gcc/aarch64-linux-gnu/6.2.1/include -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/lib/gcc/aarch64-linux-gnu/6.2.1/include-fixed -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include -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 -MMD -MP -MF"src/optical_flow_wrap.d" -MT"src/optical_flow_wrap.o" -o "src/optical_flow_wrap.o" "../src/optical_flow_wrap.cpp" -sds-hw read_optflow_input optical_flow_wrap.cpp  -clkid 2 -sds-end -sds-hw "xFDenseNonPyrLKOpticalFlow<25,0,2160,3840,2>" optical_flow_wrap.cpp  -files ../src/include/imgproc/xf_dense_npyr_optical_flow.hpp  -clkid 2 -sds-end -sds-hw write_optflow_output optical_flow_wrap.cpp  -clkid 2 -sds-end -sds-sys-config linux -sds-proc a53_0 -sds-pf "C:/Users/Miloslav/Projects/ZCU102/zcu102_es2_reVISION"
Processing -sds-hw block for read_optflow_input
Processing -sds-hw block for xFDenseNonPyrLKOpticalFlow<25,0,2160,3840,2>
Processing -sds-hw block for write_optflow_output
Create data motion intermediate representation

C:\Users\Miloslav\Projects\SDSoC\OF2_Cust\Release>C:\Xilinx\SDx\2017.1\llvm-clang\win64\llvm\bin\clang.exe -I../src -I../src/include -IC:/Users/Miloslav/Projects/ZCU102/zcu102_es2_reVISION/sw/aarch64-linux-gnu/video_lib/include -IC:\Users\Miloslav\Projects\ZCU102\zcu102_es2_reVISION\sw\aarch64-linux-gnu\sysroot/usr/include/c++/6.2.1 -IC:\Users\Miloslav\Projects\ZCU102\zcu102_es2_reVISION\sw\aarch64-linux-gnu\sysroot/usr/include/c++/6.2.1/aarch64-xilinx-linux -IC:\Users\Miloslav\Projects\ZCU102\zcu102_es2_reVISION\sw\aarch64-linux-gnu\sysroot/usr/include/c++/6.2.1/backward -IC:\Users\Miloslav\Projects\ZCU102\zcu102_es2_reVISION\sw\aarch64-linux-gnu\sysroot/usr/include -IC:\Users\Miloslav\Projects\ZCU102\zcu102_es2_reVISION\sw\aarch64-linux-gnu\sysroot/usr/include/glib-2.0 -IC:\Users\Miloslav\Projects\ZCU102\zcu102_es2_reVISION\sw\aarch64-linux-gnu\sysroot/usr/lib/glib-2.0/include -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/6.2.1 -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/6.2.1/aarch64-linux-gnu -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/6.2.1/backward -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/lib/gcc/aarch64-linux-gnu/6.2.1/include -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/lib/gcc/aarch64-linux-gnu/6.2.1/include-fixed -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include -DPLATFORM_ZCU102 -DHLS_NO_XIL_FPO_LIB -DWITH_SDSOC -DSAMPLE_OPTICAL_FLOW -DOF_PIX_PER_CLOCK=2 -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 -MMD -MP -D __SDSCC__ -target aarch64-linux-gnu -mcpu=cortex-a53 -O0 -g -I C:/Users/Miloslav/Projects/ZCU102/zcu102_es2_reVISION/sw/aarch64-linux-gnu/video_lib/include -I C:/Xilinx/SDx/2017.1/target/aarch64-linux/include -I C:/Xilinx/SDx/2017.1/Vivado_HLS/include -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/6.2.1 -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/6.2.1/aarch64-linux-gnu -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/6.2.1/backward -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/lib/gcc/aarch64-linux-gnu/6.2.1/include -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/lib/gcc/aarch64-linux-gnu/6.2.1/include-fixed -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/libc/usr/include -std=c++11 -emit-llvm -S C:/Users/Miloslav/Projects/SDSoC/OF2_Cust/src/optical_flow_wrap.cpp -o C:/Users/Miloslav/Projects/SDSoC/OF2_Cust/Release/_sds/.llvm/src/optical_flow_wrap.s 

C:\Users\Miloslav\Projects\SDSoC\OF2_Cust\Release>exit /b 0 
Performing accelerator source linting for read_optflow_input
INFO: [Linting 83-3001] read_optflow_input
Performing accelerator source linting for w1_xFDenseNonPyrLKOpticalFlow
INFO: [Linting 83-3001] xFDenseNonPyrLKOpticalFlow<25,0,2160,3840,2>
Performing accelerator source linting for write_optflow_output
INFO: [Linting 83-3001] write_optflow_output
Performing pragma generation

C:\Users\Miloslav\Projects\SDSoC\OF2_Cust\Release>C:\Xilinx\SDx\2017.1\llvm-clang\win64\llvm\bin\clang.exe -E -IC:/Users/Miloslav/Projects/SDSoC/OF2_Cust/src -IC:/Users/Miloslav/Projects/SDSoC/OF2_Cust/src/include -IC:/Users/Miloslav/Projects/ZCU102/zcu102_es2_reVISION/sw/aarch64-linux-gnu/video_lib/include -IC:/Users/Miloslav/Projects/ZCU102/zcu102_es2_reVISION/sw/aarch64-linux-gnu/sysroot/usr/include/c++/6.2.1 -IC:/Users/Miloslav/Projects/ZCU102/zcu102_es2_reVISION/sw/aarch64-linux-gnu/sysroot/usr/include/c++/6.2.1/aarch64-xilinx-linux -IC:/Users/Miloslav/Projects/ZCU102/zcu102_es2_reVISION/sw/aarch64-linux-gnu/sysroot/usr/include/c++/6.2.1/backward -IC:/Users/Miloslav/Projects/ZCU102/zcu102_es2_reVISION/sw/aarch64-linux-gnu/sysroot/usr/include -IC:/Users/Miloslav/Projects/ZCU102/zcu102_es2_reVISION/sw/aarch64-linux-gnu/sysroot/usr/include/glib-2.0 -IC:/Users/Miloslav/Projects/ZCU102/zcu102_es2_reVISION/sw/aarch64-linux-gnu/sysroot/usr/lib/glib-2.0/include -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/6.2.1 -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/6.2.1/aarch64-linux-gnu -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/6.2.1/backward -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/lib/gcc/aarch64-linux-gnu/6.2.1/include -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/lib/gcc/aarch64-linux-gnu/6.2.1/include-fixed -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include -DPLATFORM_ZCU102 -DHLS_NO_XIL_FPO_LIB -DWITH_SDSOC -DSAMPLE_OPTICAL_FLOW -DOF_PIX_PER_CLOCK=2 -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 -MMD -MP -D __SDSCC__ -m64 -I C:/Users/Miloslav/Projects/ZCU102/zcu102_es2_reVISION/sw/aarch64-linux-gnu/video_lib/include -I C:/Xilinx/SDx/2017.1/target/aarch64-linux/include -IC:/Users/Miloslav/Projects/SDSoC/OF2_Cust/src -D __SDSVHLS__ -target aarch64-linux-gnu -mcpu=cortex-a53 -O0 -g -w -I C:/Users/Miloslav/Projects/ZCU102/zcu102_es2_reVISION/sw/aarch64-linux-gnu/video_lib/include -I C:/Xilinx/SDx/2017.1/target/aarch64-linux/include -I C:/Xilinx/SDx/2017.1/Vivado_HLS/include -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/6.2.1 -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/6.2.1/aarch64-linux-gnu -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/6.2.1/backward -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/lib/gcc/aarch64-linux-gnu/6.2.1/include -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/lib/gcc/aarch64-linux-gnu/6.2.1/include-fixed -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/libc/usr/include -std=c++11 C:/Users/Miloslav/Projects/SDSoC/OF2_Cust/src/optical_flow_wrap.cpp -o C:/Users/Miloslav/Projects/SDSoC/OF2_Cust/Release/_sds/vhls/optical_flow_wrap_pp.cpp 

C:\Users\Miloslav\Projects\SDSoC\OF2_Cust\Release>exit /b 0 
INFO: [PragmaGen 83-3231] Successfully generated tcl script: C:/Users/Miloslav/Projects/SDSoC/OF2_Cust/Release/_sds/vhls/read_optflow_input.tcl
Moving function read_optflow_input to Programmable Logic
Performing pragma generation

C:\Users\Miloslav\Projects\SDSoC\OF2_Cust\Release>C:\Xilinx\SDx\2017.1\llvm-clang\win64\llvm\bin\clang.exe -E -IC:/Users/Miloslav/Projects/SDSoC/OF2_Cust/src -IC:/Users/Miloslav/Projects/SDSoC/OF2_Cust/src/include -IC:/Users/Miloslav/Projects/ZCU102/zcu102_es2_reVISION/sw/aarch64-linux-gnu/video_lib/include -IC:/Users/Miloslav/Projects/ZCU102/zcu102_es2_reVISION/sw/aarch64-linux-gnu/sysroot/usr/include/c++/6.2.1 -IC:/Users/Miloslav/Projects/ZCU102/zcu102_es2_reVISION/sw/aarch64-linux-gnu/sysroot/usr/include/c++/6.2.1/aarch64-xilinx-linux -IC:/Users/Miloslav/Projects/ZCU102/zcu102_es2_reVISION/sw/aarch64-linux-gnu/sysroot/usr/include/c++/6.2.1/backward -IC:/Users/Miloslav/Projects/ZCU102/zcu102_es2_reVISION/sw/aarch64-linux-gnu/sysroot/usr/include -IC:/Users/Miloslav/Projects/ZCU102/zcu102_es2_reVISION/sw/aarch64-linux-gnu/sysroot/usr/include/glib-2.0 -IC:/Users/Miloslav/Projects/ZCU102/zcu102_es2_reVISION/sw/aarch64-linux-gnu/sysroot/usr/lib/glib-2.0/include -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/6.2.1 -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/6.2.1/aarch64-linux-gnu -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/6.2.1/backward -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/lib/gcc/aarch64-linux-gnu/6.2.1/include -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/lib/gcc/aarch64-linux-gnu/6.2.1/include-fixed -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include -DPLATFORM_ZCU102 -DHLS_NO_XIL_FPO_LIB -DWITH_SDSOC -DSAMPLE_OPTICAL_FLOW -DOF_PIX_PER_CLOCK=2 -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 -MMD -MP -D __SDSCC__ -m64 -I C:/Users/Miloslav/Projects/ZCU102/zcu102_es2_reVISION/sw/aarch64-linux-gnu/video_lib/include -I C:/Xilinx/SDx/2017.1/target/aarch64-linux/include -IC:/Users/Miloslav/Projects/SDSoC/OF2_Cust/src -D __SDSVHLS__ -target aarch64-linux-gnu -mcpu=cortex-a53 -O0 -g -w -I C:/Users/Miloslav/Projects/ZCU102/zcu102_es2_reVISION/sw/aarch64-linux-gnu/video_lib/include -I C:/Xilinx/SDx/2017.1/target/aarch64-linux/include -I C:/Xilinx/SDx/2017.1/Vivado_HLS/include -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/6.2.1 -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/6.2.1/aarch64-linux-gnu -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include/c++/6.2.1/backward -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/lib/gcc/aarch64-linux-gnu/6.2.1/include -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/lib/gcc/aarch64-linux-gnu/6.2.1/include-fixed -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/include -IC:/Xilinx/SDx/2017.1/SDK/gnu/aarch64/nt/aarch64-linux/aarch64-linux-gnu/libc/usr/include -std=c++11 C:/Users/Miloslav/Projects/SDSoC/OF2_Cust/src/optical_flow_wrap.cpp -o C:/Users/Miloslav/Projects/SDSoC/OF2_Cust/Release/_sds/vhls/optical_flow_wrap_pp.cpp 

C:\Users\Miloslav\Projects\SDSoC\OF2_Cust\Release>exit /b 0 
INFO: [PragmaGen 83-3231] Successfully generated tcl script: C:/Users/Miloslav/Projects/SDSoC/OF2_Cust/Release/_sds/vhls/w1_xFDenseNonPyrLKOpticalFlow.tcl
Moving function w1_xFDenseNonPyrLKOpticalFlow to Programmable Logic
ERROR: [SdsCompiler 83-5031] Problem detected in Vivado HLS run - unable to find solution implementation directory for w1_xFDenseNonPyrLKOpticalFlow C:/Users/Miloslav/Projects/SDSoC/OF2_Cust/Release/_sds/vhls/w1_xFDenseNonPyrLKOpticalFlow/solution/impl/ip. For possible causes, review C:/Users/Miloslav/Projects/SDSoC/OF2_Cust/Release/_sds/vhls/w1_xFDenseNonPyrLKOpticalFlow/solution/solution.log or C:/Users/Miloslav/Projects/SDSoC/OF2_Cust/Release/_sds/vhls/vivado_hls.log.
C:/Users/Miloslav/Projects/SDSoC/OF2_Cust/Release/_sds/vhls/vivado_hls.log (last 20 lines):
INFO: [XFORM 203-102] Partitioning array 'lb2.data.6' in dimension 2 automatically.
INFO: [XFORM 203-102] Partitioning array 'lb2.data.7' in dimension 2 automatically.
INFO: [XFORM 203-102] Partitioning array 'lb2.data.8' in dimension 2 automatically.
INFO: [XFORM 203-102] Partitioning array 'lb2.data.9' in dimension 2 automatically.
INFO: [XFORM 203-102] Partitioning array 'lb2.data.10' in dimension 2 automatically.
INFO: [XFORM 203-102] Partitioning array 'lb2.data.11' in dimension 2 automatically.
INFO: [XFORM 203-102] Partitioning array 'lb2.data.12' in dimension 2 automatically.
INFO: [XFORM 203-102] Partitioning array 'lb2.data.13' in dimension 2 automatically.
INFO: [XFORM 203-102] Partitioning array 'lb2.data.14' in dimension 2 automatically.
INFO: [XFORM 203-102] Partitioning array 'lb2.data.15' in dimension 2 automatically.
INFO: [XFORM 203-102] Partitioning array 'lb2.data.16' in dimension 2 automatically.
INFO: [XFORM 203-102] Partitioning array 'lb2.data.17' in dimension 2 automatically.
INFO: [XFORM 203-102] Partitioning array 'lb2.data.18' in dimension 2 automatically.
INFO: [XFORM 203-102] Partitioning array 'lb2.data.19' in dimension 2 automatically.
INFO: [XFORM 203-102] Partitioning array 'lb2.data.20' in dimension 2 automatically.
INFO: [XFORM 203-102] Partitioning array 'lb2.data.21' in dimension 2 automatically.
INFO: [XFORM 203-102] Partitioning array 'lb2.data.22' in dimension 2 automatically.
INFO: [XFORM 203-102] Partitioning array 'lb2.data.23' in dimension 2 automatically.
INFO: [XFORM 203-102] Partitioning array 'lb2.data.24' in dimension 2 automatically.
INFO: [XFORM 203-102] Partitioning array 'lb2.data.25' in dimension 2 automatically.
sds++ log file saved as C:/Users/Miloslav/Projects/SDSoC/OF2_Cust/Release/_sds/reports/sds_optical_flow_wrap.log
ERROR: [SdsCompiler 83-5004] Build failed

make: *** [src/optical_flow_wrap.o] Error 1

12:30:35 Build Finished (took 4m:23s.409ms)

 

Tags (3)
0 Kudos
1 Solution

Accepted Solutions
Visitor med_neggaz
Visitor
2,461 Views
Registered: ‎04-25-2017

Re: SDSoC Cannot finish HLS Synthetisis

Jump to solution

Appearently, re-running the project after cleaning is the only solution as mentioned in the guide:

http://www.wiki.xilinx.com/x8%20Other%20Information-8.1%20Known%20Issues

 

8 Other Information

 

8.1 Known Issues

 

  • SDSoC accelerator code runs very slowly in pure software implementation when Debug configuration is used.
    Solution: Set project build configurations to Release which sets sdsoc compiler to optimize most (-O3).
  • When building the optical_flow sample app, you will see a number of warnings, such as: "WARNING: [SDSoC 0-0] No size pragma specified for pointer argument f0Stream".
    Solution: These can be ignored.
  • SDSoC reports the design did no meet timing constraints when running under Windows.
    Solution: Clean the project and build it again.

View solution in original post

0 Kudos
2 Replies
Visitor med_neggaz
Visitor
1,587 Views
Registered: ‎04-25-2017

Re: SDSoC Cannot finish HLS Synthetisis

Jump to solution

I took the solution file created by SDS and opened it in HLS.

 

Interrestingly, the C Synthesis did the same thing and stopped at the same level.

 

Without touching ANYTHING, ABSOLUTELY ANYTHING, the synthesis finished correctly and I think I can generate the IP.

 

This is the result from HLS.

0 Kudos
Visitor med_neggaz
Visitor
2,462 Views
Registered: ‎04-25-2017

Re: SDSoC Cannot finish HLS Synthetisis

Jump to solution

Appearently, re-running the project after cleaning is the only solution as mentioned in the guide:

http://www.wiki.xilinx.com/x8%20Other%20Information-8.1%20Known%20Issues

 

8 Other Information

 

8.1 Known Issues

 

  • SDSoC accelerator code runs very slowly in pure software implementation when Debug configuration is used.
    Solution: Set project build configurations to Release which sets sdsoc compiler to optimize most (-O3).
  • When building the optical_flow sample app, you will see a number of warnings, such as: "WARNING: [SDSoC 0-0] No size pragma specified for pointer argument f0Stream".
    Solution: These can be ignored.
  • SDSoC reports the design did no meet timing constraints when running under Windows.
    Solution: Clean the project and build it again.

View solution in original post

0 Kudos