From 6c54b8692fcf7827c82abe19ead74d8a0638d6ee Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 18 Sep 2021 16:05:09 +0100 Subject: [PATCH] always store full memory state (including zeros) --- src/soc/simple/test/teststate.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 2.30.2