Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR in C/RTL simulation #3

Open
kayalvizhimuthu opened this issue Sep 25, 2019 · 3 comments
Open

ERROR in C/RTL simulation #3

kayalvizhimuthu opened this issue Sep 25, 2019 · 3 comments

Comments

@kayalvizhimuthu
Copy link

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
Copy link

Did u find out how to solve this?

@kayalvizhimuthu
Copy link
Author

No

@shz0209
Copy link

shz0209 commented Dec 10, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants