Timothy Chen | 652e97d | 2021-06-25 09:42:05 -0700 | [diff] [blame] | 1 | // Copyright lowRISC contributors. |
| 2 | // Licensed under the Apache License, Version 2.0, see LICENSE for details. |
| 3 | // SPDX-License-Identifier: Apache-2.0 |
| 4 | { |
Alphan Ulusoy | 776d2ab | 2022-08-13 16:47:14 -0400 | [diff] [blame] | 5 | # This auxiliary chip sim cfg specification focuses on chip level rom functional tests. |
Timothy Chen | 652e97d | 2021-06-25 09:42:05 -0700 | [diff] [blame] | 6 | # Please see chip_sim_cfg.hjson for full setup details. |
| 7 | |
| 8 | # Note: Please maintain alphabetical order. |
| 9 | tests: [ |
Alphan Ulusoy | 776d2ab | 2022-08-13 16:47:14 -0400 | [diff] [blame] | 10 | // ROM E2E tests. |
Timothy Trippel | 0a53139 | 2022-06-17 13:49:46 -0700 | [diff] [blame] | 11 | { |
Alphan Ulusoy | 776d2ab | 2022-08-13 16:47:14 -0400 | [diff] [blame] | 12 | name: rom_e2e_bootup_success |
Timothy Trippel | 0a53139 | 2022-06-17 13:49:46 -0700 | [diff] [blame] | 13 | uvm_test_seq: chip_sw_base_vseq |
Timothy Trippel | c8bac79 | 2022-08-18 23:46:01 -0700 | [diff] [blame] | 14 | sw_images: ["//sw/device/silicon_creator/rom/e2e:e2e_bootup_success:1:signed"] |
Alphan Ulusoy | 776d2ab | 2022-08-13 16:47:14 -0400 | [diff] [blame] | 15 | en_run_modes: ["sw_test_mode_rom"] |
Timothy Trippel | 0a53139 | 2022-06-17 13:49:46 -0700 | [diff] [blame] | 16 | run_opts: ["+sw_test_timeout_ns=20000000"] |
| 17 | } |
| 18 | |
Alphan Ulusoy | 776d2ab | 2022-08-13 16:47:14 -0400 | [diff] [blame] | 19 | // Signed chip-level tests to be run with ROM, instead of test ROM. |
Timothy Trippel | c64f7f5 | 2022-03-03 17:41:22 -0800 | [diff] [blame] | 20 | { |
| 21 | name: chip_sw_uart_smoketest_signed |
| 22 | uvm_test_seq: chip_sw_base_vseq |
Timothy Trippel | cc8c891 | 2022-08-17 17:25:16 -0700 | [diff] [blame^] | 23 | sw_images: ["//sw/device/tests:uart_smoketest_signed:1:signed"] |
Alphan Ulusoy | 776d2ab | 2022-08-13 16:47:14 -0400 | [diff] [blame] | 24 | en_run_modes: ["sw_test_mode_rom"] |
Timothy Chen | 2cf0ca4 | 2022-05-05 08:58:55 -0700 | [diff] [blame] | 25 | run_opts: ["+sw_test_timeout_ns=20000000"] |
Timothy Trippel | c64f7f5 | 2022-03-03 17:41:22 -0800 | [diff] [blame] | 26 | } |
| 27 | |
Alphan Ulusoy | 776d2ab | 2022-08-13 16:47:14 -0400 | [diff] [blame] | 28 | // ROM func tests to be run with test ROM. |
Timothy Chen | 652e97d | 2021-06-25 09:42:05 -0700 | [diff] [blame] | 29 | { |
Alphan Ulusoy | 776d2ab | 2022-08-13 16:47:14 -0400 | [diff] [blame] | 30 | name: rom_keymgr_functest |
Timothy Chen | 652e97d | 2021-06-25 09:42:05 -0700 | [diff] [blame] | 31 | uvm_test_seq: chip_sw_base_vseq |
Timothy Trippel | ecd8436 | 2022-07-19 17:53:17 -0700 | [diff] [blame] | 32 | sw_images: ["//sw/device/silicon_creator/lib/drivers:keymgr_functest:1"] |
Timothy Trippel | 7a553fb | 2022-01-25 22:02:44 -0800 | [diff] [blame] | 33 | en_run_modes: ["sw_test_mode_test_rom"] |
Timothy Chen | 1af590e | 2022-06-15 14:36:10 -0700 | [diff] [blame] | 34 | run_opts: ["+sw_test_timeout_ns=10000000"] |
Timothy Chen | 652e97d | 2021-06-25 09:42:05 -0700 | [diff] [blame] | 35 | } |
| 36 | ] |
Timothy Trippel | 7a553fb | 2022-01-25 22:02:44 -0800 | [diff] [blame] | 37 | |
Timothy Chen | 652e97d | 2021-06-25 09:42:05 -0700 | [diff] [blame] | 38 | regressions: [ |
| 39 | { |
Alphan Ulusoy | 776d2ab | 2022-08-13 16:47:14 -0400 | [diff] [blame] | 40 | name: rom_functests |
| 41 | tests: ["rom_keymgr_functest"] |
Timothy Chen | 652e97d | 2021-06-25 09:42:05 -0700 | [diff] [blame] | 42 | } |
Timothy Trippel | 80aa005 | 2022-03-07 22:56:44 -0800 | [diff] [blame] | 43 | { |
| 44 | name: signed |
| 45 | tests: ["chip_sw_uart_smoketest_signed"] |
| 46 | } |
Timothy Chen | 652e97d | 2021-06-25 09:42:05 -0700 | [diff] [blame] | 47 | ] |
| 48 | } |