medalotte / HLS-canny-edge-detection

FPGA implementation of Canny edge detection by using Vivado HLS
MIT License
47 stars 15 forks source link

ERROR in C/RTL simulation #3

Open kayalvizhimuthu opened 5 years ago

kayalvizhimuthu commented 5 years ago

canny_edge_detection algorithm simulation and synthesis run without error but c/RTL simulation shows error Starting C/RTL cosimulation ... C:/Vivado/2019.1/bin/vivado_hls.bat C:/Users/Admin/AppData/Roaming/Xilinx/Vivado/edgedetection/solution1/cosim.tcl INFO: [HLS 200-10] Running 'C:/Vivado/2019.1/bin/unwrapped/win64.o/vivado_hls.exe' INFO: [HLS 200-10] For user 'Admin' on host 'desktop-tol8fem' (Windows NT_amd64 version 6.2) on Wed Sep 25 10:36:21 +0530 2019 INFO: [HLS 200-10] In directory 'C:/Users/Admin/AppData/Roaming/Xilinx/Vivado' Sourcing Tcl script 'C:/Users/Admin/AppData/Roaming/Xilinx/Vivado/edgedetection/solution1/cosim.tcl' INFO: [HLS 200-10] Opening project 'C:/Users/Admin/AppData/Roaming/Xilinx/Vivado/edgedetection'. INFO: [HLS 200-10] Opening solution 'C:/Users/Admin/AppData/Roaming/Xilinx/Vivado/edgedetection/solution1'. INFO: [SYN 201-201] Setting up clock 'default' with a period of 10ns. INFO: [HLS 200-10] Setting target device to 'xc7z020-clg400-1' ERROR: [COSIM 212-345] Cosim only supports the following 'ap_ctrl_none' designs: (1) combinational designs; (2) pipelined design with task inteveral of 1; (3) designs with array streaming or hls_stream or AXI4 stream ports. ERROR: [COSIM 212-5] C/RTL co-simulation file generation failed. command 'ap_source' returned error code while executing "source C:/Users/Admin/AppData/Roaming/Xilinx/Vivado/edgedetection/solution1/cosim.tcl" invoked from within "hls::main C:/Users/Admin/AppData/Roaming/Xilinx/Vivado/edgedetection/solution1/cosim.tcl" ("uplevel" body line 1) invoked from within "uplevel 1 hls::main {*}$args" (procedure "hls_proc" line 5) invoked from within "hls_proc $argv" Finished C/RTL cosimulation. how to resolve this?

amiteshnagarkar commented 3 years ago

Did u find out how to solve this?

kayalvizhimuthu commented 3 years ago

No

shz0209 commented 10 months ago

Starting C/RTL cosimulation ... D:/Vivado/Vivado/2018.3/bin/vivado_hls.bat C:/Users/29217/Desktop/HLS-canny/solution1/cosim.tcl INFO: [HLS 200-10] Running 'D:/Vivado/Vivado/2018.3/bin/unwrapped/win64.o/vivado_hls.exe' INFO: [HLS 200-10] For user '29217' on host 'shz' (Windows NT_amd64 version 6.2) on Sun Dec 10 17:36:21 +0800 2023 INFO: [HLS 200-10] In directory 'C:/Users/29217/Desktop' INFO: [HLS 200-10] Opening project 'C:/Users/29217/Desktop/HLS-canny'. INFO: [HLS 200-10] Opening solution 'C:/Users/29217/Desktop/HLS-canny/solution1'. INFO: [SYN 201-201] Setting up clock 'default' with a period of 10ns. INFO: [HLS 200-10] Setting target device to 'xc7z020clg400-2' ERROR: [COSIM 212-345] Cosim only supports the following 'ap_ctrl_none' designs: (1) combinational designs; (2) pipelined design with task inteveral of 1; (3) designs with array streaming or hls_stream or AXI4 stream ports. command 'ap_source' returned error code while executing "source C:/Users/29217/Desktop/HLS-canny/solution1/cosim.tcl" invoked from within "hls::main C:/Users/29217/Desktop/HLS-canny/solution1/cosim.tcl" ("uplevel" body line 1) invoked from within "uplevel 1 hls::main {*}$args" (procedure "hls_proc" line 5) invoked from within "hls_proc $argv" Finished C/RTL cosimulation. I have the same question , are u solve this now?