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.v
ports out a signalunf
, while the other,test_case_bad.v
does 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.v
shows theunf
signal, while fortest_case_bad.v
does not containunf
at 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_bad
intest_case.sby
.sby -f test_case.sby
.test_case_cover/engine_0/trace0.vcd
.unf
is not present.test_case_good
.unf
is present.Expected behavior
The
unf
signal is present in the trace provided viatest_case_bad
.Actual behavior
The
unf
signal is not present in the trace provided viatest_case_bad
.Beta Was this translation helpful? Give feedback.
All reactions