forked from chipsalliance/riscv-dv
-
Notifications
You must be signed in to change notification settings - Fork 8
/
.metrics.json
45 lines (45 loc) · 1.83 KB
/
.metrics.json
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
{
"builds": {
"list": [{
"name": "rv32imc",
"image": "ibex-toolchain:v2",
"memory" : "1",
"cmd": "python3 run.py --test riscv_arithmetic_basic_test --simulator dsim --output out --verbose --co",
"wavesCmd": "python3 run.py --test riscv_arithmetic_basic_test --simulator dsim --output out --verbose --co"
}]
},
"regressions": [{
"name": "riscv-dv_sanity",
"description": "Basic test generated by Google riscv-dv instruction generator",
"tests": {
"builds": ["rv32imc"],
"resultsDir" : "/mux-flow/build/repo/out",
"memory" : "1",
"list": [
{
"name": "riscv_arithmetic_basic_test",
"build": "rv32imc",
"iterations": 2,
"cmd": "cd /mux-flow/results; python3 <rootDir>/run.py --test riscv_arithmetic_basic_test --seed <seed> --simulator dsim --iss spike --so --out <rootDir>/out --verbose; <rootDir>/scripts/check-status $?; rm -fr <rootDir>/out/dsim",
"wavesCmd": "python3 <rootDir>/run.py --test riscv_arithmetic_basic_test --seed <seed> --simulator dsim --iss spike --so --out <rootDir>/out --verbose; <rootDir>/scripts/check-status $?; rm -rf out/dsim",
"logFile": "simulation.log",
"metricsFile": "metrics.db",
"isPass": "Test passed",
"seed": "random"
}
]
}
},
{
"name" : "riscv-dv_regression",
"description": "Tests generated by Google riscv-dv instruction generator",
"tests": {
"resultsDir": "/mux-flow/build/repo/out",
"builds": ["rv32imc"],
"memory": "1",
"listCmd": "<rootDir>/scripts/genMetricsList.py",
"listFile": "<rootDir>/regression_list.json"
}
}
]
}