forked from chipsalliance/riscv-dv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.metrics.json
52 lines (52 loc) · 2.17 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
46
47
48
49
50
51
52
{
"variables": {
"DSIM" : "${DSIM_HOME}/bin/dsim",
"DSIM_LIB_PATH" : "${DSIM_HOME}/uvm-1.2/src/dpi",
"RISCV_GCC" : "${RISCV_TOOLCHAIN}/bin/riscv-none-embed-gcc",
"RISCV_OBJCOPY" : "${RISCV_TOOLCHAIN}/bin/riscv-none-embed-objcopy",
"OVPSIM_PATH" : "/customer-tools/riscv-ovpsim/bin/Linux64"
},
"builds": {
"list": [{
"name": "rv32imc",
"image": "ibex-dsim-toolchain:latest",
"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 ovpsim --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 ovpsim --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"
}
}
]
}