back.rtlil: explicitly pad constants with zeroes.
authorwhitequark <cz@m-labs.hk>
Fri, 21 Dec 2018 01:51:18 +0000 (01:51 +0000)
committerwhitequark <cz@m-labs.hk>
Fri, 21 Dec 2018 01:51:18 +0000 (01:51 +0000)
commit198050c59bf07c3b0369325bcdcb7a4b7cc9b84d
treec755e9b9c33cef01c97bbe0c81d52b7401976fa2
parenteb0d036f1dbbf87d98ecf4e070c5259a79827d73
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