You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is(0b0110011.U) { format :=InstructionFormat.R; } // add, sub, sll, slt, sltu, xor, srl, sra, or, and
41
+
is(0b0001111.U) { format :=InstructionFormat.I; } // fence, fence.i
42
+
is(0b1110011.U) { format :=InstructionFormat.S; } // ecall, ebreak, sret, mret, wfi, sfence.vma | the format for these is not within the standard formats but we can basically achieve the same thing with S type and then using the immediate, rs2, and rs1 to differentiate the calls. Also technically sret, mret, and wfi come from the privelleged spec but we'll just include them here.
0 commit comments