From: Luke Kenneth Casson Leighton Date: Tue, 4 May 2021 12:35:54 +0000 (+0100) Subject: add LDSTException class to LDSTOutputData X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=68fb6b858b7cabc4fbc2b7c66be409aa391c8153;p=soc.git add LDSTException class to LDSTOutputData --- diff --git a/src/soc/fu/ldst/pipe_data.py b/src/soc/fu/ldst/pipe_data.py index f356ab00..0c374d09 100644 --- a/src/soc/fu/ldst/pipe_data.py +++ b/src/soc/fu/ldst/pipe_data.py @@ -1,5 +1,6 @@ from soc.fu.ldst.ldst_input_record import CompLDSTOpSubset from soc.fu.pipe_data import FUBaseData, CommonPipeSpec +from openpower.exceptions import LDSTException class LDSTInputData(FUBaseData): @@ -21,7 +22,7 @@ class LDSTOutputData(FUBaseData): # TODO, later ('XER', 'xer_so', '32') ] def __init__(self, pspec): - super().__init__(pspec, True) + super().__init__(pspec, True, LDSTException) # convenience self.cr0, self.ea = self.cr_a, self.o1