grr not a yield function
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 14 Aug 2022 21:09:13 +0000 (22:09 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 14 Aug 2022 21:09:13 +0000 (22:09 +0100)
src/soc/simple/test/teststate.py

index f95370d0c984f68f77de51d5bfc5e11b60b6a892..cc62c5da4b4cceb3990c13e1476da72f1f96a8bf 100644 (file)
@@ -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)