Skip to content

Commit a3a121f

Browse files
author
pascalgouedo
authored
Merge pull request #2487 from XavierAubert/cv32e40p/nr_script
V2 regression scripts & other updates
2 parents 87940ec + 67acd93 commit a3a121f

7 files changed

+878
-27
lines changed

bin/README.md

+12-5
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,14 @@ Please refer to the help utility of *cv_regress* for more details on the utility
8989
9090
Once regression script is generated, it can be run using the correct tool, either by sourcing the shell script, or as an example using Questa Verification Run Manager:
9191

92-
> vrun -rmdb vsim_ci_check.rmdb -run cv32e40p
92+
> % vrun -rmdb vsim_ci_check.rmdb -run cv32e40p
93+
94+
95+
### CV32E40Pv2 Regression Generator
96+
97+
For cv32e40pv2 project, regressions have been split into 5 files across 7 configurations. An interactive utiliy can be run to customize regression parameters (ISS, coverage collection, simulator...) and generate all files needed, by following the instructions of the script.
98+
99+
> % sh cv32e40pv2_nr_generator.sh
93100
94101
### Regression YAML Format
95102

@@ -115,7 +122,7 @@ tests:<br>
115122
&nbsp;&nbsp;<*Required*: test label. If using the test only once in the same yaml file, the label can match the *actual* test name><br>
116123
&nbsp;&nbsp;**test_name0**:<br>
117124
&nbsp;&nbsp;&nbsp;&nbsp;<*Required*: build dependencies, can be a single build_name, or a list of build_name if **builds** is specified (plural) ><br>
118-
&nbsp;&nbsp;&nbsp;&nbsp;**build(s)**: \<string> (list of \<string>) <br>
125+
&nbsp;&nbsp;&nbsp;&nbsp;**build(s)**: \<string> (if plural, a list of \<string>) <br>
119126
&nbsp;&nbsp;&nbsp;&nbsp;<*Required*: human-readable test description><br>
120127
&nbsp;&nbsp;&nbsp;&nbsp;**description**: \<string><br>
121128
&nbsp;&nbsp;&nbsp;&nbsp;<*Required*: make directory for the test><br>
@@ -125,9 +132,9 @@ tests:<br>
125132
&nbsp;&nbsp;&nbsp;&nbsp;**testname**: \<string><br>
126133
&nbsp;&nbsp;&nbsp;&nbsp;<*Optional*: A make command to run before running the test(s). This could be used for gen_* makes for corev-dv<br>
127134
&nbsp;&nbsp;&nbsp;&nbsp;**precmd**: \<string><br>
128-
&nbsp;&nbsp;&nbsp;&nbsp;<*Optional*: A specific configuration of the riscv-dv generator to use for this test><br>
129-
&nbsp;&nbsp;&nbsp;&nbsp;**riscvdv_cfg**: \<string><br>
130135
&nbsp;&nbsp;&nbsp;&nbsp;<*Required*: make directory for the test><br>
131136
&nbsp;&nbsp;&nbsp;&nbsp;**cmd**: \<string><br>
132137
&nbsp;&nbsp;&nbsp;&nbsp;<*Optional*: The number of test iterations to run. Note that all runs will receive a random seed><br>
133-
&nbsp;&nbsp;&nbsp;&nbsp;**num**: \<number>
138+
&nbsp;&nbsp;&nbsp;&nbsp;**num**: \<number><br>
139+
&nbsp;&nbsp;&nbsp;&nbsp;<*Optional*: a list of configurations or simulators to be skipped for this specific test><br>
140+
&nbsp;&nbsp;&nbsp;&nbsp;**skip_sim**: \<number><br>

0 commit comments

Comments
 (0)