From 38c6524516394693b369120f0954527fd01ec114 Mon Sep 17 00:00:00 2001 From: Tobias Platen Date: Tue, 13 Apr 2021 18:43:37 +0200 Subject: [PATCH] fix AttributeError in radixmmu testcase --- src/soc/decoder/isa/caller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2