Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion hw/top_earlgrey/rtl/autogen/chip_earlgrey_cw310.sv
Original file line number Diff line number Diff line change
Expand Up @@ -1121,9 +1121,17 @@ module chip_earlgrey_cw310 #(
// Top-level design //
//////////////////////
top_earlgrey #(
.EntropySrcStub(1'b1), // Stub ENTROPY_SRC to reduce resource usage on CW310. See #30062.
.OtbnStub(1'b1), // Stub OTBN to reduce resource usage on CW310. See #30062.
.UsbdevStub(1'b1), // Stub USBDEV to reduce resource usage on CW310. See #30062.
.SecAesMasking(1'b0), // Disable AES masking on the CW310, where we are constrained by area.
.OtbnFeatStubMai(1'b1), // Stub MAI to reduce resource usage on CW310. See #30062.
.SecAesSBoxImpl(aes_pkg::SBoxImplLut),
.RvCoreIbexPMPEnable(1'b0),
.RvCoreIbexRV32B(ibex_pkg::RV32BNone),
.RvCoreIbexRV32ZC(ibex_pkg::RV32Zca),
.RvCoreIbexBranchTargetALU(1'b0),
.RvCoreIbexWritebackStage(1'b0),
.RvCoreIbexICache(1'b0),
.SecAesStartTriggerDelay(0),
.SecAesAllowForcingMasks(1'b1),
.CsrngSBoxImpl(aes_pkg::SBoxImplLut),
Expand Down
10 changes: 9 additions & 1 deletion hw/top_earlgrey/templates/chiplevel.sv.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -1148,9 +1148,17 @@ module chip_${top["name"]}_${target["name"]} #(
//////////////////////
top_${top["name"]} #(
% if target["name"] == "cw310":
.EntropySrcStub(1'b1), // Stub ENTROPY_SRC to reduce resource usage on CW310. See #30062.
.OtbnStub(1'b1), // Stub OTBN to reduce resource usage on CW310. See #30062.
.UsbdevStub(1'b1), // Stub USBDEV to reduce resource usage on CW310. See #30062.
.SecAesMasking(1'b0), // Disable AES masking on the CW310, where we are constrained by area.
.OtbnFeatStubMai(1'b1), // Stub MAI to reduce resource usage on CW310. See #30062.
.SecAesSBoxImpl(aes_pkg::SBoxImplLut),
.RvCoreIbexPMPEnable(1'b0),
.RvCoreIbexRV32B(ibex_pkg::RV32BNone),
.RvCoreIbexRV32ZC(ibex_pkg::RV32Zca),
.RvCoreIbexBranchTargetALU(1'b0),
.RvCoreIbexWritebackStage(1'b0),
.RvCoreIbexICache(1'b0),
% elif target["name"] == "cw340":
.SecAesMasking(1'b1),
.SecAesSBoxImpl(aes_pkg::SBoxImplDom),
Expand Down
Loading