forked from lowRISC/opentitan
-
Notifications
You must be signed in to change notification settings - Fork 1
/
chip_smoketests.hjson
142 lines (141 loc) · 4.77 KB
/
chip_smoketests.hjson
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
// Copyright lowRISC contributors (OpenTitan project).
// 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 smoke tests.
# Please see chip_sim_cfg.hjson for full setup details.
# Note: Please maintain alphabetical order.
tests: [
{
name: chip_sw_aes_smoketest
uvm_test_seq: chip_sw_base_vseq
sw_images: ["//sw/device/tests:aes_smoketest:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
}
{
name: chip_sw_aon_timer_smoketest
uvm_test_seq: chip_sw_base_vseq
sw_images: ["//sw/device/tests:aon_timer_smoketest:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
}
{
name: chip_sw_clkmgr_smoketest
uvm_test_seq: chip_sw_base_vseq
sw_images: ["//sw/device/tests:clkmgr_smoketest:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
}
{
name: chip_sw_csrng_smoketest
uvm_test_seq: chip_sw_base_vseq
sw_images: ["//sw/device/tests:csrng_smoketest:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
}
{
name: chip_sw_entropy_src_smoketest
uvm_test_seq: chip_sw_base_vseq
sw_images: ["//sw/device/tests:entropy_src_smoketest:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
run_opts: ["+rng_srate_value_min=15", "+rng_srate_value_max=30"]
}
{
name: chip_sw_gpio_smoketest
uvm_test_seq: chip_sw_gpio_smoke_vseq
sw_images: ["//sw/device/tests:gpio_smoketest:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
}
{
name: chip_sw_hmac_smoketest
uvm_test_seq: chip_sw_base_vseq
sw_images: ["//sw/device/tests:hmac_smoketest:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
}
{
name: chip_sw_kmac_smoketest
uvm_test_seq: chip_sw_base_vseq
sw_images: ["//sw/device/tests:kmac_smoketest:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
}
{
name: chip_sw_otbn_smoketest
uvm_test_seq: chip_sw_base_vseq
sw_images: ["//sw/device/tests:otbn_smoketest:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
}
{
name: chip_sw_otp_ctrl_smoketest
uvm_test_seq: chip_sw_base_vseq
sw_images: ["//sw/device/tests:otp_ctrl_smoketest:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
}
{
name: chip_sw_pwrmgr_smoketest
uvm_test_seq: chip_sw_base_vseq
sw_images: ["//sw/device/tests:pwrmgr_smoketest:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
run_opts: ["+sw_test_timeout_ns=10000000"]
}
{
name: chip_sw_pwrmgr_usbdev_smoketest
uvm_test_seq: chip_sw_base_vseq
sw_images: ["//sw/device/tests:pwrmgr_usbdev_smoketest:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
}
{
name: chip_sw_rv_plic_smoketest
uvm_test_seq: chip_sw_base_vseq
sw_images: ["//sw/device/tests:rv_plic_smoketest:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
}
{
name: chip_sw_rv_timer_smoketest
uvm_test_seq: chip_sw_base_vseq
sw_images: ["//sw/device/tests:rv_timer_smoketest:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
}
{
name: chip_sw_rstmgr_smoketest
uvm_test_seq: chip_sw_base_vseq
sw_images: ["//sw/device/tests:rstmgr_smoketest:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
}
{
name: chip_sw_sram_ctrl_smoketest
uvm_test_seq: chip_sw_base_vseq
sw_images: ["//sw/device/tests:sram_ctrl_smoketest:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
}
{
name: chip_sw_uart_smoketest
uvm_test_seq: chip_sw_uart_smoke_vseq
sw_images: ["//sw/device/tests:uart_smoketest:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
}
]
regressions: [
{
name: smoke
tests: ["chip_sw_pwrmgr_smoketest"]
}
{
name: dif
tests: ["chip_sw_aes_smoketest",
"chip_sw_aon_timer_smoketest",
"chip_sw_clkmgr_smoketest",
// TODO(lowrisc/opentitan#7505): Debug CSRNG generate bits mismatch.
"chip_sw_csrng_smoketest",
// TODO(lowrisc/opentitan#10092): Remove dependency on uncontrolled environment.
"chip_sw_entropy_src_smoketest",
"chip_sw_gpio_smoketest",
"chip_sw_hmac_smoketest",
"chip_sw_kmac_smoketest",
"chip_sw_otbn_smoketest",
"chip_sw_otp_ctrl_smoketest",
"chip_sw_rv_plic_smoketest",
"chip_sw_pwrmgr_smoketest",
"chip_sw_rv_timer_smoketest",
"chip_sw_rstmgr_smoketest",
"chip_sw_uart_smoketest",
]
}
]
}