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
We cannot truncate the shift amount because an over large shift amount
should produce all zeros/sign in a dshr. This merges together and
unifies the code with divide which had similar logic.
Also add verification that the RHS of a shift is unsigned.
This fixes issue #367 and #366.
The following FIRRTL program
Compiled with
firtool --lower-to-rtl
produces this Verilog:Compiled with
firrtl-1.4.0
produces this Verilog:Yosys (Yosys 0.9+3755 (git sha1 442d19f6, clang 11.0.0 -fPIC -Os)) reports formal mismatch:
The text was updated successfully, but these errors were encountered: