cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
sravantyk
Visitor
Visitor
84 Views
Registered: ‎06-28-2020

Executing Vitis Vision Example Canny on Hardware using Vitis IDE flow

Hi Everyone, 

We are trying to execute 2 different kernels like (canny and edge_tracing kernels) on a ZYNQ-7045 SoC based development board. The Software tools used are Vitis IDE, Vivado and Petalinux all of them v2020.2. 

 

We are calling 2 kernels separately into the kernel space and linking them in a single binary container as seen in the below screen shots. 

 

But when the project is given to build it is returning errors as follows, 

Description Resource Path Location Type
make: *** [makefile:40: package] Error 1 Hardware /canny_app_system C/C++ Problem
make: *** [makefile:66: build/edgetracing_accel.xo] Error 1 Hardware /canny_app_kernels C/C++ Problem
make: *** No rule to make target '../../canny_app_kernels/Hardware/build/edgetracing_accel.xo', needed by 'binary_container_1.xclbin'. Stop. Hardware /canny_app_system_hw_link C/C++ Problem
make: *** Waiting for unfinished jobs.... Hardware /canny_app_kernels C/C++ Problem
v++ 207-3332: type 'hls::stream<DATATYPE, 2>' (aka 'stream<ap_uint<64>, 2>') does not provide a subscript operator: /home/panacea/Software/Xilinx_Zip_sources/Vitis_Libraries/vision/L1/include/common/xf_structs.hpp:798:21 Hardware /canny_app_kernels C/C++ Problem
v++ 60-300: Failed to build kernel(ip) edgetracing_accel, see log for details: /media/panacea/externalEXT4/custom_pkg_z7045/pfm/2kernelwksp/canny_app_kernels/Hardware/build/edgetracing_accel/edgetracing_accel/vitis_hls.log Hardware /canny_app_kernels C/C++ Problem
v++ 60-592: Failed to finish compilation Hardware /canny_app_kernels C/C++ Problem
v++ 60-599: Kernel compilation failed to complete Hardware /canny_app_kernels C/C++ Problem
v++ 60-773] In '/media/panacea/externalEXT4/custom_pkg_z7045/pfm/2kernelwksp/canny_app_kernels/Hardware/build/edgetracing_accel/edgetracing_accel/vitis_hls.log', caught Tcl error: ERROR: [HLS 207-3332: type 'hls::stream<DATATYPE, 2>' (aka 'stream<ap_uint<64>, 2>') does not provide a subscript operator: /home/panacea/Software/Xilinx_Zip_sources/Vitis_Libraries/vision/L1/include/common/xf_structs.hpp:798:21 Hardware /canny_app_kernels C/C++ Problem

 

Should we combine the kernel programs or is there any more further linking parameter/directive to be given in the Vitis IDE tool to execute the canny code?

canny_source.png
canny_binary_controller.png
0 Kudos
0 Replies