From: Tobias Platen Date: Tue, 13 Apr 2021 16:43:37 +0000 (+0200) Subject: fix AttributeError in radixmmu testcase X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=38c6524516394693b369120f0954527fd01ec114;p=soc.git fix AttributeError in radixmmu testcase --- diff --git a/src/soc/decoder/isa/caller.py b/src/soc/decoder/isa/caller.py index e896e9e2..ba24f48f 100644 --- a/src/soc/decoder/isa/caller.py +++ b/src/soc/decoder/isa/caller.py @@ -469,11 +469,11 @@ class ISACaller: self.mem = Mem(row_bytes=8, initial_mem=initial_mem) self.imem = Mem(row_bytes=4, initial_mem=initial_insns) # MMU mode, redirect underlying Mem through RADIX + self.msr = SelectableInt(initial_msr, 64) # underlying reg if mmu: self.mem = RADIX(self.mem, self) self.imem = RADIX(self.imem, self) self.pc = PC() - self.msr = SelectableInt(initial_msr, 64) # underlying reg # TODO, needed here: # FPR (same as GPR except for FP nums)