Skip to content

Commit a38429a

Browse files
Merge pull request #1327 from jordancarlin/breker_fixes
Breker fixes
2 parents d73807b + 3ff2258 commit a38429a

File tree

12 files changed

+17
-190
lines changed

12 files changed

+17
-190
lines changed

bin/regression-wally

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ def process_args(args):
402402
elif args.fcov or args.breker:
403403
sims = [coveragesim]
404404
coverStr = "--fcov"
405-
TIMEOUT_DUR = 8*60
405+
TIMEOUT_DUR = 30*60
406406
shutil.rmtree(f"{regressionDir}/questa/fcov_ucdb", ignore_errors=True)
407407
os.makedirs(f"{regressionDir}/questa/fcov_ucdb", exist_ok=True)
408408
elif args.buildroot:

testbench/trek_files/customer.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ trek:
44
scenarios:
55
scenario_count:
66
# primary control for length of test
7-
value: 5
7+
value: 10
88
riscv:
99
extensions:
1010
# disable hypervisor extension by setting value to 0
@@ -13,15 +13,11 @@ trek:
1313
value: 0
1414

1515
# uncomment the `weights:` line below if any entries under `weights:` need to be enabled
16-
# weights:
16+
weights:
1717
# disable testing of Sv57: Page-Based 57-bit Virtual-Memory System
1818
# if your system does not support this feature
19-
# pss_top.rvMmu.rvMmuOp.RvMmuOp::satpModeSv57: 0
19+
pss_top.rvMmu.rvMmuOp.RvMmuOp::satpModeSv57: 0
2020

2121
# qemu-riscv64 does not ignore writes to WARL bits in hgatp
2222
# Comment out the next line unless your design has this issue
2323
# pss_top.rvMmu.rvMmuOp.RvMmuOp::writeHgatpWarl : 0
24-
25-
26-
27-

tests/breker/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,4 @@ $(TESTDIR):
5656
mkdir -p $(TESTDIR)
5757

5858
clean:
59-
rm -rf $(TESTS)
59+
rm -rf $(TESTDIR)/*

tests/breker/constraints/atomics.yaml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,5 @@
11
trek:
2-
svip:
3-
global:
4-
scenarios:
5-
scenario_count:
6-
# primary control for length of test
7-
value: 10
8-
riscv:
9-
extensions:
10-
# disable hypervisor extension by setting value to 0
11-
# if your system does not support this feature
12-
h_hypervisor:
13-
value: 0
14-
152
weights:
16-
# disable testing of Sv57: Page-Based 57-bit Virtual-Memory System
17-
# if your system does not support this feature
18-
# pss_top.rvMmu.rvMmuOp.RvMmuOp::satpModeSv57: 0
19-
20-
# qemu-riscv64 does not ignore writes to WARL bits in hgatp
21-
# Comment out the next line unless your design has this issue
22-
# pss_top.rvMmu.rvMmuOp.RvMmuOp::writeHgatpWarl : 0
23-
24-
253
# turn off MMU Tests
264
pss_top.rvMmu.rvMmuOp: 0
275

tests/breker/constraints/coherency.yaml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,5 @@
11
trek:
2-
svip:
3-
global:
4-
scenarios:
5-
scenario_count:
6-
# primary control for length of test
7-
value: 10
8-
riscv:
9-
extensions:
10-
# disable hypervisor extension by setting value to 0
11-
# if your system does not support this feature
12-
h_hypervisor:
13-
value: 0
14-
152
weights:
16-
# disable testing of Sv57: Page-Based 57-bit Virtual-Memory System
17-
# if your system does not support this feature
18-
# pss_top.rvMmu.rvMmuOp.RvMmuOp::satpModeSv57: 0
19-
20-
# qemu-riscv64 does not ignore writes to WARL bits in hgatp
21-
# Comment out the next line unless your design has this issue
22-
# pss_top.rvMmu.rvMmuOp.RvMmuOp::writeHgatpWarl : 0
23-
24-
253
# turn off MMU Tests
264
pss_top.rvMmu.rvMmuOp: 0
275

tests/breker/constraints/dekker.yaml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,5 @@
11
trek:
2-
svip:
3-
global:
4-
scenarios:
5-
scenario_count:
6-
# primary control for length of test
7-
value: 10
8-
riscv:
9-
extensions:
10-
# disable hypervisor extension by setting value to 0
11-
# if your system does not support this feature
12-
h_hypervisor:
13-
value: 0
14-
152
weights:
16-
# disable testing of Sv57: Page-Based 57-bit Virtual-Memory System
17-
# if your system does not support this feature
18-
# pss_top.rvMmu.rvMmuOp.RvMmuOp::satpModeSv57: 0
19-
20-
# qemu-riscv64 does not ignore writes to WARL bits in hgatp
21-
# Comment out the next line unless your design has this issue
22-
# pss_top.rvMmu.rvMmuOp.RvMmuOp::writeHgatpWarl : 0
23-
24-
253
# turn off MMU Tests
264
pss_top.rvMmu.rvMmuOp: 0
275

tests/breker/constraints/hello.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,6 @@ trek:
1919
# force a single memory block
2020
min: 1
2121
max: 1
22-
riscv:
23-
extensions:
24-
# disable hypervisor extension
25-
# if your system does not support this feature
26-
h_hypervisor:
27-
value: 0
2822
coherency:
2923
cacheline_states:
3024
scenario_length:

tests/breker/constraints/microloops.yaml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,5 @@
11
trek:
2-
svip:
3-
global:
4-
scenarios:
5-
scenario_count:
6-
# primary control for length of test
7-
value: 10
8-
riscv:
9-
extensions:
10-
# disable hypervisor extension by setting value to 0
11-
# if your system does not support this feature
12-
h_hypervisor:
13-
value: 0
14-
152
weights:
16-
# disable testing of Sv57: Page-Based 57-bit Virtual-Memory System
17-
# if your system does not support this feature
18-
# pss_top.rvMmu.rvMmuOp.RvMmuOp::satpModeSv57: 0
19-
20-
# qemu-riscv64 does not ignore writes to WARL bits in hgatp
21-
# Comment out the next line unless your design has this issue
22-
# pss_top.rvMmu.rvMmuOp.RvMmuOp::writeHgatpWarl : 0
23-
24-
253
# turn off MMU Tests
264
pss_top.rvMmu.rvMmuOp: 0
275

tests/breker/constraints/mmu.yaml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,5 @@
11
trek:
2-
svip:
3-
global:
4-
scenarios:
5-
scenario_count:
6-
# primary control for length of test
7-
value: 10
8-
riscv:
9-
extensions:
10-
# disable hypervisor extension by setting value to 0
11-
# if your system does not support this feature
12-
h_hypervisor:
13-
value: 0
14-
152
weights:
16-
# disable testing of Sv57: Page-Based 57-bit Virtual-Memory System
17-
# if your system does not support this feature
18-
pss_top.rvMmu.rvMmuOp.RvMmuOp::satpModeSv57: 0
19-
20-
# qemu-riscv64 does not ignore writes to WARL bits in hgatp
21-
# Comment out the next line unless your design has this issue
22-
# pss_top.rvMmu.rvMmuOp.RvMmuOp::writeHgatpWarl : 0
23-
24-
253
# turn off MMU Tests
264
# pss_top.rvMmu.rvMmuOp: 0
275

tests/breker/constraints/riscv.yaml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,5 @@
11
trek:
2-
svip:
3-
global:
4-
scenarios:
5-
scenario_count:
6-
# primary control for length of test
7-
value: 10
8-
riscv:
9-
extensions:
10-
# disable hypervisor extension by setting value to 0
11-
# if your system does not support this feature
12-
h_hypervisor:
13-
value: 0
14-
152
weights:
16-
# disable testing of Sv57: Page-Based 57-bit Virtual-Memory System
17-
# if your system does not support this feature
18-
# pss_top.rvMmu.rvMmuOp.RvMmuOp::satpModeSv57: 0
19-
20-
# qemu-riscv64 does not ignore writes to WARL bits in hgatp
21-
# Comment out the next line unless your design has this issue
22-
# pss_top.rvMmu.rvMmuOp.RvMmuOp::writeHgatpWarl : 0
23-
24-
253
# turn off MMU Tests
264
pss_top.rvMmu.rvMmuOp: 0
275

0 commit comments

Comments
 (0)