Skip to content

Commit

Permalink
[ipgen,rstmgr] Fix top_englishbreakfast build
Browse files Browse the repository at this point in the history
Signed-off-by: Guillermo Maturana <[email protected]>
  • Loading branch information
matutem committed Dec 21, 2023
1 parent 1a130a0 commit 0a56aff
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion hw/top_englishbreakfast/data/top_englishbreakfast.hjson
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@
param_decl: {
SecCheck: "0",
}
attr: "templated",
attr: "ipgen",
},
{ name: "clkmgr_aon",
type: "clkmgr",
Expand Down
4 changes: 2 additions & 2 deletions hw/top_englishbreakfast/util/prepare_sw.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,9 @@ def main():
'ip_autogen/alert_handler/data/alert_handler.hjson',
'ip/clkmgr/data/autogen/clkmgr.hjson',
'ip/flash_ctrl/data/autogen/flash_ctrl.hjson',
'ip_autogen/pwrmgr/data/pwrmgr.hjson',
'ip/rstmgr/data/autogen/rstmgr.hjson',
'ip/pinmux/data/autogen/pinmux.hjson',
'ip_autogen/pwrmgr/data/pwrmgr.hjson',
'ip_autogen/rstmgr/data/rstmgr.hjson',
'ip_autogen/rv_plic/data/rv_plic.hjson',
'ip/ast/data/ast.hjson',
'ip/sensor_ctrl/data/sensor_ctrl.hjson',
Expand Down
1 change: 0 additions & 1 deletion topgen-reg-only.core
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ filesets:
- lowrisc:ip:clkmgr_reggen
- lowrisc:ip:flash_ctrl_reggen
- lowrisc:ip:pinmux_reggen
- lowrisc:ip:rstmgr_reggen

targets:
default: &default
Expand Down
7 changes: 2 additions & 5 deletions util/topgen-fusesoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,10 @@ def main():
'clkmgr': '',
'flash_ctrl': '_core',
'pinmux': '',
'rstmgr': '',
}

# reg-only
for ip in ['clkmgr', 'flash_ctrl', 'pinmux', 'rstmgr']:
for ip in ['clkmgr', 'flash_ctrl', 'pinmux']:
core_filepath = os.path.abspath(os.path.join(files_out, 'generated-%s.core' % ip))
name = 'lowrisc:ip:%s_reggen' % ip,
files = ['ip/%s/rtl/autogen/%s_reg_pkg.sv' % (ip, ip),
Expand Down Expand Up @@ -126,7 +125,7 @@ def main():
'lowrisc:prim:util',
'lowrisc:ip:lc_ctrl_pkg',
'lowrisc:ip:pwrmgr_pkg',
# rstmgr
'lowrisc:ip:rstmgr_pkg',
'lowrisc:prim:clock_mux2',
# clkmgr
'lowrisc:prim:all',
Expand All @@ -147,8 +146,6 @@ def main():
'ip/flash_ctrl/rtl/autogen/flash_ctrl_pkg.sv',
'ip/flash_ctrl/rtl/autogen/flash_ctrl.sv',
'ip/flash_ctrl/rtl/autogen/flash_ctrl_region_cfg.sv',
'ip/rstmgr/rtl/autogen/rstmgr_pkg.sv',
'ip/rstmgr/rtl/autogen/rstmgr.sv',
# Top
'rtl/autogen/%s_rnd_cnst_pkg.sv' % topname,
'rtl/autogen/%s_pkg.sv' % topname,
Expand Down

0 comments on commit 0a56aff

Please sign in to comment.