Skip to content

Commit a5094d9

Browse files
SmephiteNavaneeth-KunhiPurayil
authored andcommitted
hw: Modify clustergen for dynamic cluster generation
1 parent 9974c6a commit a5094d9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

hw/system/spatz_cluster/src/spatz_cluster_wrapper.sv.tpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@ module ${cfg['name']}_wrapper
255255
% if not cfg['tie_ports']:
256256
input logic [9:0] hart_base_id_i,
257257
input logic [AxiAddrWidth-1:0] cluster_base_addr_i,
258+
input logic [AxiUserWidth-1:0] axi_core_default_user_i,
258259
% endif
259260
output logic cluster_probe_o,
260261
% if cfg['axi_isolate_enable']:

util/clustergen/cluster.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,8 @@ def __init__(self, cfg):
392392
self.cfg["dram"]["length"],
393393
self.cfg["cluster"]["addr_width"],
394394
)
395-
self.cfg["cluster"]["tie_ports"] = True
395+
if "tie_ports" not in self.cfg["cluster"]:
396+
self.cfg["cluster"]["tie_ports"] = True
396397
# Store Snitch cluster config in separate variable
397398
self.cluster = SnitchCluster(cfg["cluster"], pma_cfg)
398399

0 commit comments

Comments
 (0)