[ibex] Enable icache in top_earlgrey
Fixes #3539
Signed-off-by: Tom Roberts <tomroberts@lowrisc.org>
diff --git a/hw/top_earlgrey/rtl/autogen/top_earlgrey.sv b/hw/top_earlgrey/rtl/autogen/top_earlgrey.sv
index 340be87..8eb6894 100644
--- a/hw/top_earlgrey/rtl/autogen/top_earlgrey.sv
+++ b/hw/top_earlgrey/rtl/autogen/top_earlgrey.sv
@@ -20,6 +20,7 @@
// Manually defined parameters
parameter ibex_pkg::regfile_e IbexRegFile = ibex_pkg::RegFileFF,
+ parameter bit IbexICache = 1,
parameter bit IbexPipeLine = 0,
parameter BootRomInitFile = ""
) (
@@ -325,8 +326,8 @@
.RegFile (IbexRegFile),
.BranchTargetALU (1),
.WritebackStage (1),
- .ICache (0),
- .ICacheECC (0),
+ .ICache (IbexICache),
+ .ICacheECC (1),
.BranchPredictor (0),
.DbgTriggerEn (1),
.SecureIbex (0),