Skip to content

Commit

Permalink
resolve issue# 1613
Browse files Browse the repository at this point in the history
  • Loading branch information
gullahmed1 committed Dec 15, 2023
1 parent ad57000 commit d2afacc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/decoder.sv
Original file line number Diff line number Diff line change
Expand Up @@ -722,8 +722,8 @@ module decoder
end
3'b101: begin
if (instr.instr[31:20] == 12'b001010000111) instruction_o.op = ariane_pkg::ORCB;
else if (instr.instr[31:20] == 12'b011010111000 || instr.instr[31:20] == 12'b011010011000)
instruction_o.op = ariane_pkg::REV8;
else if (riscv::IS_XLEN64 && instr.instr[31:20] == 12'b011010111000) instruction_o.op = ariane_pkg::REV8;
else if (instr.instr[31:20] == 12'b011010011000) instruction_o.op = ariane_pkg::REV8;
else if (instr.instr[31:26] == 6'b010_010) instruction_o.op = ariane_pkg::BEXTI;
else if (instr.instr[31:26] == 6'b011_000) instruction_o.op = ariane_pkg::RORI;
else illegal_instr_bm = 1'b1;
Expand Down

0 comments on commit d2afacc

Please sign in to comment.