From c84cdaad07bd65dd3b887ff7172e5987561350fa Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 15 Jul 2021 13:51:49 +0100 Subject: [PATCH] update TestRunner, SVSTATE is now a class that inherits from SelectableInt rather than *contains* a SelectableInt --- src/soc/simple/test/test_runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/soc/simple/test/test_runner.py b/src/soc/simple/test/test_runner.py index 180474e1..fee84617 100644 --- a/src/soc/simple/test/test_runner.py +++ b/src/soc/simple/test/test_runner.py @@ -240,7 +240,7 @@ class TestRunner(FHDLTestCase): initial_svstate = test.svstate if isinstance(initial_svstate, int): initial_svstate = SVP64State(initial_svstate) - yield svstate_i.eq(initial_svstate.spr.value) + yield svstate_i.eq(initial_svstate.value) yield issuer.svstate_i.ok.eq(1) yield -- 2.30.2