Srikrishna Iyer | c0a566b | 2021-05-11 16:45:04 -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 | { |
Timothy Trippel | 0703f96 | 2021-09-02 21:08:20 +0000 | [diff] [blame] | 5 | # This auxiliary chip sim cfg specification focuses on chip level smoke tests. |
Srikrishna Iyer | c0a566b | 2021-05-11 16:45:04 -0700 | [diff] [blame] | 6 | # Please see chip_sim_cfg.hjson for full setup details. |
| 7 | |
| 8 | # Note: Please maintain alphabetical order. |
| 9 | tests: [ |
| 10 | { |
Srikrishna Iyer | ffcfcff | 2021-09-28 22:02:52 -0700 | [diff] [blame] | 11 | name: chip_sw_aes_smoketest |
Srikrishna Iyer | c0a566b | 2021-05-11 16:45:04 -0700 | [diff] [blame] | 12 | uvm_test_seq: chip_sw_base_vseq |
Timothy Trippel | ecd8436 | 2022-07-19 17:53:17 -0700 | [diff] [blame] | 13 | sw_images: ["//sw/device/tests:aes_smoketest:1"] |
Timothy Trippel | 7a553fb | 2022-01-25 22:02:44 -0800 | [diff] [blame] | 14 | en_run_modes: ["sw_test_mode_test_rom"] |
Srikrishna Iyer | c0a566b | 2021-05-11 16:45:04 -0700 | [diff] [blame] | 15 | } |
| 16 | { |
Srikrishna Iyer | ffcfcff | 2021-09-28 22:02:52 -0700 | [diff] [blame] | 17 | name: chip_sw_aon_timer_smoketest |
Srikrishna Iyer | c0a566b | 2021-05-11 16:45:04 -0700 | [diff] [blame] | 18 | uvm_test_seq: chip_sw_base_vseq |
Timothy Trippel | ecd8436 | 2022-07-19 17:53:17 -0700 | [diff] [blame] | 19 | sw_images: ["//sw/device/tests:aon_timer_smoketest:1"] |
Timothy Trippel | 7a553fb | 2022-01-25 22:02:44 -0800 | [diff] [blame] | 20 | en_run_modes: ["sw_test_mode_test_rom"] |
Srikrishna Iyer | c0a566b | 2021-05-11 16:45:04 -0700 | [diff] [blame] | 21 | } |
| 22 | { |
Srikrishna Iyer | ffcfcff | 2021-09-28 22:02:52 -0700 | [diff] [blame] | 23 | name: chip_sw_clkmgr_smoketest |
Srikrishna Iyer | c0a566b | 2021-05-11 16:45:04 -0700 | [diff] [blame] | 24 | uvm_test_seq: chip_sw_base_vseq |
Timothy Trippel | ecd8436 | 2022-07-19 17:53:17 -0700 | [diff] [blame] | 25 | sw_images: ["//sw/device/tests:clkmgr_smoketest:1"] |
Timothy Trippel | 7a553fb | 2022-01-25 22:02:44 -0800 | [diff] [blame] | 26 | en_run_modes: ["sw_test_mode_test_rom"] |
Srikrishna Iyer | c0a566b | 2021-05-11 16:45:04 -0700 | [diff] [blame] | 27 | } |
Srikrishna Iyer | 30d626c | 2022-03-16 19:00:34 -0700 | [diff] [blame] | 28 | { |
| 29 | name: chip_sw_csrng_smoketest |
| 30 | uvm_test_seq: chip_sw_base_vseq |
Timothy Trippel | ecd8436 | 2022-07-19 17:53:17 -0700 | [diff] [blame] | 31 | sw_images: ["//sw/device/tests:csrng_smoketest:1"] |
Srikrishna Iyer | 30d626c | 2022-03-16 19:00:34 -0700 | [diff] [blame] | 32 | en_run_modes: ["sw_test_mode_test_rom"] |
| 33 | } |
Srikrishna Iyer | c0a566b | 2021-05-11 16:45:04 -0700 | [diff] [blame] | 34 | { |
Srikrishna Iyer | ffcfcff | 2021-09-28 22:02:52 -0700 | [diff] [blame] | 35 | name: chip_sw_entropy_src_smoketest |
Srikrishna Iyer | c0a566b | 2021-05-11 16:45:04 -0700 | [diff] [blame] | 36 | uvm_test_seq: chip_sw_base_vseq |
Timothy Trippel | ecd8436 | 2022-07-19 17:53:17 -0700 | [diff] [blame] | 37 | sw_images: ["//sw/device/tests:entropy_src_smoketest:1"] |
Timothy Trippel | 7a553fb | 2022-01-25 22:02:44 -0800 | [diff] [blame] | 38 | en_run_modes: ["sw_test_mode_test_rom"] |
Srikrishna Iyer | 915a624 | 2022-08-20 09:51:19 -0700 | [diff] [blame] | 39 | run_opts: ["+rng_srate_value_min=15", "+rng_srate_value_max=30"] |
Srikrishna Iyer | c0a566b | 2021-05-11 16:45:04 -0700 | [diff] [blame] | 40 | } |
| 41 | { |
Srikrishna Iyer | ffcfcff | 2021-09-28 22:02:52 -0700 | [diff] [blame] | 42 | name: chip_sw_gpio_smoketest |
Srikrishna Iyer | c0a566b | 2021-05-11 16:45:04 -0700 | [diff] [blame] | 43 | uvm_test_seq: chip_sw_gpio_smoke_vseq |
Timothy Trippel | ecd8436 | 2022-07-19 17:53:17 -0700 | [diff] [blame] | 44 | sw_images: ["//sw/device/tests:gpio_smoketest:1"] |
Timothy Trippel | 7a553fb | 2022-01-25 22:02:44 -0800 | [diff] [blame] | 45 | en_run_modes: ["sw_test_mode_test_rom"] |
Srikrishna Iyer | c0a566b | 2021-05-11 16:45:04 -0700 | [diff] [blame] | 46 | } |
| 47 | { |
Srikrishna Iyer | ffcfcff | 2021-09-28 22:02:52 -0700 | [diff] [blame] | 48 | name: chip_sw_hmac_smoketest |
Srikrishna Iyer | c0a566b | 2021-05-11 16:45:04 -0700 | [diff] [blame] | 49 | uvm_test_seq: chip_sw_base_vseq |
Timothy Trippel | ecd8436 | 2022-07-19 17:53:17 -0700 | [diff] [blame] | 50 | sw_images: ["//sw/device/tests:hmac_smoketest:1"] |
Timothy Trippel | 7a553fb | 2022-01-25 22:02:44 -0800 | [diff] [blame] | 51 | en_run_modes: ["sw_test_mode_test_rom"] |
Srikrishna Iyer | c0a566b | 2021-05-11 16:45:04 -0700 | [diff] [blame] | 52 | } |
| 53 | { |
Srikrishna Iyer | ffcfcff | 2021-09-28 22:02:52 -0700 | [diff] [blame] | 54 | name: chip_sw_kmac_smoketest |
Srikrishna Iyer | c0a566b | 2021-05-11 16:45:04 -0700 | [diff] [blame] | 55 | uvm_test_seq: chip_sw_base_vseq |
Timothy Trippel | ecd8436 | 2022-07-19 17:53:17 -0700 | [diff] [blame] | 56 | sw_images: ["//sw/device/tests:kmac_smoketest:1"] |
Timothy Trippel | 7a553fb | 2022-01-25 22:02:44 -0800 | [diff] [blame] | 57 | en_run_modes: ["sw_test_mode_test_rom"] |
Srikrishna Iyer | c0a566b | 2021-05-11 16:45:04 -0700 | [diff] [blame] | 58 | } |
| 59 | { |
Srikrishna Iyer | ffcfcff | 2021-09-28 22:02:52 -0700 | [diff] [blame] | 60 | name: chip_sw_otbn_smoketest |
Srikrishna Iyer | c0a566b | 2021-05-11 16:45:04 -0700 | [diff] [blame] | 61 | uvm_test_seq: chip_sw_base_vseq |
Timothy Trippel | ecd8436 | 2022-07-19 17:53:17 -0700 | [diff] [blame] | 62 | sw_images: ["//sw/device/tests:otbn_smoketest:1"] |
Timothy Trippel | 7a553fb | 2022-01-25 22:02:44 -0800 | [diff] [blame] | 63 | en_run_modes: ["sw_test_mode_test_rom"] |
Srikrishna Iyer | c0a566b | 2021-05-11 16:45:04 -0700 | [diff] [blame] | 64 | } |
| 65 | { |
Srikrishna Iyer | ffcfcff | 2021-09-28 22:02:52 -0700 | [diff] [blame] | 66 | name: chip_sw_otp_ctrl_smoketest |
Srikrishna Iyer | c0a566b | 2021-05-11 16:45:04 -0700 | [diff] [blame] | 67 | uvm_test_seq: chip_sw_base_vseq |
Timothy Trippel | ecd8436 | 2022-07-19 17:53:17 -0700 | [diff] [blame] | 68 | sw_images: ["//sw/device/tests:otp_ctrl_smoketest:1"] |
Timothy Trippel | 7a553fb | 2022-01-25 22:02:44 -0800 | [diff] [blame] | 69 | en_run_modes: ["sw_test_mode_test_rom"] |
Srikrishna Iyer | c0a566b | 2021-05-11 16:45:04 -0700 | [diff] [blame] | 70 | } |
| 71 | { |
Srikrishna Iyer | ffcfcff | 2021-09-28 22:02:52 -0700 | [diff] [blame] | 72 | name: chip_sw_pwrmgr_smoketest |
Srikrishna Iyer | c0a566b | 2021-05-11 16:45:04 -0700 | [diff] [blame] | 73 | uvm_test_seq: chip_sw_base_vseq |
Timothy Trippel | ecd8436 | 2022-07-19 17:53:17 -0700 | [diff] [blame] | 74 | sw_images: ["//sw/device/tests:pwrmgr_smoketest:1"] |
Timothy Trippel | 7a553fb | 2022-01-25 22:02:44 -0800 | [diff] [blame] | 75 | en_run_modes: ["sw_test_mode_test_rom"] |
Timothy Chen | 330556a | 2022-05-06 19:12:57 -0700 | [diff] [blame] | 76 | run_opts: ["+sw_test_timeout_ns=10000000"] |
Srikrishna Iyer | c0a566b | 2021-05-11 16:45:04 -0700 | [diff] [blame] | 77 | } |
| 78 | { |
Weicai Yang | e28e22a | 2022-08-08 15:13:29 -0700 | [diff] [blame] | 79 | name: chip_sw_pwrmgr_usbdev_smoketest |
| 80 | uvm_test_seq: chip_sw_base_vseq |
| 81 | sw_images: ["//sw/device/tests/sim_dv:pwrmgr_usbdev_smoketest:1"] |
| 82 | en_run_modes: ["sw_test_mode_test_rom"] |
| 83 | } |
| 84 | { |
| 85 | name: chip_sw_rv_plic_smoketest |
| 86 | uvm_test_seq: chip_sw_base_vseq |
| 87 | sw_images: ["//sw/device/tests:rv_plic_smoketest:1"] |
| 88 | en_run_modes: ["sw_test_mode_test_rom"] |
| 89 | } |
| 90 | { |
Srikrishna Iyer | ffcfcff | 2021-09-28 22:02:52 -0700 | [diff] [blame] | 91 | name: chip_sw_rv_timer_smoketest |
Srikrishna Iyer | c0a566b | 2021-05-11 16:45:04 -0700 | [diff] [blame] | 92 | uvm_test_seq: chip_sw_base_vseq |
Timothy Trippel | ecd8436 | 2022-07-19 17:53:17 -0700 | [diff] [blame] | 93 | sw_images: ["//sw/device/tests:rv_timer_smoketest:1"] |
Timothy Trippel | 7a553fb | 2022-01-25 22:02:44 -0800 | [diff] [blame] | 94 | en_run_modes: ["sw_test_mode_test_rom"] |
Srikrishna Iyer | c0a566b | 2021-05-11 16:45:04 -0700 | [diff] [blame] | 95 | } |
| 96 | { |
Srikrishna Iyer | ffcfcff | 2021-09-28 22:02:52 -0700 | [diff] [blame] | 97 | name: chip_sw_rstmgr_smoketest |
Srikrishna Iyer | c0a566b | 2021-05-11 16:45:04 -0700 | [diff] [blame] | 98 | uvm_test_seq: chip_sw_base_vseq |
Timothy Trippel | ecd8436 | 2022-07-19 17:53:17 -0700 | [diff] [blame] | 99 | sw_images: ["//sw/device/tests:rstmgr_smoketest:1"] |
Timothy Trippel | 7a553fb | 2022-01-25 22:02:44 -0800 | [diff] [blame] | 100 | en_run_modes: ["sw_test_mode_test_rom"] |
Srikrishna Iyer | c0a566b | 2021-05-11 16:45:04 -0700 | [diff] [blame] | 101 | } |
| 102 | { |
Dave Williams | a0718ff | 2021-11-24 15:48:46 +0000 | [diff] [blame] | 103 | name: chip_sw_sram_ctrl_smoketest |
| 104 | uvm_test_seq: chip_sw_base_vseq |
Timothy Trippel | ecd8436 | 2022-07-19 17:53:17 -0700 | [diff] [blame] | 105 | sw_images: ["//sw/device/tests:sram_ctrl_smoketest:1"] |
Timothy Trippel | 7a553fb | 2022-01-25 22:02:44 -0800 | [diff] [blame] | 106 | en_run_modes: ["sw_test_mode_test_rom"] |
Dave Williams | a0718ff | 2021-11-24 15:48:46 +0000 | [diff] [blame] | 107 | } |
| 108 | { |
Srikrishna Iyer | ffcfcff | 2021-09-28 22:02:52 -0700 | [diff] [blame] | 109 | name: chip_sw_uart_smoketest |
Srikrishna Iyer | 73181b7 | 2022-09-11 02:38:10 -0700 | [diff] [blame] | 110 | uvm_test_seq: chip_sw_uart_smoke_vseq |
Timothy Trippel | ecd8436 | 2022-07-19 17:53:17 -0700 | [diff] [blame] | 111 | sw_images: ["//sw/device/tests:uart_smoketest:1"] |
Timothy Trippel | 7a553fb | 2022-01-25 22:02:44 -0800 | [diff] [blame] | 112 | en_run_modes: ["sw_test_mode_test_rom"] |
Srikrishna Iyer | c0a566b | 2021-05-11 16:45:04 -0700 | [diff] [blame] | 113 | } |
| 114 | ] |
| 115 | regressions: [ |
| 116 | { |
Timothy Chen | aae9bf8 | 2022-01-12 12:26:28 -0800 | [diff] [blame] | 117 | name: smoke |
| 118 | tests: ["chip_sw_pwrmgr_smoketest"] |
| 119 | } |
| 120 | { |
Srikrishna Iyer | c0a566b | 2021-05-11 16:45:04 -0700 | [diff] [blame] | 121 | name: dif |
Srikrishna Iyer | ffcfcff | 2021-09-28 22:02:52 -0700 | [diff] [blame] | 122 | tests: ["chip_sw_aes_smoketest", |
| 123 | "chip_sw_aon_timer_smoketest", |
| 124 | "chip_sw_clkmgr_smoketest", |
Miguel Osorio | f6b1fd8 | 2021-07-27 14:57:42 -0700 | [diff] [blame] | 125 | // TODO(lowrisc/opentitan#7505): Debug CSRNG generate bits mismatch. |
Srikrishna Iyer | 30d626c | 2022-03-16 19:00:34 -0700 | [diff] [blame] | 126 | "chip_sw_csrng_smoketest", |
Alexander Williams | 331d482 | 2022-03-01 13:18:26 -0800 | [diff] [blame] | 127 | // TODO(lowrisc/opentitan#10092): Remove dependency on uncontrolled environment. |
Srikrishna Iyer | ffcfcff | 2021-09-28 22:02:52 -0700 | [diff] [blame] | 128 | "chip_sw_entropy_src_smoketest", |
| 129 | "chip_sw_gpio_smoketest", |
| 130 | "chip_sw_hmac_smoketest", |
| 131 | "chip_sw_kmac_smoketest", |
| 132 | "chip_sw_otbn_smoketest", |
| 133 | "chip_sw_otp_ctrl_smoketest", |
| 134 | "chip_sw_rv_plic_smoketest", |
| 135 | "chip_sw_pwrmgr_smoketest", |
| 136 | "chip_sw_rv_timer_smoketest", |
| 137 | "chip_sw_rstmgr_smoketest", |
| 138 | "chip_sw_uart_smoketest", |
Srikrishna Iyer | c0a566b | 2021-05-11 16:45:04 -0700 | [diff] [blame] | 139 | ] |
| 140 | } |
| 141 | ] |
| 142 | } |