From 8febe208493b1367d2d1cadea7a61fcee221963a Mon Sep 17 00:00:00 2001 From: Fatima Saleem Date: Mon, 4 Sep 2023 17:17:00 +0500 Subject: [PATCH] updating the REG_ADDR_SIZE --- core/include/ariane_pkg.sv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/include/ariane_pkg.sv b/core/include/ariane_pkg.sv index 0d0e50ea87..083f937e10 100644 --- a/core/include/ariane_pkg.sv +++ b/core/include/ariane_pkg.sv @@ -159,8 +159,8 @@ package ariane_pkg; localparam riscv::xlen_t OPENHWGROUP_MVENDORID = {{riscv::XLEN-32{1'b0}}, 32'h0602}; localparam riscv::xlen_t ARIANE_MARCHID = {{riscv::XLEN-32{1'b0}}, 32'd3}; - // 32 registers + 1 bit for re-naming = 6 - localparam REG_ADDR_SIZE = 6; + // 32 registers + localparam REG_ADDR_SIZE = 5; // Read ports for general purpose register files localparam NR_RGPR_PORTS = 2;