From: Luke Kenneth Casson Leighton Date: Sat, 18 Sep 2021 15:05:09 +0000 (+0100) Subject: always store full memory state (including zeros) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6c54b8692fcf7827c82abe19ead74d8a0638d6ee;p=soc.git always store full memory state (including zeros) --- diff --git a/src/soc/simple/test/teststate.py b/src/soc/simple/test/teststate.py index 3b7eeb20..7375cfec 100644 --- a/src/soc/simple/test/teststate.py +++ b/src/soc/simple/test/teststate.py @@ -59,8 +59,7 @@ class HDLState(State): self.mem = [] for i in range(hdlmem.depth): value = yield hdlmem._array[i] - if value != 0: # for comparison purposes - self.mem.append(((i*8), value)) + self.mem.append(((i*8), value)) # add to State Factory