back.rtlil: explicitly pad constants with zeroes.
authorwhitequark <whitequark@whitequark.org>
Fri, 21 Dec 2018 01:51:18 +0000 (01:51 +0000)
committerwhitequark <whitequark@whitequark.org>
Fri, 21 Dec 2018 01:51:18 +0000 (01:51 +0000)
commit6672ab2e3fd78d539c0efe1f13f301d5ce0aee3e
treec755e9b9c33cef01c97bbe0c81d52b7401976fa2
parent221f108fbea34df4f0b005a8ef4fb4905a34f895
back.rtlil: explicitly pad constants with zeroes.

I'm not sure what exactly RTLIL does when a constant isn't as long
as its bit width, and there's no reason to keep the ambiguity.
nmigen/back/rtlil.py