Skip to content

Commit

Permalink
[bazel] Use OTP config in rv_core_ibex_isa_test_functest
Browse files Browse the repository at this point in the history
1. Prefer an OTP configuration to an explicit bitstream splice.
2. Do not run as a test_rom test.  This test is not compatible with the
   test_rom because the test_rom does not respect the exec_disabled OTP
   config word.

Signed-off-by: Chris Frantz <[email protected]>
  • Loading branch information
cfrantz committed Jan 10, 2024
1 parent ae3a88a commit cf38c1d
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions sw/device/tests/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4250,8 +4250,7 @@ opentitan_test(
binaries = {
":rv_core_ibex_isa_test": "sram_program",
},
bitstream =
"//sw/device/silicon_creator/manuf/tests:bitstream_rom_exec_disabled_test_unlocked0",
otp = "//sw/device/silicon_creator/manuf/tests:otp_img_rom_exec_disabled_test_unlocked0",
tags = ["manual"],
test_cmd = "--elf={sram_program}",
test_harness = "//sw/host/tests/chip/rv_core_ibex_isa",
Expand Down Expand Up @@ -4300,17 +4299,17 @@ opentitan_test(
binaries = {
":rv_core_ibex_epmp_test": "sram_program",
},
bitstream =
"//sw/device/silicon_creator/manuf/tests:bitstream_rom_exec_disabled_test_unlocked0",
otp = "//sw/device/silicon_creator/manuf/tests:otp_img_rom_exec_disabled_test_unlocked0",
tags = ["manual"],
test_cmd = "--elf={sram_program}",
test_harness = "//sw/host/tests/chip/rv_core_ibex_epmp",
),
exec_env = {
# This test is not compatible with the test_rom because the test_rom
# does not respect the exec_disabled OTP config word.
"//hw/top_earlgrey:fpga_cw310_sival": "hyper310",
"//hw/top_earlgrey:fpga_cw310_sival_rom_ext": "hyper310",
"//hw/top_earlgrey:fpga_cw310_rom_with_fake_keys": None,
"//hw/top_earlgrey:fpga_cw310_test_rom": None,
},
hyper310 = hyper310_jtag_params(
binaries = {
Expand Down Expand Up @@ -4421,8 +4420,7 @@ opentitan_test(
binaries = {
":rv_core_ibex_mem_test": "sram_program",
},
bitstream =
"//sw/device/silicon_creator/manuf/tests:bitstream_rom_exec_disabled_test_unlocked0",
otp = "//sw/device/silicon_creator/manuf/tests:otp_img_rom_exec_disabled_test_unlocked0",
tags = [
"broken",
"manual",
Expand Down

0 comments on commit cf38c1d

Please sign in to comment.