From: Luke Kenneth Casson Leighton Date: Tue, 4 May 2021 12:48:37 +0000 (+0100) Subject: move "happened" field to end of LDSTException X-Git-Tag: 0.0.3~95 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=38de02ff9f52ad4de3de25b8171e5a05390a38ad;p=openpower-isa.git move "happened" field to end of LDSTException --- diff --git a/src/openpower/exceptions.py b/src/openpower/exceptions.py index a0fc9a7f..e648ba1f 100644 --- a/src/openpower/exceptions.py +++ b/src/openpower/exceptions.py @@ -5,8 +5,9 @@ from nmigen import Signal # https://bugs.libre-soc.org/show_bug.cgi?id=465 class LDSTException(RecordObject): - _exc_types = ['happened', 'alignment', 'instr_fault', 'invalid', 'badtree', - 'perm_error', 'rc_error', 'segment_fault',] + _exc_types = ['alignment', 'instr_fault', 'invalid', 'badtree', + 'perm_error', 'rc_error', 'segment_fault', + 'happened', ] # must be last: may overlap with Data.ok def __init__(self, name=None): RecordObject.__init__(self, name=name) for f in self._exc_types: