From fc0f99a9398cf638c509bd68d1533d1dd701268d Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 21 Jan 2022 00:11:53 +0000 Subject: [PATCH] whoops fix bug in setting of DEC/TB (State) in test_core.py --- src/soc/simple/test/test_core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/soc/simple/test/test_core.py b/src/soc/simple/test/test_core.py index 73718f27..5d6bebc5 100644 --- a/src/soc/simple/test/test_core.py +++ b/src/soc/simple/test/test_core.py @@ -173,7 +173,7 @@ def setup_regs(pdecode2, core, test): print("setting state reg %d (%s) to %x" % (state, sprname, val)) if stateregs.unary: - rval = stateregs.int.regs[state].reg + rval = stateregs.regs[state].reg else: rval = stateregs.memory._array[state] yield rval.eq(val) -- 2.30.2