forked from lowRISC/opentitan
-
Notifications
You must be signed in to change notification settings - Fork 1
/
chip_sim_cfg.hjson
2294 lines (2265 loc) · 90.9 KB
/
chip_sim_cfg.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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Copyright lowRISC contributors (OpenTitan project).
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
{
// Name of the sim cfg - typically same as the name of the DUT.
name: chip
// Top level dut name (sv module).
dut: chip_earlgrey_asic
// Top level testbench name (sv module).
tb: tb
// Default simulator used to sign off.
tool: vcs
// Fusesoc core file used for building the file list.
fusesoc_core: lowrisc:dv:chip_sim:0.1
// Testplan hjson file, excluding the connectivity tests.
testplan: "{proj_root}/hw/top_earlgrey/data/chip_testplan.hjson:-conn:-no_dv"
// RAL spec - used to generate the RAL model.
ral_spec: "{proj_root}/hw/top_earlgrey/data/top_earlgrey.hjson"
// Add additional tops for simulation.
sim_tops: ["clkmgr_bind",
"pwrmgr_bind",
"rstmgr_bind",
"sec_cm_prim_onehot_check_bind",
"sec_cm_prim_sparse_fsm_flop_bind",
"spi_host_bind",
"top_earlgrey_error_injection_ifs_bind",
"top_earlgrey_bind",
"xbar_main_bind",
"xbar_peri_bind"]
top_dv_path: "{proj_root}/hw/top_earlgrey/dv"
top_autogen_path: "{proj_root}/hw/top_earlgrey/ip_autogen"
// Import additional common sim cfg files.
import_cfgs: [// Project wide common sim cfg file
"{proj_root}/hw/dv/tools/dvsim/common_sim_cfg.hjson",
// Common CIP test lists
// Enable C compilation of AES model for DPI-C
"{proj_root}/hw/ip/aes/model/aes_model_sim_opts.hjson",
"{proj_root}/hw/dv/tools/dvsim/tests/csr_tests.hjson",
// TODO #5484, comment these 2 lines out because spi host memory is dummy
// "{proj_root}/hw/dv/tools/dvsim/tests/mem_tests.hjson",
// xbar tests
"{proj_root}/hw/ip/tlul/generic_dv/xbar_tests.hjson",
// Config files to get the correct flags for otbn_memutil and otbn_tracer
"{proj_root}/hw/dv/verilator/memutil_dpi_scrambled_opts.hjson",
"{proj_root}/hw/ip/otbn/dv/memutil/otbn_memutil_sim_opts.hjson",
"{proj_root}/hw/ip/otbn/dv/tracer/otbn_tracer_sim_opts.hjson",
"{top_dv_path}/chip_smoketests.hjson",
"{top_dv_path}/chip_rom_tests.hjson",
// Enable C compilation of chip level dpi
"{proj_root}/hw/dv/dpi/dpi_sim_cfg.hjson",
]
// Override existing project defaults to supply chip-specific values.
overrides: [
// Chip level design is markedly different from our Comportable IPs (and so
// is our coverage goals). The coverage goals also differ between 'default'
// and the 'cover_reg_top' (used by common tests) builds. We override the
// variables below to swap the coverage cfg files used for the Comportable
// IPs with chip-specific ones. See `doc/ug/dv_methodology.md` for more
// details.
// Used by all chip level functional test. Collects coverage on the IO
// boundary of all pre-verified IPs and full coverage on non-pre-verified
// IPs. See `hw/dv/tools/dvsim/common_sim_cfg.hjson` for the default value.
{
name: default_vcs_cov_cfg_file
value: "-cm_hier {top_dv_path}/cov/chip_cover.cfg+{top_dv_path}/autogen/xbar_tgl_excl.cfg+{top_autogen_path}/rstmgr/dv/cov/rstmgr_tgl_excl.cfg+{top_autogen_path}/clkmgr/dv/cov/clkmgr_tgl_excl.cfg+{top_autogen_path}/pwrmgr/dv/cov/pwrmgr_tgl_excl.cfg -cm_fsmcfg {top_dv_path}/cov/chip_fsm.cfg"
}
// Used by 'cover_reg_top' only builds - we only cover the *_reg_top of
// the non-pre-verified modules at the chip level. See
// `hw/dv/tools/dvsim/common_sim_cfg.hjson` for the default value.
{
name: cover_reg_top_vcs_cov_cfg_file
value: "-cm_hier {top_dv_path}/cov/chip_cover_reg_top.cfg+{top_dv_path}/autogen/xbar_tgl_excl.cfg"
}
{
name: xbar_build_mode_vcs_cov_cfg_file
value: "-cm_hier {top_dv_path}/cov/chip_cover_reg_top.cfg+{top_dv_path}/autogen/xbar_tgl_excl.cfg"
}
// Used by the UNR flow.
{
name: vcs_unr_cfg_file
value: "{top_dv_path}/cov/unr.cfg"
}
// Used for xprop config.
{
name: vcs_xprop_cfg_file
value: "{top_dv_path}/vcs_xprop.cfg"
}
// This defaults to 'ip' in `hw/data/common_project_cfg.hjson`.
{
name: design_level
value: "top"
}
// The jtag agent requires the data and bytenable widths to be increased.
{
name: tl_dw
value: 64
}
{
name: tl_dbw
value: 8
}
]
// exclusion files
vcs_cov_excl_files: ["{top_dv_path}/cov/chip_top_unr_tied_off.el",
"{top_dv_path}/cov/conn_ast_mem_cfg.el",
"{top_dv_path}/cov/conn_flash_ctrl_ast_obs_test_volt.el",
"{top_dv_path}/cov/conn_otp_ctrl_ast_obs_ext_volt.el",
"{top_dv_path}/cov/edn1_unr_tied_off_ports.el",
"{top_dv_path}/cov/entropy_src_tied_off_xht_port.el",
"{top_dv_path}/cov/lc_ctrl_hw_rev_tied_off.el",
"{top_dv_path}/cov/pinmux_pad_attr.el",
"{top_dv_path}/cov/plic_le_i_tied_off.el",
"{top_dv_path}/cov/plic_ip_wr_en_tied_off.el",
"{top_dv_path}/cov/rom_ctrl_kmac_app_tied_off_data_strb_bits.el",
"{top_dv_path}/cov/spi_host_device_unr_tied_off.el"
]
// Map build mode specific cov file to default
pad_ctrl_test_mode_vcs_cov_cfg_file: "-cm_hier {top_dv_path}/cov/chip_cover.cfg+{top_dv_path}/autogen/xbar_tgl_excl.cfg+{top_dv_path}/autogen/rstmgr_tgl_excl.cfg+{top_dv_path}/cov/clkmgr_tgl_excl.cfg+{top_dv_path}/cov/pwrmgr_tgl_excl.cfg -cm_fsmcfg {top_dv_path}/cov/chip_fsm.cfg"
pad_ctrl_test_mode_xcelium_cov_cfg_file: "{dv_root}/tools/xcelium/cover.ccf"
// Default iterations for all tests - each test entry can override this.
reseed: 3
// exports: [
// Uncomment if using manufacturer tests / test hooks that live somewhere
// else on your system, outside of $REPO_TOP. See
// sw/device/tests/closed_source/README.md for more details.
// {MANUFACTURER_HOOKS_DIR: "/path/to/manufacturer_hooks_dir"},
// Uncomment if you are using the `--data-perm` OTP image generation flag,
// when building OTP images with Bazel.
// {BAZEL_OTP_DATA_PERM_FLAG: "[15:0],[23:16]"},
// ]
// Default UVM test and seq class name.
uvm_test: chip_base_test
uvm_test_seq: chip_sw_base_vseq
sw_build_device: sim_dv
// Add a default build option to indicate it is a top-level DV testbench.
build_opts: ["+define+TOP_LEVEL_DV"]
// Add build modes.
build_modes: [
{
name: en_ibex_tracer
build_opts: ["+define+RVFI=1"]
}
// Build mode that configures a testbench in a manner suitable for pad
// testing. For example, the testbench may need to have different agents
// or interfaces connected to the pads for marked tests.
{
name: pad_ctrl_test_mode
build_opts: ["+define+PADTEST"]
is_sim_mode: 1
}
// Sim mode that enables build randomization. See the `build_seed` mode
// defined in `hw/dv/tools/dvsim/common_modes.hjson` for more details.
{
name: build_seed
pre_build_cmds: [
// TODO: find where in run phase we are using this pkg. It fails during ibex TLUL integrity
// check.
// '''cd {proj_root} && ./util/topgen.py -t {ral_spec} \
// -o hw/top_earlgrey --rnd_cnst_seed {seed}
// ''',
// Generate LC encoding
"cd {proj_root} && ./util/design/gen-lc-state-enc.py --seed {seed}",
// Generate OTP memory map and scrambling constants keys.
"cd {proj_root} && ./util/design/gen-otp-mmap.py --seed {seed}",
// Use eval_cmd to save build_seed in a file and reuse that file during run phase.
// Create the build directory first because eval_cmd runs before actual build phase command
// execution.
'''{eval_cmd} mkdir -p {build_dir}; echo {seed} > {build_seed_file_path}; \
echo "echo create file {build_seed_file_path}"
'''
]
is_sim_mode: 1
}
// Build mode that disables rom integrity checks, so use it only for
// test development.
// DO NOT USE FOR NIGHTLY
{
name: fast_sim_build_dev
build_opts: ["+define+DISABLE_ROM_INTEGRITY_CHECK"]
is_sim_mode: 1
}
// This fast sim mode adds AST runtime plusargs from the fast_sim run
// mode on top of disabling rom integrity checks. It is the fastest way
// to run a test.
// DO NOT USE FOR NIGHTLY
{
name: fast_sim_dev
en_build_modes: ["fast_sim_build_dev"]
run_opts: ["+accelerate_cold_power_up_time=3",
"+accelerate_regulators_power_up_time=2"]
is_sim_mode: 1
}
// TODO: VCS does not support MDAs in constfiles. Most RTL ports in OpenTitan are structs, so
// this method currently does not work for our needs. Revisit later.
// {
// name: vcs_cov
// build_opts: ["-cm_constfile {top_dv_path}/cov/constfile.txt"]
// is_sim_mode: 1
// }
]
// Add options needed to compile against otbn_memutil, otbn_tracer,
// memutil_dpi_scrambled, and AES C model
en_build_modes: ["{tool}_otbn_memutil_build_opts",
"{tool}_otbn_tracer_build_opts",
"{tool}_memutil_dpi_scrambled_build_opts",
"{tool}_aes_model_build_opts",
"{tool}_dpi_build_opts"]
// Setup for generating OTP images.
gen_otp_images_cfg_dir: "{proj_root}/hw/ip/otp_ctrl/data"
gen_otp_images_cmd: "{proj_root}/util/design/gen-otp-img.py"
gen_otp_images_cmd_opts: ["--quiet",
"--img-seed {seed}",
// Only provide `--otp-seed` argument if the file to store build_seed
// is found. Set this option at the end of the list to avoid `eval_cmd`
// take other options as eval_cmd.
'''{eval_cmd} file=`echo {build_seed_file_path}`; \
if [ -f $file ]; then \
while read line; do \
echo "--otp-seed $line --lc-seed $line"; \
done < $file; \
fi ''']
// TODO(lowrisc/opentitan#16689): Enable cdc instrumentation.
run_opts: ["+cdc_instrumentation_enabled=1"]
// Add run modes.
run_modes: [
// Generates OTP images with different LC states with canonical values,
// pseudo-randomized with the same test seed.
{
name: gen_otp_images_mode
pre_run_cmds: [
'''{gen_otp_images_cmd} \
--img-cfg {gen_otp_images_cfg_dir}/otp_ctrl_img_raw.hjson \
--out {run_dir}/otp_ctrl_img_raw.vmem \
{gen_otp_images_cmd_opts}
''',
'''{gen_otp_images_cmd} \
--img-cfg {gen_otp_images_cfg_dir}/otp_ctrl_img_test_unlocked0.hjson \
--add-cfg {gen_otp_images_cfg_dir}/otp_ctrl_img_hw_cfg.hjson \
--out {run_dir}/otp_ctrl_img_test_unlocked0.vmem \
{gen_otp_images_cmd_opts}
''',
'''{gen_otp_images_cmd} \
--img-cfg {gen_otp_images_cfg_dir}/otp_ctrl_img_test_unlocked1.hjson \
--add-cfg {gen_otp_images_cfg_dir}/otp_ctrl_img_hw_cfg.hjson \
--out {run_dir}/otp_ctrl_img_test_unlocked1.vmem \
{gen_otp_images_cmd_opts}
''',
'''{gen_otp_images_cmd} \
--img-cfg {gen_otp_images_cfg_dir}/otp_ctrl_img_test_unlocked2.hjson \
--add-cfg {gen_otp_images_cfg_dir}/otp_ctrl_img_hw_cfg.hjson \
--out {run_dir}/otp_ctrl_img_test_unlocked2.vmem \
{gen_otp_images_cmd_opts}
''',
'''{gen_otp_images_cmd} \
--img-cfg {gen_otp_images_cfg_dir}/otp_ctrl_img_test_locked0.hjson \
--add-cfg {gen_otp_images_cfg_dir}/otp_ctrl_img_hw_cfg.hjson \
--out {run_dir}/otp_ctrl_img_test_locked0.vmem \
{gen_otp_images_cmd_opts}
''',
'''{gen_otp_images_cmd} \
--img-cfg {gen_otp_images_cfg_dir}/otp_ctrl_img_test_locked1.hjson \
--add-cfg {gen_otp_images_cfg_dir}/otp_ctrl_img_hw_cfg.hjson \
--out {run_dir}/otp_ctrl_img_test_locked1.vmem \
{gen_otp_images_cmd_opts}
''',
'''{gen_otp_images_cmd} \
--img-cfg {gen_otp_images_cfg_dir}/otp_ctrl_img_dev.hjson \
--add-cfg {gen_otp_images_cfg_dir}/otp_ctrl_img_creator_sw_cfg.hjson \
--add-cfg {gen_otp_images_cfg_dir}/otp_ctrl_img_owner_sw_cfg.hjson \
--add-cfg {gen_otp_images_cfg_dir}/otp_ctrl_img_hw_cfg.hjson \
--out {run_dir}/otp_ctrl_img_dev.vmem \
{gen_otp_images_cmd_opts}
''',
'''{gen_otp_images_cmd} \
--img-cfg {gen_otp_images_cfg_dir}/otp_ctrl_img_prod.hjson \
--add-cfg {gen_otp_images_cfg_dir}/otp_ctrl_img_creator_sw_cfg.hjson \
--add-cfg {gen_otp_images_cfg_dir}/otp_ctrl_img_owner_sw_cfg.hjson \
--add-cfg {gen_otp_images_cfg_dir}/otp_ctrl_img_hw_cfg.hjson \
--out {run_dir}/otp_ctrl_img_prod.vmem \
{gen_otp_images_cmd_opts}
''',
'''{gen_otp_images_cmd} \
--img-cfg {gen_otp_images_cfg_dir}/otp_ctrl_img_rma.hjson \
--add-cfg {gen_otp_images_cfg_dir}/otp_ctrl_img_creator_sw_cfg.hjson \
--add-cfg {gen_otp_images_cfg_dir}/otp_ctrl_img_owner_sw_cfg.hjson \
--add-cfg {gen_otp_images_cfg_dir}/otp_ctrl_img_hw_cfg.hjson \
--out {run_dir}/otp_ctrl_img_rma.vmem \
{gen_otp_images_cmd_opts}
''',
]
}
// fast_sim mode enables public faster simulation via AST plusargs.
// This may be okay to use for public regressions, with the possible
// exception of a handful of AST tests.
{
name: fast_sim
run_opts: ["+accelerate_cold_power_up_time=3",
"+accelerate_regulators_power_up_time=2"]
}
{
name: sw_test_mode_common
run_opts: ["+sw_build_device={sw_build_device}",
// Format SW image names (which are Bazel labels concatenated with an index
// and/or flags, see below) into output file names separated by commas to feed into
// +sw_images plusarg. For example, if the input list of SW images is
// ["//sw/device/tests:uart_tx_rx_test:1",
// "//sw/device/lib/testing/test_rom:test_rom:0"], then the output of this eval_cmd
// will be: "uart_tx_rx_test:1,test_rom:0".
'''+sw_images={eval_cmd} \
reformatted_sw_images=; \
for image in {sw_images}; do \
reformatted_sw_images="$reformatted_sw_images `echo $image | cut -d: -f2-`"; \
done; \
echo $reformatted_sw_images | sed -E 's/\s+/,/g' ''']
en_run_modes: ["gen_otp_images_mode"]
}
{
name: sw_test_mode_test_rom
sw_images: ["//sw/device/lib/testing/test_rom:test_rom:0"]
en_run_modes: ["sw_test_mode_common"]
}
{
name: sw_test_mode_mask_rom
sw_images: ["//sw/device/silicon_creator/rom:mask_rom:0"]
en_run_modes: ["sw_test_mode_common"]
}
{
name: stub_cpu_mode
// Note that the chip_base_vseq will preload a random ROM image with valid ECC and digest
// so that the ROM check can succeed even if no ROM image is built and supplied via Bazel.
en_run_modes: ["gen_otp_images_mode"]
run_opts: ["+stub_cpu=1"]
}
{
// Append stub cpu mode to csr_tests_mode.
name: csr_tests_mode
en_run_modes: ["stub_cpu_mode"]
}
{
// Append stub cpu mode to mem_tests_mode.
name: mem_tests_mode
en_run_modes: ["stub_cpu_mode"]
reseed: 20
}
{
name: strap_tests_mode
en_run_modes: ["sw_test_mode_common"]
// The tests using this mode only require the ROM init check to succeed.
// The example_test_from_rom test is sufficient.
sw_images: ["//sw/device/tests:example_test_from_rom:0:test_in_rom:new_rules"]
run_opts: ["+create_jtag_riscv_map=1"]
reseed: 5
}
{
name: xbar_run_mode
en_run_modes: ["gen_otp_images_mode"]
run_opts: ["+xbar_mode=1"]
reseed: 100
}
]
// List of test specifications.
//
// If you are adding a test that has been generated from a Bazel
// `opentitan_test` macro, you can specify the test using its Bazel label
// followed by an index separated with a ':', which is used by the testbench
// to know what type of image is it:
// - 0 for Boot ROM,
// - 1 for SW test (loaded in flash),
// - 2 for OTBN test, and
// - 3 for OTP.
// This allows an arbitrary number of SW images to be supplied to the TB.
//
// For example, if the Bazel label for a test is:
// `//sw/device/tests:example_test_from_flash`, then you would specify this as
// `//sw/device/tests:example_test_from_flash:1`.
//
// To calculate the value of `+sw_test_timeout_ns` run dvsim by:
// $ util/dvsim/dvsim.py hw/top_earlgrey/dv/top_earlgrey_sim_cfgs.hjson \
// -i TEST_NAME --fixed-seed=1
// Run this a few times and take the worst case runtime, then increase this
// value by 20% and use the relationship that 5 minutes of runtime is roughly
// 4 milliseconds of timeout.
tests: [
{
// Reused from hw/dv/tools/dvsim/tests/csr_tests.hjson.
name: "chip_csr_bit_bash"
// Don't test over 200 randomly picked CSRs at a time.
run_opts: ["+test_timeout_ns=120_000_000", "+num_test_csrs=200"]
run_timeout_mins: 180
}
{
// Reused from hw/dv/tools/dvsim/tests/csr_tests.hjson.
name: "chip_csr_aliasing"
run_timeout_mins: 180
run_opts: ["+test_timeout_ns=120_000_000"]
}
{
// Reused from hw/dv/tools/dvsim/tests/csr_tests.hjson.
name: "chip_same_csr_outstanding"
run_timeout_mins: 120
run_opts: ["+test_timeout_ns=120_000_000"]
}
{
name: chip_sw_example_flash
uvm_test_seq: chip_sw_base_vseq
sw_images: ["//sw/device/tests:example_test_from_flash:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
}
{
name: chip_sw_example_rom
uvm_test_seq: chip_sw_base_vseq
sw_images: ["//sw/device/tests:example_test_from_rom:0:test_in_rom:new_rules"]
en_run_modes: ["sw_test_mode_common"]
}
{
name: chip_sw_example_manufacturer
uvm_test_seq: chip_sw_base_vseq
sw_images: ["@manufacturer_test_hooks//:example_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
}
{
name: chip_sw_example_concurrency
uvm_test_seq: chip_sw_base_vseq
sw_images: ["//sw/device/tests:example_concurrency_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
}
{
name: chip_sival_flash_info_access
uvm_test_seq: chip_sw_base_vseq
sw_images: ["//sw/device/tests:flash_ctrl_info_access_lc:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
// Following run opt can be alternatively selected.
// +use_otp_image=OtpTypeLcStDev
// +use_otp_image=OtpTypeLcStProd
run_opts: ["+use_otp_image=OtpTypeLcStTestUnlocked0"]
}
{
name: chip_sw_all_escalation_resets
uvm_test_seq: chip_sw_all_escalation_resets_vseq
sw_images: ["//sw/device/tests/sim_dv:all_escalation_resets_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
run_opts: ["+bypass_alert_ready_to_end_check=1"]
reseed: 100
}
{
name: chip_sw_rstmgr_rst_cnsty_escalation
uvm_test_seq: chip_sw_rstmgr_cnsty_fault_vseq
sw_images: ["//sw/device/tests/sim_dv:all_escalation_resets_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
run_opts: ["+bypass_alert_ready_to_end_check=1"]
}
{
name: chip_sw_data_integrity_escalation
uvm_test_seq: chip_sw_data_integrity_vseq
sw_images: ["//sw/device/tests/sim_dv:data_integrity_escalation_reset_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
run_opts: ["+bypass_alert_ready_to_end_check=1"]
reseed: 6
}
{
name: chip_sw_sleep_pin_mio_dio_val
uvm_test_seq: chip_sw_sleep_pin_mio_dio_val_vseq
sw_images: ["//sw/device/tests:sleep_pin_mio_dio_val_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
// Starting the chip in prod LC state frees up all MIOs for this test.
run_opts: ["+use_otp_image=OtpTypeLcStProd"]
}
{
name: chip_sw_sleep_pin_wake
uvm_test_seq: chip_sw_sleep_pin_wake_vseq
sw_images: ["//sw/device/tests:sleep_pin_wake_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
// Starting the chip in prod LC state frees up all MIOs for this test.
run_opts: ["+use_otp_image=OtpTypeLcStProd"]
}
{
name: chip_sw_sleep_pin_retention
uvm_test_seq: chip_sw_sleep_pin_retention_vseq
sw_images: ["//sw/device/tests:sleep_pin_retention_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
}
{
name: chip_sw_sleep_pwm_pulses
uvm_test_seq: chip_sw_pwm_pulses_vseq
sw_images: ["//sw/device/tests:sleep_pwm_pulses_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
}
{
name: chip_sw_pattgen_ios
uvm_test_seq: chip_sw_patt_ios_vseq
sw_images: ["//sw/device/tests:pattgen_ios_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
run_opts: ["+sw_test_timeout_ns=5_000_000"]
}
{
name: chip_sw_uart_tx_rx
uvm_test_seq: chip_sw_uart_tx_rx_vseq
sw_images: ["//sw/device/tests:uart_tx_rx_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
run_opts: ["+uart_idx=0", "+calibrate_usb_clk=1"]
reseed: 5
}
{
name: chip_sw_uart_tx_rx_idx1
uvm_test_seq: chip_sw_uart_tx_rx_vseq
sw_images: ["//sw/device/tests:uart_tx_rx_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
run_opts: ["+uart_idx=1", "+calibrate_usb_clk=1"]
reseed: 5
}
{
name: chip_sw_uart_tx_rx_idx2
uvm_test_seq: chip_sw_uart_tx_rx_vseq
sw_images: ["//sw/device/tests:uart_tx_rx_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
run_opts: ["+uart_idx=2", "+calibrate_usb_clk=1"]
reseed: 5
}
{
name: chip_sw_uart_tx_rx_idx3
uvm_test_seq: chip_sw_uart_tx_rx_vseq
sw_images: ["//sw/device/tests:uart_tx_rx_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
run_opts: ["+uart_idx=3", "+calibrate_usb_clk=1"]
reseed: 5
}
{
name: chip_sw_uart_tx_rx_bootstrap
uvm_test_seq: chip_sw_uart_tx_rx_vseq
sw_images: ["//sw/device/tests:uart_tx_rx_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
run_opts: ["+use_spi_load_bootstrap=1", "+calibrate_usb_clk=1",
"+test_timeout_ns=160_000_000"]
run_timeout_mins: 480
}
{
name: chip_sw_usbdev_vbus
uvm_test_seq: chip_sw_usbdev_dpi_vseq
sw_images: ["//sw/device/tests:usbdev_vbus_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
run_opts: ["+uart_idx=0", "+calibrate_usb_clk=1"]
reseed: 1
}
{
name: chip_sw_usbdev_dpi
uvm_test_seq: chip_sw_usbdev_dpi_vseq
sw_images: ["//sw/device/tests:usbdev_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
run_opts: ["+uart_idx=0", "+calibrate_usb_clk=1", "+sw_test_timeout_ns=30_000_000"]
run_timeout_mins: 120
reseed: 1
}
{
name: chip_sw_usbdev_pullup
uvm_test_seq: chip_sw_usbdev_dpi_vseq
sw_images: ["//sw/device/tests:usbdev_pullup_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
run_opts: ["+uart_idx=0", "+calibrate_usb_clk=1"]
reseed: 1
}
{
name: chip_sw_usbdev_aon_pullup
uvm_test_seq: chip_sw_usbdev_dpi_vseq
sw_images: ["//sw/device/tests:usbdev_aon_pullup_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
run_opts: ["+uart_idx=0", "+calibrate_usb_clk=1"]
reseed: 1
}
{
name: chip_sw_usbdev_setuprx
uvm_test_seq: chip_sw_usbdev_dpi_vseq
sw_images: ["//sw/device/tests:usbdev_setuprx_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
run_opts: ["+uart_idx=0", "+calibrate_usb_clk=1"]
reseed: 1
}
{
name: chip_sw_usbdev_config_host
uvm_test_seq: chip_sw_usbdev_dpi_vseq
sw_images: ["//sw/device/tests:usbdev_config_host_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
run_opts: ["+uart_idx=0", "+calibrate_usb_clk=1"]
reseed: 1
}
{
name: chip_sw_usbdev_pincfg
uvm_test_seq: chip_sw_usbdev_dpi_vseq
sw_images: ["//sw/device/tests:usbdev_pincfg_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
run_opts: ["+uart_idx=0", "+calibrate_usb_clk=1", "+sw_test_timeout_ns=100_000_000"]
run_timeout_mins: 300
reseed: 1
}
{
name: chip_sw_usbdev_stream
uvm_test_seq: chip_sw_usbdev_stream_vseq
sw_images: ["//sw/device/tests:usbdev_stream_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
run_opts: ["+uart_idx=0", "+calibrate_usb_clk=1", "+sw_test_timeout_ns=60_000_000"]
run_timeout_mins: 120
reseed: 1
}
{
name: chip_sw_usbdev_toggle_restore
uvm_test_seq: chip_sw_usbdev_dpi_vseq
sw_images: ["//sw/device/tests:usbdev_toggle_restore_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
run_opts: ["+uart_idx=0", "+calibrate_usb_clk=1"]
reseed: 1
}
{
name: chip_sw_inject_scramble_seed
uvm_test_seq: chip_sw_inject_scramble_seed_vseq
sw_images: ["//sw/device/tests/sim_dv:inject_scramble_seed:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
run_opts: ["+lc_at_prod=1", "+flash_program_latency=5", "+sw_test_timeout_ns=150_000_000"]
run_timeout_mins: 300
}
{
name: chip_sw_exit_test_unlocked_bootstrap
uvm_test_seq: chip_sw_exit_test_unlocked_bootstrap_vseq
sw_images: ["//sw/device/tests/sim_dv:exit_test_unlocked_bootstrap:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
run_opts: ["+flash_program_latency=5", "+sw_test_timeout_ns=150_000_000"]
run_timeout_mins: 220
}
{
name: chip_sw_uart_rand_baudrate
uvm_test_seq: chip_sw_uart_rand_baudrate_vseq
sw_images: ["//sw/device/tests:uart_tx_rx_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
run_opts: ["+sw_test_timeout_ns=80_000_000", "+calibrate_usb_clk=1"]
run_timeout_mins: 120
reseed: 20
}
{
name: chip_sw_uart_tx_rx_alt_clk_freq
uvm_test_seq: chip_sw_uart_rand_baudrate_vseq
sw_images: ["//sw/device/tests:uart_tx_rx_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
run_opts: ["+sw_test_timeout_ns=80_000_000",
"+chip_clock_source=ChipClockSourceExternal96Mhz", "+calibrate_usb_clk=1"]
run_timeout_mins: 120
reseed: 5
}
{
name: chip_sw_uart_tx_rx_alt_clk_freq_low_speed
uvm_test_seq: chip_sw_uart_rand_baudrate_vseq
sw_images: ["//sw/device/tests:uart_tx_rx_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
run_opts: ["+sw_test_timeout_ns=80_000_000", "+calibrate_usb_clk=1",
"+chip_clock_source=ChipClockSourceExternal48Mhz"]
reseed: 5
}
{
name: chip_sw_i2c_host_tx_rx
uvm_test_seq: chip_sw_i2c_host_tx_rx_vseq
sw_images: ["//sw/device/tests/sim_dv:i2c_host_tx_rx_test:1:new_rules"]
run_opts: ["+i2c_idx=0"]
en_run_modes: ["sw_test_mode_test_rom"]
}
{
name: chip_sw_i2c_host_tx_rx_idx1
uvm_test_seq: chip_sw_i2c_host_tx_rx_vseq
sw_images: ["//sw/device/tests/sim_dv:i2c_host_tx_rx_test:1:new_rules"]
run_opts: ["+i2c_idx=1"]
en_run_modes: ["sw_test_mode_test_rom"]
}
{
name: chip_sw_i2c_host_tx_rx_idx2
uvm_test_seq: chip_sw_i2c_host_tx_rx_vseq
sw_images: ["//sw/device/tests/sim_dv:i2c_host_tx_rx_test:1:new_rules"]
run_opts: ["+i2c_idx=2"]
en_run_modes: ["sw_test_mode_test_rom"]
}
{
name: chip_sw_i2c_device_tx_rx
uvm_test_seq: chip_sw_i2c_device_tx_rx_vseq
sw_images: ["//sw/device/tests/sim_dv:i2c_device_tx_rx_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
}
{
name: chip_sw_spi_device_tpm
uvm_test_seq: chip_sw_spi_device_tpm_vseq
sw_images: ["//sw/device/tests:spi_device_tpm_tx_rx_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
}
{
name: chip_sw_spi_host_tx_rx
uvm_test_seq: chip_sw_spi_host_tx_rx_vseq
sw_images: ["//sw/device/tests/sim_dv:spi_host_tx_rx_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
}
{
name: chip_sw_spi_device_pinmux_sleep_retention
uvm_test_seq: chip_sw_spi_device_pinmux_sleep_retention_vseq
sw_images: ["//sw/device/tests:spi_device_sleep_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
}
{
name: chip_sw_spi_device_pass_through
uvm_test_seq: chip_sw_spi_passthrough_vseq
sw_images: ["//sw/device/tests/sim_dv:spi_passthrough_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
}
{
name: chip_sw_spi_device_pass_through_collision
uvm_test_seq: chip_sw_spi_passthrough_collision_vseq
sw_images: ["//sw/device/tests/sim_dv:spi_passthrough_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
}
{
name: chip_sw_gpio
uvm_test_seq: chip_sw_gpio_vseq
sw_images: ["//sw/device/tests/sim_dv:gpio_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
}
{
name: chip_sw_flash_ctrl_ops
uvm_test_seq: chip_sw_base_vseq
sw_images: ["//sw/device/tests:flash_ctrl_ops_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
run_opts: ["+sw_test_timeout_ns=50_000_000"]
}
{
name: chip_sw_flash_ctrl_ops_jitter_en
uvm_test_seq: chip_sw_base_vseq
sw_images: ["//sw/device/tests:flash_ctrl_ops_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
run_opts: ["+sw_test_timeout_ns=50_000_000", "+en_jitter=1"]
}
{
name: chip_sw_flash_ctrl_lc_rw_en
uvm_test_seq: chip_sw_flash_ctrl_lc_rw_en_vseq
sw_images: ["//sw/device/tests/sim_dv:flash_ctrl_lc_rw_en_test:1:new_rules"]
run_opts: ["+bypass_alert_ready_to_end_check=1"]
en_run_modes: ["sw_test_mode_test_rom"]
}
{
name: chip_sw_flash_ctrl_access
uvm_test_seq: chip_sw_base_vseq
sw_images: ["//sw/device/tests:flash_ctrl_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
}
{
name: chip_sw_flash_ctrl_access_jitter_en
uvm_test_seq: chip_sw_base_vseq
sw_images: ["//sw/device/tests:flash_ctrl_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
run_opts: ["+en_jitter=1"]
}
{
name: chip_sw_flash_ctrl_idle_low_power
uvm_test_seq: chip_sw_base_vseq
sw_images: ["//sw/device/tests:flash_ctrl_idle_low_power_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
}
{
name: chip_sw_flash_init
uvm_test_seq: chip_sw_flash_init_vseq
sw_images: ["//sw/device/tests/sim_dv:flash_init_test:0:test_in_rom:new_rules"]
en_run_modes: ["sw_test_mode_common"]
run_opts: ["+sw_test_timeout_ns=25_000_000"]
}
{
name: chip_sw_flash_rma_unlocked
uvm_test_seq: chip_sw_flash_rma_unlocked_vseq
sw_images: ["//sw/device/tests/sim_dv:flash_rma_unlocked_test:0:test_in_rom:new_rules"]
en_run_modes: ["sw_test_mode_common"]
run_opts: ["+flash_program_latency=5", "+sw_test_timeout_ns=150_000_000"]
run_timeout_mins: 200
}
{
name: chip_sw_flash_ctrl_clock_freqs
uvm_test_seq: chip_sw_base_vseq
sw_images: ["//sw/device/tests:flash_ctrl_clock_freqs_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
}
{
name: chip_sw_kmac_entropy
uvm_test_seq: chip_sw_base_vseq
sw_images: ["//sw/device/tests:kmac_entropy_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
}
{
name: chip_sw_lc_ctrl_otp_hw_cfg0
uvm_test_seq: chip_sw_base_vseq
sw_images: ["//sw/device/tests:lc_ctrl_otp_hw_cfg0_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
}
{
name: chip_sw_otp_ctrl_lc_signals_test_unlocked0
uvm_test_seq: chip_sw_base_vseq
sw_images: ["//sw/device/tests/sim_dv:otp_ctrl_lc_signals_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"],
// Use the image as basis, but clear provitioning state of the SECRET2
// partition so that the test can make front-door accesses to that partition.
run_opts: ["+use_otp_image=OtpTypeLcStTestUnlocked0", "+otp_clear_secret2=1"]
}
{
name: chip_sw_otp_ctrl_lc_signals_dev
uvm_test_seq: chip_sw_base_vseq
sw_images: ["//sw/device/tests/sim_dv:otp_ctrl_lc_signals_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"],
// Use the image as basis, but clear provitioning state of the SECRET2
// partition so that the test can make front-door accesses to that partition.
run_opts: ["+use_otp_image=OtpTypeLcStDev", "+otp_clear_secret2=1"]
}
{
name: chip_sw_otp_ctrl_lc_signals_prod
uvm_test_seq: chip_sw_base_vseq
sw_images: ["//sw/device/tests/sim_dv:otp_ctrl_lc_signals_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"],
// Use the image as basis, but clear provitioning state of the SECRET2
// partition so that the test can make front-door accesses to that partition.
run_opts: ["+use_otp_image=OtpTypeLcStProd", "+otp_clear_secret2=1"]
}
{
name: chip_sw_otp_ctrl_lc_signals_rma
uvm_test_seq: chip_sw_base_vseq
sw_images: ["//sw/device/tests/sim_dv:otp_ctrl_lc_signals_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"],
// Use the image as basis, but clear provitioning state of the SECRET2
// partition so that the test can make front-door accesses to that partition.
run_opts: ["+use_otp_image=OtpTypeLcStRma", "+otp_clear_secret2=1"]
}
{
name: chip_sw_otp_ctrl_vendor_test_csr_access
uvm_test_seq: chip_sw_otp_ctrl_vendor_test_csr_access_vseq
sw_images: ["//sw/device/tests/sim_dv:otp_ctrl_vendor_test_csr_access_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
}
{
name: chip_sw_otp_ctrl_escalation
uvm_test_seq: chip_sw_otp_ctrl_escalation_vseq
sw_images: ["//sw/device/tests/sim_dv:all_escalation_resets_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
run_opts: ["+bypass_alert_ready_to_end_check=1"]
reseed: 1
}
{
name: chip_sw_otp_ctrl_dai_lock
uvm_test_seq: chip_sw_base_vseq
sw_images: ["//sw/device/tests:otp_ctrl_mem_access_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
run_opts: ["+sw_test_timeout_ns=30_000_000"]
run_timeout_mins: 120
reseed: 1
}
{
name: chip_sw_otp_ctrl_ecc_error_vendor_test
uvm_test_seq: chip_sw_otp_ctrl_vendor_test_ecc_error_vseq
sw_images: ["//sw/device/tests/sim_dv:otp_ctrl_vendor_test_ecc_error_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
}
{
name: chip_sw_otp_ctrl_descrambling
uvm_test_seq: chip_sw_base_vseq
sw_images: [
"//sw/device/tests:otp_ctrl_descrambling_test:1:new_rules",
"//sw/device/tests:otp_ctrl_descrambling_otp_image:4",
]
en_run_modes: ["sw_test_mode_test_rom"]
run_opts: [
"+use_otp_image=OtpTypeCustom",
]
}
{
// Set higher reseed value to reach all kmac_data to lc_ctrl toggle coverage.
name: chip_sw_lc_ctrl_transition
uvm_test_seq: chip_sw_lc_ctrl_transition_vseq
sw_images: ["//sw/device/tests/sim_dv:lc_ctrl_transition_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
reseed: 15
}
{
name: chip_sw_lc_ctrl_rma_to_scrap
uvm_test_seq: chip_sw_lc_ctrl_scrap_vseq
sw_images: ["//sw/device/tests/sim_dv:lc_ctrl_scrap_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
run_opts: ["+bypass_alert_ready_to_end_check=1",
"+src_dec_state=DecLcStRma"]
reseed: 1
}
{
name: chip_sw_lc_ctrl_raw_to_scrap
uvm_test_seq: chip_sw_lc_ctrl_scrap_vseq
sw_images: ["//sw/device/tests/sim_dv:lc_ctrl_scrap_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
run_opts: ["+bypass_alert_ready_to_end_check=1",
"+src_dec_state=DecLcStRaw"]
reseed: 1
}
{
name: chip_sw_lc_ctrl_test_locked0_to_scrap
uvm_test_seq: chip_sw_lc_ctrl_scrap_vseq
sw_images: ["//sw/device/tests/sim_dv:lc_ctrl_scrap_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
run_opts: ["+bypass_alert_ready_to_end_check=1",
"+src_dec_state=DecLcStTestLocked0"]
reseed: 1
}
{
name: chip_sw_lc_ctrl_rand_to_scrap
uvm_test_seq: chip_sw_lc_ctrl_scrap_vseq
sw_images: ["//sw/device/tests/sim_dv:lc_ctrl_scrap_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
run_opts: ["+bypass_alert_ready_to_end_check=1"]
reseed: 3
}
{
name: chip_sw_lc_walkthrough_dev
uvm_test_seq: chip_sw_lc_walkthrough_vseq
sw_images: ["//sw/device/tests/sim_dv:lc_walkthrough_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
run_opts: ["+flash_program_latency=5",
"+use_otp_image=OtpTypeLcStRaw", "+dest_dec_state=DecLcStDev",
// The test takes long time because it will transit to RMA state
"+sw_test_timeout_ns=200_000_000"]
run_timeout_mins: 240
}
{
name: chip_sw_lc_walkthrough_prod
uvm_test_seq: chip_sw_lc_walkthrough_vseq
sw_images: ["//sw/device/tests/sim_dv:lc_walkthrough_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
run_opts: ["+flash_program_latency=5",
"+use_otp_image=OtpTypeLcStRaw", "+dest_dec_state=DecLcStProd",
// The test takes long time because it will transit to RMA state
"+sw_test_timeout_ns=200_000_000"]
run_timeout_mins: 240
}
{
name: chip_sw_lc_walkthrough_prodend
uvm_test_seq: chip_sw_lc_walkthrough_vseq
sw_images: ["//sw/device/tests/sim_dv:lc_walkthrough_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
run_opts: ["+flash_program_latency=5",
"+use_otp_image=OtpTypeLcStRaw", "+dest_dec_state=DecLcStProdEnd"]
}
{
name: chip_sw_lc_ctrl_volatile_raw_unlock
uvm_test_seq: chip_sw_lc_volatile_raw_unlock_vseq
sw_images: ["//sw/device/tests/sim_dv:lc_ctrl_volatile_raw_unlock_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
run_opts: [
"+use_otp_image=OtpTypeLcStRaw",
// We set this to zero if the volatile RAW unlock mechanism is expected
// to be disabled (this should be the case in production silicon).
"+exp_volatile_raw_unlock_en=0"]
run_timeout_mins: 120
}
{
name: chip_sw_lc_ctrl_volatile_raw_unlock_ext_clk_48mhz
uvm_test_seq: chip_sw_lc_volatile_raw_unlock_vseq
sw_images: ["//sw/device/tests/sim_dv:lc_ctrl_volatile_raw_unlock_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
run_opts: [
"+use_otp_image=OtpTypeLcStRaw",
"+chip_clock_source=ChipClockSourceExternal48Mhz",
// We set this to zero if the volatile RAW unlock mechanism is expected
// to be disabled (this should be the case in production silicon).
"+exp_volatile_raw_unlock_en=0"]
run_timeout_mins: 120
}
{
name: chip_sw_lc_walkthrough_rma
uvm_test_seq: chip_sw_lc_walkthrough_vseq
sw_images: ["//sw/device/tests/sim_dv:lc_walkthrough_test:1:new_rules"]
en_run_modes: ["sw_test_mode_test_rom"]
run_opts: ["+use_otp_image=OtpTypeLcStRaw", "+dest_dec_state=DecLcStRma",
"+flash_program_latency=5",