blob: 29a085ead1c3ab115bc9c07d0086ce479ebdbe2d [file] [log] [blame]
// Copyright lowRISC contributors.
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
{
# This auxiliary chip sim cfg specification focuses on chip level rom functional tests.
# Please see chip_sim_cfg.hjson for full setup details.
# Note: Please maintain alphabetical order.
tests: [
// ROM E2E tests.
{
name: rom_e2e_smoke
uvm_test_seq: chip_sw_base_vseq
sw_images: ["//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:signed:ot_flash_binary"]
en_run_modes: ["sw_test_mode_rom"]
run_opts: ["+sw_test_timeout_ns=20000000"]
}
{
name: rom_e2e_shutdown_exception_c
uvm_test_seq: chip_sw_rom_e2e_shutdown_exception_c_vseq
sw_images: ["//sw/device/silicon_creator/rom/e2e:rom_e2e_shutdown_exception_c:1:signed"]
en_run_modes: ["sw_test_mode_rom"]
run_opts: ["+sw_test_timeout_ns=20000000"]
run_timeout_mins: 120
}
{
name: rom_e2e_shutdown_output
uvm_test_seq: chip_sw_rom_e2e_shutdown_output_vseq
# Note: this is an unsigned test, as we are verifying a boot failure.
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:ot_flash_binary",
"//sw/device/silicon_creator/rom/e2e:otp_img_shutdown_output_test_unlocked0:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=20000000",
"+use_otp_image=OtpTypeCustom",
]
}
{
name: rom_e2e_boot_policy_valid_a_good_b_good_test_unlocked0
uvm_test_seq: chip_sw_base_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b:2:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_boot_policy_valid_test_unlocked0:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=410_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 480
}
{
name: rom_e2e_boot_policy_valid_a_good_b_good_dev
uvm_test_seq: chip_sw_base_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b:2:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_boot_policy_valid_dev:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=50_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 180
}
{
name: rom_e2e_boot_policy_valid_a_good_b_good_prod
uvm_test_seq: chip_sw_base_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b:2:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_boot_policy_valid_prod:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=50_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 180
}
{
name: rom_e2e_boot_policy_valid_a_good_b_good_prod_end
uvm_test_seq: chip_sw_base_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b:2:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_boot_policy_valid_prod_end:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=50_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 180
}
{
name: rom_e2e_boot_policy_valid_a_good_b_good_rma
uvm_test_seq: chip_sw_base_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b:2:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_boot_policy_valid_rma:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=50_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 180
}
{
name: rom_e2e_boot_policy_valid_a_good_b_bad_test_unlocked0
uvm_test_seq: chip_sw_base_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b_corrupted:2:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_boot_policy_valid_test_unlocked0:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=410_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 480
}
{
name: rom_e2e_boot_policy_valid_a_good_b_bad_dev
uvm_test_seq: chip_sw_base_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b_corrupted:2:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_boot_policy_valid_dev:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=50_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 180
}
{
name: rom_e2e_boot_policy_valid_a_good_b_bad_prod
uvm_test_seq: chip_sw_base_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b_corrupted:2:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_boot_policy_valid_prod:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=50_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 180
}
{
name: rom_e2e_boot_policy_valid_a_good_b_bad_prod_end
uvm_test_seq: chip_sw_base_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b_corrupted:2:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_boot_policy_valid_prod_end:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=50_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 180
}
{
name: rom_e2e_boot_policy_valid_a_good_b_bad_rma
uvm_test_seq: chip_sw_base_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b_corrupted:2:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_boot_policy_valid_rma:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=50_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 180
}
{
name: rom_e2e_boot_policy_valid_a_bad_b_good_test_unlocked0
uvm_test_seq: chip_sw_base_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a_corrupted:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b:2:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_boot_policy_valid_test_unlocked0:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=410_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 480
}
{
name: rom_e2e_boot_policy_valid_a_bad_b_good_dev
uvm_test_seq: chip_sw_base_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a_corrupted:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b:2:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_boot_policy_valid_dev:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=50_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 180
}
{
name: rom_e2e_boot_policy_valid_a_bad_b_good_prod
uvm_test_seq: chip_sw_base_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a_corrupted:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b:2:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_boot_policy_valid_prod:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=50_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 180
}
{
name: rom_e2e_boot_policy_valid_a_bad_b_good_prod_end
uvm_test_seq: chip_sw_base_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a_corrupted:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b:2:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_boot_policy_valid_prod_end:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=50_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 180
}
{
name: rom_e2e_boot_policy_valid_a_bad_b_good_rma
uvm_test_seq: chip_sw_base_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a_corrupted:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b:2:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_boot_policy_valid_rma:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=50_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 180
}
{
name: rom_e2e_sigverify_always_a_bad_b_bad_test_unlocked0
uvm_test_seq: chip_sw_rom_e2e_sigverify_always_a_bad_b_bad_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a_corrupted:1:ot_flash_binary:signed:fake_test_key_0",
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b_corrupted:2:ot_flash_binary:signed:fake_test_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_always_test_unlocked0:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=410_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 480
}
{
name: rom_e2e_sigverify_always_a_bad_b_bad_dev
uvm_test_seq: chip_sw_rom_e2e_sigverify_always_a_bad_b_bad_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a_corrupted:1:ot_flash_binary:signed:fake_dev_key_0",
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b_corrupted:2:ot_flash_binary:signed:fake_dev_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_always_dev:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=50_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 120
}
{
name: rom_e2e_sigverify_always_a_bad_b_bad_prod
uvm_test_seq: chip_sw_rom_e2e_sigverify_always_a_bad_b_bad_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a_corrupted:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b_corrupted:2:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_always_prod:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=50_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 120
}
{
name: rom_e2e_sigverify_always_a_bad_b_bad_prod_end
uvm_test_seq: chip_sw_rom_e2e_sigverify_always_a_bad_b_bad_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a_corrupted:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b_corrupted:2:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_always_prod_end:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=50_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 120
}
{
name: rom_e2e_sigverify_always_a_bad_b_bad_rma
uvm_test_seq: chip_sw_rom_e2e_sigverify_always_a_bad_b_bad_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a_corrupted:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b_corrupted:2:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_always_rma:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=50_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 120
}
{
name: rom_e2e_sigverify_always_a_bad_b_nothing_test_unlocked0
// We can use the same vseq as the `*_a_bad_b_bad_*` tests above, as we expect the same ROM boot fault value.
uvm_test_seq: chip_sw_rom_e2e_sigverify_always_a_bad_b_bad_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a_corrupted:1:ot_flash_binary:signed:fake_test_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_always_test_unlocked0:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=410_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 480
}
{
name: rom_e2e_sigverify_always_a_bad_b_nothing_dev
// We can use the same vseq as the `*_a_bad_b_bad_*` tests above, as we expect the same ROM boot fault value.
uvm_test_seq: chip_sw_rom_e2e_sigverify_always_a_bad_b_bad_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a_corrupted:1:ot_flash_binary:signed:fake_dev_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_always_dev:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=50_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 120
}
{
name: rom_e2e_sigverify_always_a_bad_b_nothing_prod
// We can use the same vseq as the `*_a_bad_b_bad_*` tests above, as we expect the same ROM boot fault value.
uvm_test_seq: chip_sw_rom_e2e_sigverify_always_a_bad_b_bad_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a_corrupted:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_always_prod:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=50_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 120
}
{
name: rom_e2e_sigverify_always_a_bad_b_nothing_prod_end
// We can use the same vseq as the `*_a_bad_b_bad_*` tests above, as we expect the same ROM boot fault value.
uvm_test_seq: chip_sw_rom_e2e_sigverify_always_a_bad_b_bad_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a_corrupted:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_always_prod_end:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=50_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 120
}
{
name: rom_e2e_sigverify_always_a_bad_b_nothing_rma
// We can use the same vseq as the `*_a_bad_b_bad_*` tests above, as we expect the same ROM boot fault value.
uvm_test_seq: chip_sw_rom_e2e_sigverify_always_a_bad_b_bad_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a_corrupted:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_always_rma:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=50_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 120
}
{
name: rom_e2e_sigverify_always_a_nothing_b_bad_test_unlocked0
// We can use the same vseq as the `*_a_bad_b_bad_*` tests above, as we expect the same ROM boot fault value.
uvm_test_seq: chip_sw_rom_e2e_sigverify_always_a_bad_b_bad_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b_corrupted:1:ot_flash_binary:signed:fake_test_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_always_test_unlocked0:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=410_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 480
}
{
name: rom_e2e_sigverify_always_a_nothing_b_bad_dev
// We can use the same vseq as the `*_a_bad_b_bad_*` tests above, as we expect the same ROM boot fault value.
uvm_test_seq: chip_sw_rom_e2e_sigverify_always_a_bad_b_bad_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b_corrupted:1:ot_flash_binary:signed:fake_dev_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_always_dev:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=50_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 120
}
{
name: rom_e2e_sigverify_always_a_nothing_b_bad_prod
// We can use the same vseq as the `*_a_bad_b_bad_*` tests above, as we expect the same ROM boot fault value.
uvm_test_seq: chip_sw_rom_e2e_sigverify_always_a_bad_b_bad_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b_corrupted:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_always_prod:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=50_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 120
}
{
name: rom_e2e_sigverify_always_a_nothing_b_bad_prod_end
// We can use the same vseq as the `*_a_bad_b_bad_*` tests above, as we expect the same ROM boot fault value.
uvm_test_seq: chip_sw_rom_e2e_sigverify_always_a_bad_b_bad_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b_corrupted:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_always_prod_end:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=50_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 120
}
{
name: rom_e2e_sigverify_always_a_nothing_b_bad_rma
// We can use the same vseq as the `*_a_bad_b_bad_*` tests above, as we expect the same ROM boot fault value.
uvm_test_seq: chip_sw_rom_e2e_sigverify_always_a_bad_b_bad_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b_corrupted:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_always_rma:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=50_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 120
}
{
name: rom_e2e_asm_init_test_unlocked0
uvm_test_seq: chip_sw_rom_e2e_asm_init_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:signed:ot_flash_binary:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_e2e_bootstrap_entry_test_unlocked0:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+use_otp_image=OtpTypeCustom",
"+sw_test_timeout_ns=410_000_000",
]
run_timeout_mins: 480
}
{
name: rom_e2e_asm_init_dev
uvm_test_seq: chip_sw_rom_e2e_asm_init_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:signed:ot_flash_binary:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_e2e_bootstrap_entry_dev:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+use_otp_image=OtpTypeCustom",
"+sw_test_timeout_ns=20000000",
]
run_timeout_mins: 180
}
{
name: rom_e2e_asm_init_prod
uvm_test_seq: chip_sw_rom_e2e_asm_init_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:signed:ot_flash_binary:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_e2e_bootstrap_entry_prod:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+use_otp_image=OtpTypeCustom",
"+sw_test_timeout_ns=20000000",
]
run_timeout_mins: 180
}
{
name: rom_e2e_asm_init_prod_end
uvm_test_seq: chip_sw_rom_e2e_asm_init_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:signed:ot_flash_binary:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_e2e_bootstrap_entry_prod_end:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+use_otp_image=OtpTypeCustom",
"+sw_test_timeout_ns=20000000",
]
run_timeout_mins: 180
}
{
name: rom_e2e_asm_init_rma
uvm_test_seq: chip_sw_rom_e2e_asm_init_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:signed:ot_flash_binary:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_e2e_bootstrap_entry_rma:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+use_otp_image=OtpTypeCustom",
"+sw_test_timeout_ns=20000000",
]
run_timeout_mins: 180
}
{
name: rom_e2e_jtag_debug_test_unlocked0
uvm_test_seq: chip_sw_rom_e2e_jtag_debug_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:img_test_unlocked0_exec_disabled:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+use_jtag_dmi=1",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 120
}
{
name: rom_e2e_jtag_debug_dev
uvm_test_seq: chip_sw_rom_e2e_jtag_debug_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:img_dev_exec_disabled:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+use_jtag_dmi=1",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 120
}
{
name: rom_e2e_jtag_debug_rma
uvm_test_seq: chip_sw_rom_e2e_jtag_debug_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:img_rma_exec_disabled:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+use_jtag_dmi=1",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 120
}
{
name: rom_e2e_jtag_inject_test_unlocked0
uvm_test_seq: chip_sw_rom_e2e_jtag_inject_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:img_dev_exec_disabled:4",
"//sw/device/examples/sram_program:sram_program:5",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+use_jtag_dmi=1",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 200
}
{
name: rom_e2e_jtag_inject_dev
uvm_test_seq: chip_sw_rom_e2e_jtag_inject_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:img_dev_exec_disabled:4",
"//sw/device/examples/sram_program:sram_program:5",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+use_jtag_dmi=1",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 200
}
{
name: rom_e2e_jtag_inject_rma
uvm_test_seq: chip_sw_rom_e2e_jtag_inject_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:img_dev_exec_disabled:4",
"//sw/device/examples/sram_program:sram_program:5",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+use_jtag_dmi=1",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 200
}
{
name: rom_e2e_static_critical
uvm_test_seq: chip_sw_base_vseq
sw_images: ["//sw/device/silicon_creator/rom/e2e:rom_e2e_static_critical:1:signed"]
en_run_modes: ["sw_test_mode_rom"]
run_opts: ["+sw_test_timeout_ns=20000000"]
}
{
name: rom_e2e_keymgr_init_rom_ext_meas
uvm_test_seq: chip_sw_base_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:rom_e2e_keymgr_init_test:1:signed:ot_flash_binary",
"//sw/device/silicon_creator/rom/e2e:otp_img_keymgr_rom_ext_meas:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=20_000_000",
"+use_otp_image=OtpTypeCustom",
]
run_timeout_mins: 120
}
{
name: rom_e2e_keymgr_init_rom_ext_no_meas
uvm_test_seq: chip_sw_base_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:rom_e2e_keymgr_init_test:1:signed:ot_flash_binary",
"//sw/device/silicon_creator/rom/e2e:otp_img_keymgr_rom_ext_no_meas:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=20_000_000",
"+use_otp_image=OtpTypeCustom",
]
run_timeout_mins: 120
}
{
name: rom_e2e_keymgr_init_rom_ext_invalid_meas
uvm_test_seq: chip_sw_base_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:rom_e2e_keymgr_init_test:1:signed:ot_flash_binary",
"//sw/device/silicon_creator/rom/e2e:otp_img_keymgr_rom_ext_invalid_meas:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=20_000_000",
"+use_otp_image=OtpTypeCustom",
]
run_timeout_mins: 120
}
{
name: rom_e2e_sigverify_mod_exp_test_unlocked0_otbn
uvm_test_seq: chip_sw_base_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_sigverify_mod_exp:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_mod_exp_test_unlocked0_otbn:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=200_000_000"
"+use_otp_image=OtpTypeCustom",
]
run_timeout_mins: 480
}
{
name: rom_e2e_sigverify_mod_exp_test_unlocked0_sw
uvm_test_seq: chip_sw_base_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_sigverify_mod_exp:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_mod_exp_test_unlocked0_sw:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=200_000_000"
"+use_otp_image=OtpTypeCustom",
]
run_timeout_mins: 480
}
{
name: rom_e2e_sigverify_mod_exp_dev_otbn
uvm_test_seq: chip_sw_base_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_sigverify_mod_exp:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_mod_exp_dev_otbn:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=20_000_000"
"+use_otp_image=OtpTypeCustom",
]
run_timeout_mins: 120
}
{
name: rom_e2e_sigverify_mod_exp_dev_sw
uvm_test_seq: chip_sw_base_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_sigverify_mod_exp:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_mod_exp_dev_sw:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=20_000_000"
"+use_otp_image=OtpTypeCustom",
]
run_timeout_mins: 120
}
{
name: rom_e2e_sigverify_mod_exp_prod_otbn
uvm_test_seq: chip_sw_base_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_sigverify_mod_exp:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_mod_exp_prod_otbn:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=20_000_000"
"+use_otp_image=OtpTypeCustom",
]
run_timeout_mins: 120
}
{
name: rom_e2e_sigverify_mod_exp_prod_sw
uvm_test_seq: chip_sw_base_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_sigverify_mod_exp:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_mod_exp_prod_sw:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=20_000_000"
"+use_otp_image=OtpTypeCustom",
]
run_timeout_mins: 120
}
{
name: rom_e2e_sigverify_mod_exp_prod_end_otbn
uvm_test_seq: chip_sw_base_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_sigverify_mod_exp:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_mod_exp_prod_end_otbn:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=20_000_000"
"+use_otp_image=OtpTypeCustom",
]
run_timeout_mins: 120
}
{
name: rom_e2e_sigverify_mod_exp_prod_end_sw
uvm_test_seq: chip_sw_base_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_sigverify_mod_exp:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_mod_exp_prod_end_sw:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=20_000_000"
"+use_otp_image=OtpTypeCustom",
]
run_timeout_mins: 120
}
{
name: rom_e2e_sigverify_mod_exp_rma_otbn
uvm_test_seq: chip_sw_base_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_sigverify_mod_exp:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_mod_exp_rma_otbn:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=20_000_000"
"+use_otp_image=OtpTypeCustom",
]
run_timeout_mins: 120
}
{
name: rom_e2e_sigverify_mod_exp_rma_sw
uvm_test_seq: chip_sw_base_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_sigverify_mod_exp:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_mod_exp_rma_sw:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=20_000_000"
"+use_otp_image=OtpTypeCustom",
]
run_timeout_mins: 120
}
// Signed chip-level tests to be run with ROM, instead of test ROM.
{
name: chip_sw_uart_smoketest_signed
uvm_test_seq: chip_sw_uart_smoke_vseq
sw_images: ["//sw/device/tests:uart_smoketest_signed:1:signed"]
en_run_modes: ["sw_test_mode_rom"]
run_opts: ["+sw_test_timeout_ns=20000000"]
run_timeout_mins: 180
}
// ROM func tests to be run with test ROM.
{
name: rom_keymgr_functest
uvm_test_seq: chip_sw_base_vseq
sw_images: ["//sw/device/silicon_creator/lib/drivers:keymgr_functest:1"]
en_run_modes: ["sw_test_mode_test_rom"]
run_opts: ["+sw_test_timeout_ns=10_000_000"]
}
]
regressions: [
{
name: rom_functests
tests: ["rom_keymgr_functest"]
}
{
name: signed
tests: ["chip_sw_uart_smoketest_signed"]
}
{
name: rom_e2e_boot_policy_valid
tests: [
"rom_e2e_boot_policy_valid_a_good_b_good_test_unlocked0",
"rom_e2e_boot_policy_valid_a_good_b_good_dev",
"rom_e2e_boot_policy_valid_a_good_b_good_prod",
"rom_e2e_boot_policy_valid_a_good_b_good_prod_end",
"rom_e2e_boot_policy_valid_a_good_b_good_rma",
"rom_e2e_boot_policy_valid_a_good_b_bad_test_unlocked0",
"rom_e2e_boot_policy_valid_a_good_b_bad_dev",
"rom_e2e_boot_policy_valid_a_good_b_bad_prod",
"rom_e2e_boot_policy_valid_a_good_b_bad_prod_end",
"rom_e2e_boot_policy_valid_a_good_b_bad_rma",
"rom_e2e_boot_policy_valid_a_bad_b_good_test_unlocked0",
"rom_e2e_boot_policy_valid_a_bad_b_good_dev",
"rom_e2e_boot_policy_valid_a_bad_b_good_prod",
"rom_e2e_boot_policy_valid_a_bad_b_good_prod_end",
"rom_e2e_boot_policy_valid_a_bad_b_good_rma",
]
}
{
name: rom_e2e_sigverify_always
tests: [
"rom_e2e_sigverify_always_a_bad_b_bad_test_unlocked0",
"rom_e2e_sigverify_always_a_bad_b_bad_dev",
"rom_e2e_sigverify_always_a_bad_b_bad_prod",
"rom_e2e_sigverify_always_a_bad_b_bad_prod_end",
"rom_e2e_sigverify_always_a_bad_b_bad_rma",
"rom_e2e_sigverify_always_a_bad_b_nothing_test_unlocked0",
"rom_e2e_sigverify_always_a_bad_b_nothing_dev",
"rom_e2e_sigverify_always_a_bad_b_nothing_prod",
"rom_e2e_sigverify_always_a_bad_b_nothing_prod_end",
"rom_e2e_sigverify_always_a_bad_b_nothing_rma",
"rom_e2e_sigverify_always_a_nothing_b_bad_test_unlocked0",
"rom_e2e_sigverify_always_a_nothing_b_bad_dev",
"rom_e2e_sigverify_always_a_nothing_b_bad_prod",
"rom_e2e_sigverify_always_a_nothing_b_bad_prod_end",
"rom_e2e_sigverify_always_a_nothing_b_bad_rma",
]
}
{
name: rom_e2e_asm_init
tests: [
"rom_e2e_asm_init_test_unlocked0",
"rom_e2e_asm_init_dev",
"rom_e2e_asm_init_prod",
"rom_e2e_asm_init_prod_end",
"rom_e2e_asm_init_rma",
]
}
{
name: rom_e2e_keymgr_init
tests: [
"rom_e2e_keymgr_init_rom_ext_meas",
"rom_e2e_keymgr_init_rom_ext_no_meas",
"rom_e2e_keymgr_init_rom_ext_invalid_meas",
]
}
{
name: rom_e2e_sigverify_mod_exp
tests: [
"rom_e2e_sigverify_mod_exp_test_unlocked0_otbn",
"rom_e2e_sigverify_mod_exp_test_unlocked0_sw",
"rom_e2e_sigverify_mod_exp_dev_otbn",
"rom_e2e_sigverify_mod_exp_dev_sw",
"rom_e2e_sigverify_mod_exp_prod_otbn",
"rom_e2e_sigverify_mod_exp_prod_sw",
"rom_e2e_sigverify_mod_exp_prod_end_otbn",
"rom_e2e_sigverify_mod_exp_prod_end_sw",
"rom_e2e_sigverify_mod_exp_rma_otbn",
"rom_e2e_sigverify_mod_exp_rma_sw",
]
}
{
name: rom_e2e_jtag_debug
tests: [
"rom_e2e_jtag_debug_test_unlocked0",
"rom_e2e_jtag_debug_dev",
"rom_e2e_jtag_debug_rma",
]
}
{
name: rom_e2e_jtag_inject
tests: [
"rom_e2e_jtag_inject_test_unlocked0",
"rom_e2e_jtag_inject_dev",
"rom_e2e_jtag_inject_rma",
]
}
]
}