add LDSTException class to LDSTOutputData
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 4 May 2021 12:35:54 +0000 (13:35 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 4 May 2021 12:35:54 +0000 (13:35 +0100)
src/soc/fu/ldst/pipe_data.py

index f356ab00a8885bb8196770de4c9e048148476129..0c374d095de73810c284d9d72b19bef890ddb7e1 100644 (file)
@@ -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