Skip to content

Commit 31eeadc

Browse files
committed
dpl: use global swap params for gs -p/-t
Signed-off-by: PrecisEDAnon <[email protected]>
1 parent 5f718d2 commit 31eeadc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/dpl/src/Optdp.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,9 @@ void Opendp::improvePlacement(const int seed,
102102
// Maximum independent set matching.
103103
dtParams.script += "mis -p 10 -t 0.005;";
104104
// Global swaps.
105-
dtParams.script += "gs -p 10 -t 0.005;";
105+
dtParams.script += "gs -p " + std::to_string(global_swap_params_.passes)
106+
+ " -t " + std::to_string(global_swap_params_.tolerance)
107+
+ ";";
106108
// Vertical swaps.
107109
dtParams.script += "vs -p 10 -t 0.005;";
108110
// Small reordering.

0 commit comments

Comments
 (0)