From 12618e252f4d3a03e9d4ae5a21f9654661c60688 Mon Sep 17 00:00:00 2001 From: Matteo Perotti Date: Thu, 15 Aug 2024 15:58:59 +0200 Subject: [PATCH] [hardawre] Keep memory size constant with NrLanes --- hardware/src/ara_soc.sv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hardware/src/ara_soc.sv b/hardware/src/ara_soc.sv index 9735af0b7..c49104b80 100644 --- a/hardware/src/ara_soc.sv +++ b/hardware/src/ara_soc.sv @@ -24,7 +24,7 @@ module ara_soc import axi_pkg::*; import ara_pkg::*; #( // AXI Resp Delay [ps] for gate-level simulation parameter int unsigned AxiRespDelay = 200, // Main memory - parameter int unsigned L2NumWords = 2**20, + parameter int unsigned L2NumWords = (2**22) / NrLanes, // Dependant parameters. DO NOT CHANGE! localparam type axi_data_t = logic [AxiDataWidth-1:0], localparam type axi_strb_t = logic [AxiDataWidth/8-1:0],