-
Notifications
You must be signed in to change notification settings - Fork 633
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
"V3TSP.cpp:353: No unmarked edges found in tour" during verilation #5756
Comments
I haven't seen that before. That the issue seems unpredictable and changes between systems suggests two primary possibilities:
You can try to use sv-bugpoint to reduce code to make an example, however as your problem is unpredictable you'll need to run multiple runs for every experiment to avoid it getting confused. -Wilson |
Moving from I made some further experiments (on the 16core/32threads CPU): Anyway, the problem ist solved. Thank you very much for your support! |
Good, but there's still a bug hiding in the code with --verilate-jobs; might you be able to use sv-bugpoint to reduce to a test case? |
Sure, I will try but need some time. Possibly the problem depends on the size of the RTL design? Because this is the biggest design I used in Verilator so far. I will test -j 0 with smaller designs as well and look into sv-bugpoint. |
Verilator 5.032 2025-01-01 rev v5.032
Ubuntu 22.04.5 LTS
AMD Ryzen 5/32GB, AMD Ryzen9/64GB
When verilating a quite complex design (multicore RISC-V SoC), I get the following error:
/opt/eda/verilator/stable/bin/verilator --trace --trace-fst --trace-structs --trace-max-array 128 --trace-threads 2 --threads 16 --clk clk_i --no-timing --Wno-UNOPTTHREADS --Wno-REALCVT --Wno-ASCRANGE --Wno-WIDTHTRUNC --Wno-WIDTHEXPAND --Wno-WIDTHCONCAT --Wno-UNOPTFLAT --Wno-TIMESCALEMOD --Wno-ENUMVALUE --Wno-LATCH --Wno-CASEINCOMPLETE --Wno-MULTIDRIVEN --Wno-CMPCONST --Wno-UNSIGNED --Wno-STMTDLY --Wno-ALWCOMBORDER --Wno-BLKANDNBLK --j 0 -O1 -cc -f ../../../../hw/toplevel/file_list/top_verilator_flist.f --top-module bc64_harness --exe tb_bc64_harness.cpp
%Error: Internal Error: ../V3TSP.cpp:353: No unmarked edges found in tour
... See the manual at https://verilator.org/verilator_doc.html for more assistance.
On machine 1 the error occurs every time, no verilation possible. On machine 2 (same OS), the error occurs also every time, but when starting verilation again, it works. Sometimes but rarely it requires 3 attempts.
The error occurred suddenly, maybe after an update of someting in Ubuntu. I have compiled the same design many times before on the same machines.
I don't have any idea what causes this problem, and I can't boil it down to a certain piece of the RTL code and can't find anything in the documenation.
Any ideas where to start?
The text was updated successfully, but these errors were encountered: