Skip to content

Commit aa14abd

Browse files
drt: Fix single step tests
Signed-off-by: Anton Blanchard <[email protected]>
1 parent 25af451 commit aa14abd

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

src/drt/test/drt_aux.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,12 @@ def detailed_route(design, *,
5757

5858

5959
def step_dr(design, size, offset, mazeEndIter, workerDRCCost,
60-
workerMarkerCost, ripupMode, followGuide):
60+
workerMarkerCost, workerFixedShapeCost,
61+
workerMarkerDecay, ripupMode, followGuide):
6162
router = design.getTritonRoute()
6263
router.stepDR(size, offset, mazeEndIter, workerDRCCost,
63-
workerMarkerCost, ripupMode, followGuide)
64+
workerMarkerCost, workerFixedShapeCost,
65+
workerMarkerDecay, ripupMode, followGuide)
6466

6567

6668
def step_end(design):

src/drt/test/single_step.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
verbose=0,
1717
single_step_dr=True)
1818

19-
drt_aux.step_dr(design, 7, 0, 3, 8, 0, 1, True)
20-
drt_aux.step_dr(design, 7, -2, 3, 8, 8, 1, True)
21-
drt_aux.step_dr(design, 7, -5, 3, 8, 8, 1, True)
19+
drt_aux.step_dr(design, 7, 0, 3, 8, 0, 8, 0.95, 1, True)
20+
drt_aux.step_dr(design, 7, -2, 3, 8, 8, 8, 0.95, 1, True)
21+
drt_aux.step_dr(design, 7, -5, 3, 8, 8, 8, 0.95, 1, True)
2222
drt_aux.step_end(design)
2323

2424
def_file = helpers.make_result_file("single_step.def")

src/drt/test/single_step.tcl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ detailed_route -output_drc results/single_step.output.drc.rpt \
99
-verbose 0 \
1010
-single_step_dr
1111

12-
drt::step_dr 7 0 3 8 0 1 true
13-
drt::step_dr 7 -2 3 8 8 1 true
14-
drt::step_dr 7 -5 3 8 8 1 true
12+
drt::step_dr 7 0 3 8 0 8 0.95 1 true
13+
drt::step_dr 7 -2 3 8 8 8 0.95 1 true
14+
drt::step_dr 7 -5 3 8 8 8 0.95 1 true
1515
drt::step_end
1616

1717
set def_file [make_result_file single_step.def]

0 commit comments

Comments
 (0)