From: Tobias Platen Date: Tue, 9 Nov 2021 17:12:45 +0000 (+0100) Subject: forward mmu sprs X-Git-Tag: sv_maxu_works-initial~763 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5dba93a1695cb5a5a55837f8576fcb96eee371b7;p=openpower-isa.git forward mmu sprs --- 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)