@@ -710,9 +710,12 @@ module snitch_cluster
710
710
if (EnableDMAMulticast) begin : gen_mcast_dma_xbar
711
711
712
712
// Define the collective connectivity matrix!
713
+ typedef bit [DmaMcastXbarCfg.NoMstPorts- 1 : 0 ] DMALine_t ;
714
+ typedef bit [DmaMcastXbarCfg.NoSlvPorts- 1 : 0 ][DmaMcastXbarCfg.NoMstPorts- 1 : 0 ] DMAMatrix_t ;
713
715
// If we want to reroute collectiv operation the only available collectiv operation port is the SoC port
714
- localparam bit [DmaMcastXbarCfg.NoSlvPorts- 1 : 0 ][DmaMcastXbarCfg.NoMstPorts- 1 : 0 ] DMACollectivConnectivity = (ReRouteCollectivOp) ?
715
- '{ default : '{ SoCDMAOut: 1'b1 , default : 1'b0 }} : '{ default : '{ default : 1'b1 }} ;
716
+ localparam DMALine_t DMAlocalArray = (ReRouteCollectivOp) ?
717
+ DMALine_t'{ SoCDMAOut: 1'b1 , default : 1'b0 } : DMALine_t'{ default : 1'b1 } ;
718
+ localparam DMAMatrix_t DMACollectivConnectivity = DMAMatrix_t'{ default : DMAlocalArray} ;
716
719
717
720
// Set default master port for all multicast's crossbar input's
718
721
localparam bit [DmaMcastXbarCfg.NoSlvPorts- 1 : 0 ] DMAEnableDefaultMstPort = '1 ;
@@ -1365,9 +1368,13 @@ module snitch_cluster
1365
1368
if (EnableMulticast) begin : gen_narrow_mcast_axi_crossbar
1366
1369
1367
1370
// Define the collective connectivity matrix!
1371
+ typedef bit [ClusterMcastXbarCfg.NoMstPorts- 1 : 0 ] ClusterLine_t ;
1372
+ typedef bit [ClusterMcastXbarCfg.NoSlvPorts- 1 : 0 ][ClusterMcastXbarCfg.NoMstPorts- 1 : 0 ] ClusterMatrix_t ;
1368
1373
// If we want to reroute collectiv operation the only available collectiv operation port is the SoC port
1369
- localparam bit [ClusterMcastXbarCfg.NoSlvPorts- 1 : 0 ][ClusterMcastXbarCfg.NoMstPorts- 1 : 0 ] ClusterCollectivConnectivity = (ReRouteCollectivOp) ?
1370
- '{ default : '{ SoC: 1'b1 , default : 1'b0 }} : '{ default : '{ default : 1'b1 }} ;
1374
+ localparam ClusterLine_t ClusterlocalArray = (ReRouteCollectivOp) ?
1375
+ ClusterLine_t'{ SoC: 1'b1 , default : 1'b0 } : ClusterLine_t'{ default : 1'b1 } ;
1376
+ localparam ClusterMatrix_t ClusterCollectivConnectivity =
1377
+ ClusterMatrix_t'{ default : ClusterlocalArray} ;
1371
1378
1372
1379
// Set default master port for all multicast's crossbar input's
1373
1380
localparam bit [ClusterMcastXbarCfg.NoSlvPorts- 1 : 0 ] ClusterEnableDefaultMstPort = '1 ;
0 commit comments