From 5dba93a1695cb5a5a55837f8576fcb96eee371b7 Mon Sep 17 00:00:00 2001 From: Tobias Platen Date: Tue, 9 Nov 2021 18:12:45 +0100 Subject: [PATCH] forward mmu sprs --- src/openpower/decoder/power_decoder2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/openpower/decoder/power_decoder2.py b/src/openpower/decoder/power_decoder2.py index 6db5c615..edf2893b 100644 --- a/src/openpower/decoder/power_decoder2.py +++ b/src/openpower/decoder/power_decoder2.py @@ -942,8 +942,8 @@ class PowerDecodeSubset(Elaboratable): (spr == SPR.PIDR.value)) # MMU must receive MMU SPRs with m.If(is_spr_mv & (fn == Function.SPR) & is_mmu_spr): - comb += self.do_copy("fn_unit", Function.NONE) - comb += self.do_copy("insn_type", MicrOp.OP_ILLEGAL) + comb += self.do_copy("fn_unit", Function.MMU) + comb += self.do_copy("insn_type", internal_op) # SPR pipe must *not* receive MMU SPRs with m.Elif(is_spr_mv & (fn == Function.MMU) & ~is_mmu_spr): comb += self.do_copy("fn_unit", Function.NONE) -- 2.30.2