From 5bb7435cbb6b5e0be8dd5b0da413cc743bad7d77 Mon Sep 17 00:00:00 2001 From: aottaviano Date: Sat, 14 Oct 2023 00:34:33 +0200 Subject: [PATCH] hw: Fix wrong connection for spatz timer interrupt --- hw/carfield.sv | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hw/carfield.sv b/hw/carfield.sv index d29ee608..5366a434 100644 --- a/hw/carfield.sv +++ b/hw/carfield.sv @@ -1501,9 +1501,11 @@ end logic [spatz_cluster_pkg::NumCores-1:0] spatzcl_mbox_intr; // mti (machine timer interrupt) : hostd (RISC-V clint) // verilog_lint: waive-start line-length -logic [spatz_cluster_pkg::NumCores-1:0] spatzcl_timer_intr = { chs_mti[FPClusterIntrHart1Idx], chs_mti[FPClusterIntrHart0Idx] }; +logic [spatz_cluster_pkg::NumCores-1:0] spatzcl_timer_intr; // verilog_lint: waive-stop line-length +assign spatzcl_timer_intr = { chs_mti[FPClusterIntrHart1Idx], chs_mti[FPClusterIntrHart0Idx] }; + if (IslandsCfg.EnSpatzCluster) begin : gen_spatz_cluster spatz_cluster_wrapper #( .AxiAddrWidth ( Cfg.AddrWidth ),