Yet another Verilator shift bug #763
Closed
Labels
Comments
|
Original Redmine Comment Bad optimization, it thought this was same as (a >> (2'b11 + 2'b1)). Fixed in git towards 3.857. |
|
Original Redmine Comment In 3.860. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Author Name: Clifford Wolf (@cliffordwolf)
Original Redmine Issue: 763 from https://www.veripool.org
Original Date: 2014-05-10
Original Assignee: Wilson Snyder (@wsnyder)
This should effectively be y=0, but verilator 1f56312 evaluates y=a instead.
Self-contained test case:
http://svn.clifford.at/handicraft/2014/verilatortest/test012.v
http://svn.clifford.at/handicraft/2014/verilatortest/test012.cc
http://svn.clifford.at/handicraft/2014/verilatortest/test012.sh
The text was updated successfully, but these errors were encountered: