From 7782091c4049031ee61befd276ff13a5864b5e58 Mon Sep 17 00:00:00 2001 From: Matheus Cavalcante Date: Mon, 4 Dec 2023 19:24:33 -0800 Subject: [PATCH] hw: Flatten FPU count configuration --- hw/system/spatz_cluster/src/spatz_cluster_wrapper.sv.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/system/spatz_cluster/src/spatz_cluster_wrapper.sv.tpl b/hw/system/spatz_cluster/src/spatz_cluster_wrapper.sv.tpl index b7ab6460..da9d1a69 100644 --- a/hw/system/spatz_cluster/src/spatz_cluster_wrapper.sv.tpl +++ b/hw/system/spatz_cluster/src/spatz_cluster_wrapper.sv.tpl @@ -311,8 +311,8 @@ module ${cfg['name']}_wrapper localparam int unsigned NumIntOutstandingLoads [NumCores] = '{${core_cfg('num_int_outstanding_loads')}}; localparam int unsigned NumIntOutstandingMem [NumCores] = '{${core_cfg('num_int_outstanding_mem')}}; localparam int unsigned NumSpatzOutstandingLoads [NumCores] = '{${core_cfg('num_spatz_outstanding_loads')}}; - localparam int unsigned NumSpatzFPUs [NumCores] = '{${cfg['n_fpu']}}; - localparam int unsigned NumSpatzIPUs [NumCores] = '{${cfg['n_ipu']}}; + localparam int unsigned NumSpatzFPUs [NumCores] = '{${core_cfg['n_fpu']}}; + localparam int unsigned NumSpatzIPUs [NumCores] = '{${core_cfg['n_ipu']}}; spatz_cluster_pkg::spatz_axi_iwc_out_req_t axi_from_cluster_iwc_req; spatz_cluster_pkg::spatz_axi_iwc_out_resp_t axi_from_cluster_iwc_resp;