From 70990ae313758c8c88ebeddc1b3f7c8a6f624019 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 24 Jan 2022 21:42:24 +0000 Subject: [PATCH] blech, add horrible hack: a length parameter to LDSTException --- src/openpower/exceptions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/openpower/exceptions.py b/src/openpower/exceptions.py index bbc6a9a9..0fdae436 100644 --- a/src/openpower/exceptions.py +++ b/src/openpower/exceptions.py @@ -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! -- 2.30.2