From d00e2e5880eddaee9a1db8f34de5de1a4e1f1805 Mon Sep 17 00:00:00 2001 From: Alessio Mangone Date: Wed, 28 Oct 2026 11:17:29 +0100 Subject: [PATCH] [core_region] Exempt the cluster's own window from the unmapped-region check The cluster's own window starts at CLUSTER_BASE + (cluster_id_i << 22): for cluster_id_i == 0 it lies below the refused range, for any other cluster_id_i it lies inside it, peripherals included. In a multi-cluster instance, every cluster but the first thus stops the simulation on its first access to its own control unit. --- rtl/core_region.sv | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rtl/core_region.sv b/rtl/core_region.sv index 50813b3f..83090159 100644 --- a/rtl/core_region.sv +++ b/rtl/core_region.sv @@ -487,7 +487,8 @@ import rapid_recovery_pkg::*; $error("ERROR_1 (0x00000000 -> 0x%8x) : Data interface is making a request on unmapped region --> %8x\t at time %t [ns]" , CLUSTER_BASE, core_data_req_o.add, $time()/1000 ); $finish(); end - if ((core_data_req_o.req == 1'b1) && (core_data_req_o.add >= (CLUSTER_BASE + 32'h0040_0000)) && ((core_data_req_o.add < (CLUSTER_BASE + 32'h0A00_0000)))) begin + if ((core_data_req_o.req == 1'b1) && (core_data_req_o.add >= (CLUSTER_BASE + 32'h0040_0000)) && ((core_data_req_o.add < (CLUSTER_BASE + 32'h0A00_0000))) + && !((core_data_req_o.add >= (CLUSTER_BASE + (cluster_id_i << 22))) && (core_data_req_o.add < (CLUSTER_BASE + (cluster_id_i << 22) + 32'h0040_0000)))) begin $error("ERROR_2 (0x%8x -> 0x%8x) : Data interface is making a request on unmapped region --> %8x\t at time %t [ns]" , CLUSTER_BASE + 32'h0040_0000, CLUSTER_BASE + 32'h0A00_0000, core_data_req_o.add, $time()/1000 ); $finish(); end