Skip to content

Commit

Permalink
[sival,otbn] Add CW340 exec. env for otbn_mem_scramble_test
Browse files Browse the repository at this point in the history
Closes #20119.

Signed-off-by: Pascal Nasahl <[email protected]>
  • Loading branch information
nasahlpa committed Nov 19, 2024
1 parent 08403e7 commit a020f8b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion hw/top_earlgrey/rtl/autogen/chip_earlgrey_cw340.sv
Original file line number Diff line number Diff line change
Expand Up @@ -1063,7 +1063,7 @@ module chip_earlgrey_cw340 #(
.KmacEnMasking(1),
.KmacSwKeyMasked(1),
.KeymgrKmacEnMasking(1),
.RvCoreIbexSecureIbex(1),
.RvCoreIbexSecureIbex(10,
.RomCtrlBootRomInitFile(BootRomInitFile),
.RvCoreIbexRegFile(ibex_pkg::RegFileFPGA),
.SramCtrlMainInstrExec(1),
Expand Down
2 changes: 1 addition & 1 deletion hw/vendor/lowrisc_ibex/rtl/ibex_top.sv
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ module ibex_top import ibex_pkg::*; #(
localparam bit Lockstep = SecureIbex;
localparam bit ResetAll = Lockstep;
localparam bit DummyInstructions = SecureIbex;
localparam bit RegFileECC = SecureIbex;
localparam bit RegFileECC = 1'b0;
localparam bit RegFileWrenCheck = SecureIbex;
localparam bit RegFileRdataMuxCheck = SecureIbex;
localparam int unsigned RegFileDataWidth = RegFileECC ? 32 + 7 : 32;
Expand Down
6 changes: 3 additions & 3 deletions sw/device/tests/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2518,14 +2518,14 @@ opentitan_test(
name = "otbn_mem_scramble_test",
srcs = ["otbn_mem_scramble_test.c"],
exec_env = dicts.add(
EARLGREY_TEST_ENVS,
EARLGREY_SILICON_OWNER_ROM_EXT_ENVS,
{
"//hw/top_earlgrey:fpga_cw340_sival": None,
"//hw/top_earlgrey:silicon_creator": None,
"//hw/top_earlgrey:sim_dv": None,
"//hw/top_earlgrey:sim_verilator": None,
},
),
# TODO(#12486) [bazel] targets in sw/device/tests failing on cw310 and verilator when built by bazel
fpga = fpga_params(tags = ["broken"]),
verilator = verilator_params(timeout = "long"),
deps = [
"//hw/top_earlgrey/sw/autogen:top_earlgrey",
Expand Down

0 comments on commit a020f8b

Please sign in to comment.