`clk` signal not respecting cycle length
Closed this issue · 4 comments
On the current improve-comb-prop
branch, when I generated the vcd waveform for the failing test case tests/correctness/invoke-memory.futil
, it showed the waveform below:
where the clk signal continuously oscillated up and down instead of respecting the cycle length.
The command I ran is fud exec tests/correctness/invoke-memory.futil -o out1.vcd -s verilog.data tests/correctness/invoke-memory.futil.data --from calyx -s verilog.cycle_limit 500
.
When I zoom in, I get the expected waveform. Can you explain what you mean by "signal continuously oscillated up and down instead of respecting the cycle length"?
Okay, so the design is just running for longer which means that the done
condition is optimized away in a way that makes it wrong. This doesn't have anything to do with the clk
signal which is pulsing as it is meant to.
@paili0628 I'm going to close this. Let us know if you're running into similar problems.