[ibex] Hook up ram_cfg to Ibex
Signed-off-by: Michael Schaffner <msf@opentitan.org>
diff --git a/hw/top_earlgrey/data/autogen/top_earlgrey.gen.hjson b/hw/top_earlgrey/data/autogen/top_earlgrey.gen.hjson
index 27814ff..3b1d5c9 100644
--- a/hw/top_earlgrey/data/autogen/top_earlgrey.gen.hjson
+++ b/hw/top_earlgrey/data/autogen/top_earlgrey.gen.hjson
@@ -469,6 +469,18 @@
top_signame: lc_ctrl_lc_cpu_en
index: -1
}
+ {
+ struct: ram_1p_cfg_t
+ type: uni
+ name: ram_cfg
+ act: rcv
+ package: prim_ram_1p_pkg
+ inst_name: rv_core_ibex
+ width: 1
+ default: ""
+ top_signame: ast_ram_1p_cfg
+ index: -1
+ }
]
}
{
@@ -5137,6 +5149,7 @@
otbn.ram_cfg
ram_main.cfg
ram_ret_aon.cfg
+ rv_core_ibex.ram_cfg
]
ast.ram_2p_cfg:
[
@@ -12405,6 +12418,18 @@
index: -1
}
{
+ struct: ram_1p_cfg_t
+ type: uni
+ name: ram_cfg
+ act: rcv
+ package: prim_ram_1p_pkg
+ inst_name: rv_core_ibex
+ width: 1
+ default: ""
+ top_signame: ast_ram_1p_cfg
+ index: -1
+ }
+ {
struct: jtag
type: req_rsp
name: jtag
diff --git a/hw/top_earlgrey/data/top_earlgrey.hjson b/hw/top_earlgrey/data/top_earlgrey.hjson
index a4395c3..e1b9455 100755
--- a/hw/top_earlgrey/data/top_earlgrey.hjson
+++ b/hw/top_earlgrey/data/top_earlgrey.hjson
@@ -202,6 +202,13 @@
act: "rcv",
package: "lc_ctrl_pkg",
},
+
+ { struct: "ram_1p_cfg_t",
+ type: "uni",
+ name: "ram_cfg",
+ act: "rcv",
+ package: "prim_ram_1p_pkg"
+ }
],
}
{ name: "rv_dm",
@@ -808,7 +815,7 @@
// e.g flash_ctrl0.flash: [flash_phy0.flash_ctrl]
inter_module: {
'connect': {
- 'ast.ram_1p_cfg' : ['otbn.ram_cfg', 'ram_main.cfg', 'ram_ret_aon.cfg'],
+ 'ast.ram_1p_cfg' : ['otbn.ram_cfg', 'ram_main.cfg', 'ram_ret_aon.cfg', 'rv_core_ibex.ram_cfg'],
'ast.ram_2p_cfg' : ['spi_device.ram_cfg', 'usbdev.ram_cfg'],
'ast.rom_cfg' : ['rom.cfg'],
'alert_handler.crashdump' : ['rstmgr_aon.alert_dump'],