sim._pyrtl: fix miscompilation of -(Const(0b11, 2).as_signed()).
authorwhitequark <whitequark@whitequark.org>
Wed, 26 Aug 2020 04:15:26 +0000 (04:15 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 31 Dec 2021 15:05:54 +0000 (15:05 +0000)
commit593e95e327889159af17794737435e7f81f737e7
tree33a7685f3652d984d792fb68c6e016841f3931cd
parent1388c17664f8259d80c262e7ff8f96ae1f8ccebb
sim._pyrtl: fix miscompilation of -(Const(0b11, 2).as_signed()).

Fixes #473.
nmigen/sim/_pyrtl.py
nmigen/test/test_sim.py