Skip to content

Commit

Permalink
Fix Addess Rule in chip_antwerp (#99)
Browse files Browse the repository at this point in the history
* Fix Addess Rule in chip_antwerp

* Update occamygen

* Bug Fix
  • Loading branch information
IveanEx authored Dec 10, 2024
1 parent 27cd30b commit ac1cbfb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
14 changes: 6 additions & 8 deletions util/occamygen/occamygen.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ def main():
# Default route passes HBI through quadrant 0
# --> mask this route, forcing it through default wide xbar
soc_wide_xbar.add_output_entry("quadrant_{}".format(i),
am_wide_xbar_quadrant_s1[i])
am_wide_xbar_quadrant_s1[i])
soc_wide_xbar.add_input("quadrant_{}".format(i))

###################
Expand All @@ -357,13 +357,11 @@ def main():
node=am_soc_narrow_xbar)

for i in range(nr_s1_quadrants):
# soc_narrow_xbar.add_output_symbolic_multi("s1_quadrant_{}".format(i),
# [("s1_quadrant_base_addr",
# "S1QuadrantAddressSpace"),
# ("s1_quadrant_cfg_base_addr",
# "S1QuadrantCfgAddressSpace")])
soc_narrow_xbar.add_output_entry(
"s1_quadrant_{}".format(i), am_narrow_xbar_quadrant_s1[i])
soc_narrow_xbar.add_output_symbolic_multi("s1_quadrant_{}".format(i),
[("ClusterBaseOffset",
"S1QuadrantAddressSpace"),
("S1QuadrantCfgBaseOffset",
"S1QuadrantCfgAddressSpace")])
soc_narrow_xbar.add_input("s1_quadrant_{}".format(i))

soc_narrow_xbar.add_input("cva6")
Expand Down
2 changes: 1 addition & 1 deletion util/solder/solder.py
Original file line number Diff line number Diff line change
Expand Up @@ -1591,7 +1591,7 @@ def emit(self):
for i, (idx, entries) in enumerate(self.symbolic_addrmap_multi):
for base, length in entries:
addrmap_lines.append(
" '{{ idx: {}, start_addr: {}[{i}], end_addr: {}[{i}] + {} }}".format(
" '{{ idx: {}, start_addr: {}, end_addr: {} + {} }}".format(
idx, base, base, length, i=i))
addrmap += "{}\n}};\n".format(',\n'.join(addrmap_lines))

Expand Down

0 comments on commit ac1cbfb

Please sign in to comment.