From 7daf1b2b8cb27c29fb91d4518bec56be0853d65b Mon Sep 17 00:00:00 2001 From: Guillaume Chauvon Date: Wed, 29 Jun 2022 11:11:50 +0200 Subject: [PATCH 1/2] re_name.sv: add condition related to CVXIF to rename 3rd operand Signed-off-by: Guillaume Chauvon --- core/re_name.sv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/re_name.sv b/core/re_name.sv index 9e776603a2..eb0c336295 100644 --- a/core/re_name.sv +++ b/core/re_name.sv @@ -69,7 +69,7 @@ module re_name import ariane_pkg::*; ( issue_instr_o.rs2 = { ENABLE_RENAME & name_bit_rs2, issue_instr_i.rs2[4:0] }; // re-name the third operand in imm if it's actually an operand - if (is_imm_fpr(issue_instr_i.op)) begin + if (is_imm_fpr(issue_instr_i.op) || (issue_instr_i.op == OFFLOAD && ariane_pkg::NR_RGPR_PORTS == 3)) begin issue_instr_o.result = { ENABLE_RENAME & name_bit_rs3, issue_instr_i.result[4:0]}; end // re-name the destination register From 15800de3a6617a82ee2e6bd775c600d1d1f101ca Mon Sep 17 00:00:00 2001 From: Guillaume Chauvon Date: Wed, 29 Jun 2022 11:16:54 +0200 Subject: [PATCH 2/2] cv32a60x_pkg.sv: set CVXIFEn to 1 Signed-off-by: Guillaume Chauvon --- core/include/cv32a60x_config_pkg.sv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/include/cv32a60x_config_pkg.sv b/core/include/cv32a60x_config_pkg.sv index 8038675a00..a9b2cb5efc 100644 --- a/core/include/cv32a60x_config_pkg.sv +++ b/core/include/cv32a60x_config_pkg.sv @@ -18,7 +18,7 @@ package cva6_config_pkg; localparam CVA6ConfigF8En = 0; localparam CVA6ConfigFVecEn = 0; - localparam CVA6ConfigCvxifEn = 0; + localparam CVA6ConfigCvxifEn = 1; localparam CVA6ConfigCExtEn = 1; localparam CVA6ConfigAExtEn = 0;