From: Luke Kenneth Casson Leighton Date: Mon, 10 May 2021 14:42:04 +0000 (+0100) Subject: include Error keyword in message X-Git-Tag: 0.0.3~65 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2a7defb1a5571330238b15f17d63c64f29671a38;p=openpower-isa.git include Error keyword in message --- diff --git a/src/openpower/decoder/isa/mem.py b/src/openpower/decoder/isa/mem.py index 2b6c118d..603d1923 100644 --- a/src/openpower/decoder/isa/mem.py +++ b/src/openpower/decoder/isa/mem.py @@ -76,7 +76,7 @@ class Mem: remainder = address & (self.bytes_per_word - 1) address = address >> self.word_log2 if remainder & (width - 1) != 0: - exc = MemException("unaligned", "Unaligned access unsupported!") + exc = MemException("unaligned", "Unaligned access Error") exc.dar = address raise exc if address in self.mem: @@ -104,7 +104,7 @@ class Mem: print("Writing 0x{:x} to ST 0x{:x} " "memaddr 0x{:x}/{:x}".format(v, staddr, addr, remainder, swap)) if remainder & (width - 1) != 0: - exc = MemException("unaligned", "Unaligned access unsupported!") + exc = MemException("unaligned", "Unaligned access Error") exc.dar = address raise exc if swap: