From 68fb6b858b7cabc4fbc2b7c66be409aa391c8153 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Tue, 4 May 2021 13:35:54 +0100 Subject: [PATCH] add LDSTException class to LDSTOutputData --- src/soc/fu/ldst/pipe_data.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.30.2