Skip to content

Commit

Permalink
[rtl] Fix encoding for ORC16/REV16 instructions in tracer package
Browse files Browse the repository at this point in the history
This bug was originally found by @micprog.
  • Loading branch information
vogelpi committed Jan 19, 2021
1 parent 75e1c28 commit 760baa1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rtl/ibex_tracer_pkg.sv
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ parameter logic [31:0] INSN_REV2_H =
parameter logic [31:0] INSN_REV_H =
{ 5'b01101, 2'h?, 5'b01111, 5'h?, 3'b101, 5'h?, {OPCODE_OP_IMM} };
parameter logic [31:0] INSN_REV16 =
{ 5'b01101, 2'h?, 5'b01000, 5'h?, 3'b101, 5'h?, {OPCODE_OP_IMM} };
{ 5'b01101, 2'h?, 5'b10000, 5'h?, 3'b101, 5'h?, {OPCODE_OP_IMM} };
parameter logic [31:0] INSN_REV8 =
{ 5'b01101, 2'h?, 5'b11000, 5'h?, 3'b101, 5'h?, {OPCODE_OP_IMM} };
parameter logic [31:0] INSN_REV4 =
Expand Down Expand Up @@ -172,7 +172,7 @@ parameter logic [31:0] INSN_ORC2_H =
parameter logic [31:0] INSN_ORC_H =
{ 5'b00101, 2'h?, 5'b01111, 5'h?, 3'b101, 5'h?, {OPCODE_OP_IMM} };
parameter logic [31:0] INSN_ORC16 =
{ 5'b00101, 2'h?, 5'b01000, 5'h?, 3'b101, 5'h?, {OPCODE_OP_IMM} };
{ 5'b00101, 2'h?, 5'b10000, 5'h?, 3'b101, 5'h?, {OPCODE_OP_IMM} };
parameter logic [31:0] INSN_ORC8 =
{ 5'b00101, 2'h?, 5'b11000, 5'h?, 3'b101, 5'h?, {OPCODE_OP_IMM} };
parameter logic [31:0] INSN_ORC4 =
Expand Down

0 comments on commit 760baa1

Please sign in to comment.