From e28346442a2056a89a0c6aaf67ed39be80e29c6d Mon Sep 17 00:00:00 2001
From: Alban Gruin <alban.gruin@univ-tlse3.fr>
Date: Mon, 24 May 2021 12:02:20 +0200
Subject: [PATCH] ariane_pkg: reduce queue sizes to 1

Signed-off-by: Alban Gruin <alban.gruin@univ-tlse3.fr>
---
 include/ariane_pkg.sv | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/ariane_pkg.sv b/include/ariane_pkg.sv
index 91b38513..81bbd602 100644
--- a/include/ariane_pkg.sv
+++ b/include/ariane_pkg.sv
@@ -128,7 +128,7 @@ package ariane_pkg;
     endfunction : is_inside_cacheable_regions
 
     // TODO: Slowly move those parameters to the new system.
-    localparam NR_SB_ENTRIES = 8; // number of scoreboard entries
+    localparam NR_SB_ENTRIES = 2; // number of scoreboard entries
     localparam TRANS_ID_BITS = $clog2(NR_SB_ENTRIES); // depending on the number of scoreboard entries we need that many bits
                                                       // to uniquely identify the entry in the scoreboard
     localparam ASID_WIDTH    = (riscv::XLEN == 64) ? 16 : 1;
@@ -278,7 +278,7 @@ package ariane_pkg;
     // ---------------
 
     // leave as is (fails with >8 entries and wider fetch width)
-    localparam int unsigned FETCH_FIFO_DEPTH  = 4;
+    localparam int unsigned FETCH_FIFO_DEPTH  = 1;
     localparam int unsigned FETCH_WIDTH       = 32;
     // maximum instructions we can fetch on one request (we support compressed instructions)
     localparam int unsigned INSTR_PER_FETCH = FETCH_WIDTH / 16;
-- 
GitLab