From dc2edee0426dce0c73852159e67192a56336e825 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 14 Aug 2022 22:09:13 +0100 Subject: [PATCH] grr not a yield function --- src/soc/simple/test/teststate.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/soc/simple/test/teststate.py b/src/soc/simple/test/teststate.py index f95370d0..cc62c5da 100644 --- a/src/soc/simple/test/teststate.py +++ b/src/soc/simple/test/teststate.py @@ -20,6 +20,8 @@ class HDLState(State): self.core = core def get_fpregs(self): + if False: + yield self.fpregs = [] for i in range(32): self.fpregs.append(0) -- 2.30.2