back.rtlil: mask memory init values.
authorwhitequark <whitequark@whitequark.org>
Tue, 11 Jun 2019 03:43:09 +0000 (03:43 +0000)
committerwhitequark <whitequark@whitequark.org>
Tue, 11 Jun 2019 03:43:09 +0000 (03:43 +0000)
commitd2d8c2b8bf1bfdba2321615947a829c59ae3929c
tree3f0c2de714140f835d2837ae6903dee43f5fc6ad
parent58e39f90ce43568694d452ff62ed3a9a8b375107
back.rtlil: mask memory init values.

This handles both init values that are too wide, which happens if
their magnitude is too high, or if they're negative.

Fixes #96.
nmigen/back/rtlil.py