back.rtlil: always initialize the entire memory.
authorwhitequark <cz@m-labs.hk>
Sat, 22 Dec 2018 05:27:42 +0000 (05:27 +0000)
committerwhitequark <cz@m-labs.hk>
Sat, 22 Dec 2018 05:27:42 +0000 (05:27 +0000)
commitcf8b9de08ea40e42f23374807690775cd2aa776d
tree7f4fb2ddbf6c990c1a4f93932bbead895ac5c1be
parent0b8f3c0a0cfc2ae9fe4f255f89235349af0344a6
back.rtlil: always initialize the entire memory.

This avoids reading 'x from the memory in simulation. In general,
FPGA memories can only be initialized in block granularity, and
zero-initializing is cheap, so this is not a significant issue with
resource consumption.
nmigen/back/rtlil.py