Skip to content

Commit 65d49af

Browse files
committed
dpl: fix debug mode,
before this change, DPL modifications were hidden now we have a two stage stop, where we stop before DPL modifications, then we stop again for DPO modifications Signed-off-by: Augusto Berndt <[email protected]>
1 parent d987427 commit 65d49af

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)