[Libre-soc-bugs] [Bug 513] nmutil.extend.exts not being used in modsw

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Tue Oct 6 13:57:48 BST 2020


https://bugs.libre-soc.org/show_bug.cgi?id=513

Jacob Lifshay <programmerjake at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|CONFIRMED                   |RESOLVED

--- Comment #2 from Jacob Lifshay <programmerjake at gmail.com> ---
nmigen totally can sign extend if the lhs of an assignment is a signed Signal,
the workaround I previously added passes the tests:
https://git.libre-soc.org/?p=soc.git;a=commitdiff;h=18a56dd9d9b2c1566b460aacb0d9679bac3e4ccf

nmigen's bug was using the lhs signedness instead of the rhs signedness to
decide if it should sign or zero extend.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list