Another strange icarus expression eval bug (large shifts) #22
Comments
|
I can't reproduce this. The following test
outputs "0010", which seems right. What values of 'a' and 'b' are you using? |
|
Now this is funny... The following code (based on your test bench) outputs "11 111 0011":
But the following outputs "11 111 1111":
|
|
Turns out it is sensitive to the order you assign to a and b. So
is OK but
causes it to fail. |
|
Blame this on my fix for large shifts at run-time. Should be fixed now. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For
b != 0this should returny[3:2] == 0.But iverilog 020e280 returns
y[3:2] == y[1:0]instead.The text was updated successfully, but these errors were encountered: