From 4cfacfbd55b9d854b60b0e5cbb900fad82b9846b Mon Sep 17 00:00:00 2001 From: Sergio Mazzola Date: Fri, 1 Nov 2024 16:20:32 +0100 Subject: [PATCH] Hw: Change Hyperbus memory range --- hw/chimera_pkg.sv | 2 +- hw/chimera_top_wrapper.sv | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/chimera_pkg.sv b/hw/chimera_pkg.sv index c413309..5d82cd7 100644 --- a/hw/chimera_pkg.sv +++ b/hw/chimera_pkg.sv @@ -128,7 +128,7 @@ ExtClusters localparam byte_bt HyperbusIdx = MemIslandIdx + 1; localparam doub_bt HyperbusRegionStart = 64'h5000_0000; //TODO(smazzola): Correct size of HyperRAM? - localparam doub_bt HyperbusRegionEnd = HyperbusRegionStart + 64'h0800_0000; + localparam doub_bt HyperbusRegionEnd = HyperbusRegionStart + 64'h1000_0000; localparam int unsigned LogDepth = 3; localparam int unsigned SyncStages = 3; diff --git a/hw/chimera_top_wrapper.sv b/hw/chimera_top_wrapper.sv index c94b31e..2acad1d 100644 --- a/hw/chimera_top_wrapper.sv +++ b/hw/chimera_top_wrapper.sv @@ -497,7 +497,7 @@ module chimera_top_wrapper .RxFifoLogDepth (32'd2), .TxFifoLogDepth (32'd2), .RstChipBase (ChsCfg.LlcOutRegionStart), - .RstChipSpace (HypNumPhys * HypNumChips * 'h800_0000), + .RstChipSpace (HyperbusRegionEnd - HyperbusRegionStart), .PhyStartupCycles(300 * 200), .AxiLogDepth (LogDepth), .AxiSlaveArWidth (ChimeraAxiSlvArWidth),