Skip to content

Commit

Permalink
[pwrmgr,ipgen] 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 Oct 5, 2023
1 parent 9806d30 commit 43678a6
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions hw/top_englishbreakfast/data/top_englishbreakfast.hjson
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,7 @@
},
domain: ["Aon"],
base_addr: "0x40400000",
attr: "templated",

attr: "ipgen",
},
{ name: "rstmgr_aon",
type: "rstmgr",
Expand Down
2 changes: 1 addition & 1 deletion hw/top_englishbreakfast/util/prepare_sw.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ 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/pwrmgr/data/autogen/pwrmgr.hjson',
'ip_autogen/pwrmgr/data/pwrmgr.hjson',
'ip/rstmgr/data/autogen/rstmgr.hjson',
'ip/pinmux/data/autogen/pinmux.hjson',
'ip_autogen/rv_plic/data/rv_plic.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:pwrmgr_reggen
- lowrisc:ip:rstmgr_reggen

targets:
Expand Down
3 changes: 1 addition & 2 deletions util/topgen-fusesoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,11 @@ def main():
'clkmgr': '',
'flash_ctrl': '_core',
'pinmux': '',
'pwrmgr': '',
'rstmgr': '',
}

# reg-only
for ip in ['clkmgr', 'flash_ctrl', 'pinmux', 'pwrmgr', 'rstmgr']:
for ip in ['clkmgr', 'flash_ctrl', 'pinmux', 'rstmgr']:
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

0 comments on commit 43678a6

Please sign in to comment.