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)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 31 Dec 2021 13:27:00 +0000 (13:27 +0000)
commit7c3f7b46a6b0af56aedd5fbed7552cda0d9777da
tree66530f69a833c2a237c183b506bbe6a7784240f2
parent0896a3e786a123cad96d25630812eea11055c493
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