Skip to content

Commit 8d69146

Browse files
authored
Merge pull request #8266 from gudeh/dpl-debug-two-stage-stop
dpl: fix debug mode, two stage stop (for DPL and DPO)
2 parents ee8fab7 + 65d49af commit 8d69146

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/dpl/src/Optdp.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include "utl/Logger.h"
99

1010
// My stuff.
11+
#include "graphics/DplObserver.h"
1112
#include "legalize_shift.h"
1213
#include "optimization/detailed.h"
1314
#include "optimization/detailed_manager.h"
@@ -116,6 +117,10 @@ void Opendp::improvePlacement(const int seed,
116117
Detailed dt(dtParams);
117118
dt.improve(mgr);
118119

120+
if (debug_observer_) {
121+
debug_observer_->endPlacement();
122+
}
123+
119124
// Write solution back.
120125
updateDbInstLocations();
121126

0 commit comments

Comments
 (0)