ice40: Fix SPRAM model to keep data stable if chipselect is low
authorSylvain Munaut <tnt@246tNt.com>
Sat, 14 Mar 2020 20:01:42 +0000 (21:01 +0100)
committerSylvain Munaut <tnt@246tNt.com>
Sat, 14 Mar 2020 20:01:42 +0000 (21:01 +0100)
commitacd9eeef7c85f1bd72f42d86bb634769556a04c6
treebc17453fc9765b02c53dbc4a2fcc8aef55fafb7a
parentacb341745d436987ad764c9198ff0c6ab63c572c
ice40: Fix SPRAM model to keep data stable if chipselect is low

According to the official simulation model, and also cross-checked
on real hardware, the data output of the SPRAM when chipselect is
low is kept stable. It doesn't go undefined.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
techlibs/ice40/cells_sim.v