resolving issue #1613 (#1714)

This commit is contained in:
Gull Ahmed 2023-12-17 21:59:22 +05:00 committed by GitHub
parent ad570000b3
commit 8c14b6aa4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -1,3 +1,3 @@
cv32a6_embedded:
gates: 118927
gates: 120760

View file

@ -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;