Unused signal not output in trace for cover mode #2959
Unanswered
RobertBaruch
asked this question in
Q&A
Replies: 1 comment
-
|
The problem is that almost all Yosys scripts (even the core built in ones like |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Two Verilog sources, one,
test_case_good.vports out a signalunf, while the other,test_case_bad.vdoes not. Otherwise, the logic is the same. Running a cover pass on these files passes, but looking at the traces, the vcd file fortest_case_good.vshows theunfsignal, while fortest_case_bad.vdoes not containunfat all! This is inconvenient, especially when signals are buried two or three modules deep and are unused, but are needed for debugging.test_case.zip
Here is the diff between the sources where right=good, left=bad:
See also: nmigen original report
Steps to reproduce the issue
test_case_badintest_case.sby.sby -f test_case.sby.test_case_cover/engine_0/trace0.vcd.unfis not present.test_case_good.unfis present.Expected behavior
The
unfsignal is present in the trace provided viatest_case_bad.Actual behavior
The
unfsignal is not present in the trace provided viatest_case_bad.Beta Was this translation helpful? Give feedback.
All reactions