From 2a7defb1a5571330238b15f17d63c64f29671a38 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 10 May 2021 15:42:04 +0100 Subject: [PATCH] include Error keyword in message --- src/openpower/decoder/isa/mem.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: -- 2.30.2