From e2f7fb8af25b19caa5b28697212f217ffa639825 Mon Sep 17 00:00:00 2001 From: Luca Valente Date: Mon, 15 Aug 2022 18:01:29 +0200 Subject: [PATCH] Help synopsys-2020.09 with `cluster_alias`. --- rtl/xbar_pe_wrap.sv | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/rtl/xbar_pe_wrap.sv b/rtl/xbar_pe_wrap.sv index d17d3d6b..8e474b38 100644 --- a/rtl/xbar_pe_wrap.sv +++ b/rtl/xbar_pe_wrap.sv @@ -113,11 +113,13 @@ module xbar_pe_wrap XBAR_TCDM_BUS.Slave mperiph_slave[NB_MPERIPHS-1:0] ); + logic cluster_alias; `ifdef CLUSTER_ALIAS - logic cluster_alias=1'b1; + assign cluster_alias = 1'b1; `else - logic cluster_alias=1'b0; -`endif + assign cluster_alias = 1'b0; +`endif + localparam int unsigned PE_XBAR_N_INPS = NB_CORES + NB_MPERIPHS; localparam int unsigned PE_XBAR_N_OUPS = NB_SPERIPHS; typedef logic [ADDR_WIDTH-1:0] pe_addr_t;