From: Tobias Platen Date: Sat, 13 Feb 2021 20:23:28 +0000 (+0100) Subject: OP_TLBIE must in be instr_is_priv X-Git-Tag: convert-csv-opcode-to-binary~232 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e76bf74bd5aebd046a0f091fce1bfee448a575e5;p=soc.git OP_TLBIE must in be instr_is_priv --- diff --git a/src/soc/decoder/power_decoder2.py b/src/soc/decoder/power_decoder2.py index 883c9128..f9916078 100644 --- a/src/soc/decoder/power_decoder2.py +++ b/src/soc/decoder/power_decoder2.py @@ -48,8 +48,7 @@ def instr_is_priv(m, op, insn): with m.Case(MicrOp.OP_ATTN, MicrOp.OP_MFMSR, MicrOp.OP_MTMSRD, MicrOp.OP_MTMSR, MicrOp.OP_RFID): comb += is_priv_insn.eq(1) - # XXX TODO - #with m.Case(MicrOp.OP_TLBIE) : comb += is_priv_insn.eq(1) + with m.Case(MicrOp.OP_TLBIE) : comb += is_priv_insn.eq(1) with m.Case(MicrOp.OP_MFSPR, MicrOp.OP_MTSPR): with m.If(insn[20]): # field XFX.spr[-1] i think comb += is_priv_insn.eq(1)