From: Luke Kenneth Casson Leighton Date: Mon, 24 Jan 2022 21:42:24 +0000 (+0000) Subject: blech, add horrible hack: a length parameter to LDSTException X-Git-Tag: sv_maxu_works-initial~534 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=70990ae313758c8c88ebeddc1b3f7c8a6f624019;p=openpower-isa.git blech, add horrible hack: a length parameter to LDSTException --- 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!