blob: 64f8522cddbbc9887c0191612e5a7c39e88e052c [file] [log] [blame]
Srikrishna Iyerc0a566b2021-05-11 16:45:04 -07001// 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 Trippel0703f962021-09-02 21:08:20 +00005 # This auxiliary chip sim cfg specification focuses on chip level smoke tests.
Srikrishna Iyerc0a566b2021-05-11 16:45:04 -07006 # Please see chip_sim_cfg.hjson for full setup details.
7
8 # Note: Please maintain alphabetical order.
9 tests: [
10 {
Srikrishna Iyerffcfcff2021-09-28 22:02:52 -070011 name: chip_sw_aes_smoketest
Srikrishna Iyerc0a566b2021-05-11 16:45:04 -070012 uvm_test_seq: chip_sw_base_vseq
Timothy Trippelecd84362022-07-19 17:53:17 -070013 sw_images: ["//sw/device/tests:aes_smoketest:1"]
Timothy Trippel7a553fb2022-01-25 22:02:44 -080014 en_run_modes: ["sw_test_mode_test_rom"]
Srikrishna Iyerc0a566b2021-05-11 16:45:04 -070015 }
16 {
Srikrishna Iyerffcfcff2021-09-28 22:02:52 -070017 name: chip_sw_aon_timer_smoketest
Srikrishna Iyerc0a566b2021-05-11 16:45:04 -070018 uvm_test_seq: chip_sw_base_vseq
Timothy Trippelecd84362022-07-19 17:53:17 -070019 sw_images: ["//sw/device/tests:aon_timer_smoketest:1"]
Timothy Trippel7a553fb2022-01-25 22:02:44 -080020 en_run_modes: ["sw_test_mode_test_rom"]
Srikrishna Iyerc0a566b2021-05-11 16:45:04 -070021 }
22 {
Srikrishna Iyerffcfcff2021-09-28 22:02:52 -070023 name: chip_sw_clkmgr_smoketest
Srikrishna Iyerc0a566b2021-05-11 16:45:04 -070024 uvm_test_seq: chip_sw_base_vseq
Timothy Trippelecd84362022-07-19 17:53:17 -070025 sw_images: ["//sw/device/tests:clkmgr_smoketest:1"]
Timothy Trippel7a553fb2022-01-25 22:02:44 -080026 en_run_modes: ["sw_test_mode_test_rom"]
Srikrishna Iyerc0a566b2021-05-11 16:45:04 -070027 }
Srikrishna Iyer30d626c2022-03-16 19:00:34 -070028 {
29 name: chip_sw_csrng_smoketest
30 uvm_test_seq: chip_sw_base_vseq
Timothy Trippelecd84362022-07-19 17:53:17 -070031 sw_images: ["//sw/device/tests:csrng_smoketest:1"]
Srikrishna Iyer30d626c2022-03-16 19:00:34 -070032 en_run_modes: ["sw_test_mode_test_rom"]
33 }
Srikrishna Iyerc0a566b2021-05-11 16:45:04 -070034 {
Srikrishna Iyerffcfcff2021-09-28 22:02:52 -070035 name: chip_sw_entropy_src_smoketest
Srikrishna Iyerc0a566b2021-05-11 16:45:04 -070036 uvm_test_seq: chip_sw_base_vseq
Timothy Trippelecd84362022-07-19 17:53:17 -070037 sw_images: ["//sw/device/tests:entropy_src_smoketest:1"]
Timothy Trippel7a553fb2022-01-25 22:02:44 -080038 en_run_modes: ["sw_test_mode_test_rom"]
Srikrishna Iyer915a6242022-08-20 09:51:19 -070039 run_opts: ["+rng_srate_value_min=15", "+rng_srate_value_max=30"]
Srikrishna Iyerc0a566b2021-05-11 16:45:04 -070040 }
41 {
Srikrishna Iyerffcfcff2021-09-28 22:02:52 -070042 name: chip_sw_gpio_smoketest
Srikrishna Iyerc0a566b2021-05-11 16:45:04 -070043 uvm_test_seq: chip_sw_gpio_smoke_vseq
Timothy Trippelecd84362022-07-19 17:53:17 -070044 sw_images: ["//sw/device/tests:gpio_smoketest:1"]
Timothy Trippel7a553fb2022-01-25 22:02:44 -080045 en_run_modes: ["sw_test_mode_test_rom"]
Srikrishna Iyerc0a566b2021-05-11 16:45:04 -070046 }
47 {
Srikrishna Iyerffcfcff2021-09-28 22:02:52 -070048 name: chip_sw_hmac_smoketest
Srikrishna Iyerc0a566b2021-05-11 16:45:04 -070049 uvm_test_seq: chip_sw_base_vseq
Timothy Trippelecd84362022-07-19 17:53:17 -070050 sw_images: ["//sw/device/tests:hmac_smoketest:1"]
Timothy Trippel7a553fb2022-01-25 22:02:44 -080051 en_run_modes: ["sw_test_mode_test_rom"]
Srikrishna Iyerc0a566b2021-05-11 16:45:04 -070052 }
53 {
Srikrishna Iyerffcfcff2021-09-28 22:02:52 -070054 name: chip_sw_kmac_smoketest
Srikrishna Iyerc0a566b2021-05-11 16:45:04 -070055 uvm_test_seq: chip_sw_base_vseq
Timothy Trippelecd84362022-07-19 17:53:17 -070056 sw_images: ["//sw/device/tests:kmac_smoketest:1"]
Timothy Trippel7a553fb2022-01-25 22:02:44 -080057 en_run_modes: ["sw_test_mode_test_rom"]
Srikrishna Iyerc0a566b2021-05-11 16:45:04 -070058 }
59 {
Srikrishna Iyerffcfcff2021-09-28 22:02:52 -070060 name: chip_sw_otbn_smoketest
Srikrishna Iyerc0a566b2021-05-11 16:45:04 -070061 uvm_test_seq: chip_sw_base_vseq
Timothy Trippelecd84362022-07-19 17:53:17 -070062 sw_images: ["//sw/device/tests:otbn_smoketest:1"]
Timothy Trippel7a553fb2022-01-25 22:02:44 -080063 en_run_modes: ["sw_test_mode_test_rom"]
Srikrishna Iyerc0a566b2021-05-11 16:45:04 -070064 }
65 {
Srikrishna Iyerffcfcff2021-09-28 22:02:52 -070066 name: chip_sw_otp_ctrl_smoketest
Srikrishna Iyerc0a566b2021-05-11 16:45:04 -070067 uvm_test_seq: chip_sw_base_vseq
Timothy Trippelecd84362022-07-19 17:53:17 -070068 sw_images: ["//sw/device/tests:otp_ctrl_smoketest:1"]
Timothy Trippel7a553fb2022-01-25 22:02:44 -080069 en_run_modes: ["sw_test_mode_test_rom"]
Srikrishna Iyerc0a566b2021-05-11 16:45:04 -070070 }
71 {
Srikrishna Iyerffcfcff2021-09-28 22:02:52 -070072 name: chip_sw_pwrmgr_smoketest
Srikrishna Iyerc0a566b2021-05-11 16:45:04 -070073 uvm_test_seq: chip_sw_base_vseq
Timothy Trippelecd84362022-07-19 17:53:17 -070074 sw_images: ["//sw/device/tests:pwrmgr_smoketest:1"]
Timothy Trippel7a553fb2022-01-25 22:02:44 -080075 en_run_modes: ["sw_test_mode_test_rom"]
Timothy Chen330556a2022-05-06 19:12:57 -070076 run_opts: ["+sw_test_timeout_ns=10000000"]
Srikrishna Iyerc0a566b2021-05-11 16:45:04 -070077 }
78 {
Weicai Yange28e22a2022-08-08 15:13:29 -070079 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 Iyerffcfcff2021-09-28 22:02:52 -070091 name: chip_sw_rv_timer_smoketest
Srikrishna Iyerc0a566b2021-05-11 16:45:04 -070092 uvm_test_seq: chip_sw_base_vseq
Timothy Trippelecd84362022-07-19 17:53:17 -070093 sw_images: ["//sw/device/tests:rv_timer_smoketest:1"]
Timothy Trippel7a553fb2022-01-25 22:02:44 -080094 en_run_modes: ["sw_test_mode_test_rom"]
Srikrishna Iyerc0a566b2021-05-11 16:45:04 -070095 }
96 {
Srikrishna Iyerffcfcff2021-09-28 22:02:52 -070097 name: chip_sw_rstmgr_smoketest
Srikrishna Iyerc0a566b2021-05-11 16:45:04 -070098 uvm_test_seq: chip_sw_base_vseq
Timothy Trippelecd84362022-07-19 17:53:17 -070099 sw_images: ["//sw/device/tests:rstmgr_smoketest:1"]
Timothy Trippel7a553fb2022-01-25 22:02:44 -0800100 en_run_modes: ["sw_test_mode_test_rom"]
Srikrishna Iyerc0a566b2021-05-11 16:45:04 -0700101 }
102 {
Dave Williamsa0718ff2021-11-24 15:48:46 +0000103 name: chip_sw_sram_ctrl_smoketest
104 uvm_test_seq: chip_sw_base_vseq
Timothy Trippelecd84362022-07-19 17:53:17 -0700105 sw_images: ["//sw/device/tests:sram_ctrl_smoketest:1"]
Timothy Trippel7a553fb2022-01-25 22:02:44 -0800106 en_run_modes: ["sw_test_mode_test_rom"]
Dave Williamsa0718ff2021-11-24 15:48:46 +0000107 }
108 {
Srikrishna Iyerffcfcff2021-09-28 22:02:52 -0700109 name: chip_sw_uart_smoketest
Srikrishna Iyer73181b72022-09-11 02:38:10 -0700110 uvm_test_seq: chip_sw_uart_smoke_vseq
Timothy Trippelecd84362022-07-19 17:53:17 -0700111 sw_images: ["//sw/device/tests:uart_smoketest:1"]
Timothy Trippel7a553fb2022-01-25 22:02:44 -0800112 en_run_modes: ["sw_test_mode_test_rom"]
Srikrishna Iyerc0a566b2021-05-11 16:45:04 -0700113 }
114 ]
115 regressions: [
116 {
Timothy Chenaae9bf82022-01-12 12:26:28 -0800117 name: smoke
118 tests: ["chip_sw_pwrmgr_smoketest"]
119 }
120 {
Srikrishna Iyerc0a566b2021-05-11 16:45:04 -0700121 name: dif
Srikrishna Iyerffcfcff2021-09-28 22:02:52 -0700122 tests: ["chip_sw_aes_smoketest",
123 "chip_sw_aon_timer_smoketest",
124 "chip_sw_clkmgr_smoketest",
Miguel Osoriof6b1fd82021-07-27 14:57:42 -0700125 // TODO(lowrisc/opentitan#7505): Debug CSRNG generate bits mismatch.
Srikrishna Iyer30d626c2022-03-16 19:00:34 -0700126 "chip_sw_csrng_smoketest",
Alexander Williams331d4822022-03-01 13:18:26 -0800127 // TODO(lowrisc/opentitan#10092): Remove dependency on uncontrolled environment.
Srikrishna Iyerffcfcff2021-09-28 22:02:52 -0700128 "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 Iyerc0a566b2021-05-11 16:45:04 -0700139 ]
140 }
141 ]
142}