From d2afacc241008cfdca869aecd1cca0f1c173920b Mon Sep 17 00:00:00 2001 From: gullahmed1 Date: Fri, 15 Dec 2023 20:39:39 +0500 Subject: [PATCH 1/2] resolve issue# 1613 --- core/decoder.sv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/decoder.sv b/core/decoder.sv index 1ed91dae7c..babceee474 100644 --- a/core/decoder.sv +++ b/core/decoder.sv @@ -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; From 130dd54f842302a6a7daa37fd63d5f660eb7a0b4 Mon Sep 17 00:00:00 2001 From: gullahmed1 Date: Sat, 16 Dec 2023 22:42:24 +0500 Subject: [PATCH 2/2] update synth --- .gitlab-ci/expected_synth.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci/expected_synth.yml b/.gitlab-ci/expected_synth.yml index 9a4a8bdaec..ea922ba410 100644 --- a/.gitlab-ci/expected_synth.yml +++ b/.gitlab-ci/expected_synth.yml @@ -1,3 +1,3 @@ cv32a6_embedded: - gates: 118927 + gates: 120760