From: Luke Kenneth Casson Leighton Date: Thu, 15 Jul 2021 12:51:49 +0000 (+0100) Subject: update TestRunner, SVSTATE is now a class that inherits from SelectableInt X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c84cdaad07bd65dd3b887ff7172e5987561350fa;p=soc.git update TestRunner, SVSTATE is now a class that inherits from SelectableInt rather than *contains* a SelectableInt --- 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