blech, add horrible hack: a length parameter to LDSTException
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 24 Jan 2022 21:42:24 +0000 (21:42 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 24 Jan 2022 21:42:24 +0000 (21:42 +0000)
src/openpower/exceptions.py

index bbc6a9a933142c1eec63f78b1d183f26171b4c62..0fdae4362776e96ee5d37d64c987998e831e5558 100644 (file)
@@ -26,3 +26,4 @@ class LDSTException(RecordObject):
         for f in self._exc_types:
             setattr(self, f, Signal(name=f))
         srr1 = Signal(64)
+    length = len(exc_types) + 64 # update this if adding anything else!