From: Luke Kenneth Casson Leighton Date: Sun, 14 Aug 2022 21:09:13 +0000 (+0100) Subject: grr not a yield function X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dc2edee0426dce0c73852159e67192a56336e825;p=soc.git grr not a yield function --- 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)