-
Notifications
You must be signed in to change notification settings - Fork 152
Open
Description
When mor1kx receives 'jalr to link register (r9)'
illegal instruction exception should be asserted as in or1ksim, but it doesn't
You can reproduce by inserting 'insn: 0x48004800'
in mor1kx_decode.v, changing as below should fix this.
always @*
case (opc_insn)
`OR1K_OPCODE_JALR:
if (decode_insn_i[`OR1K_RB_SELECT] == 9)
decode_except_illegal_o = 1'b1;
Metadata
Metadata
Assignees
Labels
No labels