From 2621d7191147b3e052345e4e7db3fa4e2192e020 Mon Sep 17 00:00:00 2001 From: Pascal Nasahl Date: Tue, 19 Nov 2024 18:29:35 +0100 Subject: [PATCH] [test] Do not merge Signed-off-by: Pascal Nasahl --- hw/top_earlgrey/rtl/autogen/chip_earlgrey_cw310.sv | 2 +- hw/top_earlgrey/rtl/autogen/chip_earlgrey_cw340.sv | 2 +- hw/top_earlgrey/templates/chiplevel.sv.tpl | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/hw/top_earlgrey/rtl/autogen/chip_earlgrey_cw310.sv b/hw/top_earlgrey/rtl/autogen/chip_earlgrey_cw310.sv index bfd5bd5c4c4b8..23e42dd0bee1d 100644 --- a/hw/top_earlgrey/rtl/autogen/chip_earlgrey_cw310.sv +++ b/hw/top_earlgrey/rtl/autogen/chip_earlgrey_cw310.sv @@ -1079,9 +1079,9 @@ module chip_earlgrey_cw310 #( .KeymgrKmacEnMasking(0), .SecKmacCmdDelay(0), .SecKmacIdleAcceptSwMsg(1'b0), + .RvCoreIbexSecureIbex(0), .RomCtrlBootRomInitFile(BootRomInitFile), .RvCoreIbexRegFile(ibex_pkg::RegFileFPGA), - .RvCoreIbexSecureIbex(0), .SramCtrlMainInstrExec(1), .PinmuxAonTargetCfg(PinmuxTargetCfg) ) top_earlgrey ( diff --git a/hw/top_earlgrey/rtl/autogen/chip_earlgrey_cw340.sv b/hw/top_earlgrey/rtl/autogen/chip_earlgrey_cw340.sv index b8b6c1f55e83c..bfa1e2e05e367 100644 --- a/hw/top_earlgrey/rtl/autogen/chip_earlgrey_cw340.sv +++ b/hw/top_earlgrey/rtl/autogen/chip_earlgrey_cw340.sv @@ -1063,9 +1063,9 @@ module chip_earlgrey_cw340 #( .KmacEnMasking(1), .KmacSwKeyMasked(1), .KeymgrKmacEnMasking(1), + .RvCoreIbexSecureIbex(1), .RomCtrlBootRomInitFile(BootRomInitFile), .RvCoreIbexRegFile(ibex_pkg::RegFileFPGA), - .RvCoreIbexSecureIbex(0), .SramCtrlMainInstrExec(1), .PinmuxAonTargetCfg(PinmuxTargetCfg) ) top_earlgrey ( diff --git a/hw/top_earlgrey/templates/chiplevel.sv.tpl b/hw/top_earlgrey/templates/chiplevel.sv.tpl index 763ebd280f69a..c2ea397a3de4c 100644 --- a/hw/top_earlgrey/templates/chiplevel.sv.tpl +++ b/hw/top_earlgrey/templates/chiplevel.sv.tpl @@ -1158,6 +1158,7 @@ module chip_${top["name"]}_${target["name"]} #( .SecAesAllowForcingMasks(1'b1), .SecAesSkipPRNGReseeding(1'b1), .UsbdevStub(1'b1), + .RvCoreIbexSecureIbex(0), % else: .SecAesMasking(1'b0), .SecAesSBoxImpl(aes_pkg::SBoxImplLut), @@ -1178,16 +1179,17 @@ module chip_${top["name"]}_${target["name"]} #( .KmacEnMasking(1), .KmacSwKeyMasked(1), .KeymgrKmacEnMasking(1), + .RvCoreIbexSecureIbex(1), % elif target["name"] == "cw310": .KmacEnMasking(0), .KmacSwKeyMasked(1), .KeymgrKmacEnMasking(0), .SecKmacCmdDelay(0), .SecKmacIdleAcceptSwMsg(1'b0), + .RvCoreIbexSecureIbex(0), % endif .RomCtrlBootRomInitFile(BootRomInitFile), .RvCoreIbexRegFile(ibex_pkg::RegFileFPGA), - .RvCoreIbexSecureIbex(0), .SramCtrlMainInstrExec(1), .PinmuxAonTargetCfg(PinmuxTargetCfg) ) top_${top["name"]} (