sim._pyrtl: sign extend RHS of assignment.
authorwhitequark <whitequark@whitequark.org>
Thu, 22 Oct 2020 16:08:38 +0000 (16:08 +0000)
committerwhitequark <whitequark@whitequark.org>
Thu, 22 Oct 2020 16:08:38 +0000 (16:08 +0000)
commitdf70aae887e6e3a06df0044b419eb40674543c18
treecf48b6c6cd4d596637ec610a08aee5e03deb6085
parent9d62cbefa5894c9bce8a0025ce8ab0ae12873937
sim._pyrtl: sign extend RHS of assignment.

Fixes #502.
nmigen/sim/_pyrtl.py
tests/test_sim.py