back.rtlil: fix expansion of Part() for partial dummy writes.
authorwhitequark <whitequark@whitequark.org>
Mon, 13 Apr 2020 15:56:39 +0000 (15:56 +0000)
committerwhitequark <whitequark@whitequark.org>
Mon, 13 Apr 2020 15:56:39 +0000 (15:56 +0000)
commit814ffde6fbf38598c7db31dbea1414d6d5624ecb
tree66530f69a833c2a237c183b506bbe6a7784240f2
parentedd2bb2c49b772df582217f2e49ec08054816e68
back.rtlil: fix expansion of Part() for partial dummy writes.

Before this commit, selecting a part that was fully out of bounds of
a value was correctly implemented as a write to a dummy wire, but
selecting a part that was only partially out of bounds resulted in
a crash.

Fixes #351.
nmigen/back/rtlil.py