You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pop_back isn't correctly seen by verilator as using the queue, it only changes the queue, so Verilator removes q as it thinks it is unused. Will need some refactoring to fix this, so stay tuned.
Meanwhile, as a workaround for the moment, use
$display("Failed %d", q.size);
wsnyder
changed the title
Queue poping wrong value initially
Queue poping wrong value when otherwise unused
Nov 7, 2020
Thanks for taking the time to report this.
Can you attach an example that shows the issue? (Must be openly licensed, ideally in test_regress format.)
queue_test.tar.gz
Test
Output
What 'verilator --version' are you using? Did you try it with the git master version?
verilator version :
Verilator 4.040 2020-08-15 rev v4.040-9-gc4f7bd6
Would you be willing to try to fix Verilator yourself with assistance?
yes
The text was updated successfully, but these errors were encountered: