diff --git a/src/dpl/src/Optdp.cpp b/src/dpl/src/Optdp.cpp index 70535f2a044..5207e011445 100644 --- a/src/dpl/src/Optdp.cpp +++ b/src/dpl/src/Optdp.cpp @@ -73,7 +73,7 @@ void Opendp::improvePlacement(const int seed, // to dbInst in its post-flush orient loop, so use this orientation for // DetailedMgr DRC checks for (const auto& node : network_->getNodes()) { - if (node->getType() == Node::CELL && !node->isFixed()) { + if (node->getType() == Node::CELL) { odb::dbInst* inst = node->getDbInst(); if (inst && inst->getPlacementStatus().isPlaced()) { node->adjustCurrOrient(inst->getOrient()); @@ -107,6 +107,10 @@ void Opendp::improvePlacement(const int seed, // improvement. If it errors or prints a warning when // given a legal placement, that likely means there is // a bug in my code somewhere. + if (debug_observer_) { + logger_->report("Pause before \"legalize\" DPO initialization."); + debug_observer_->redrawAndPause(); + } ShiftLegalizer lg; lg.legalize(mgr); diff --git a/src/dpl/src/graphics/Graphics.cpp b/src/dpl/src/graphics/Graphics.cpp index c4e468572b6..5065f2a2a26 100644 --- a/src/dpl/src/graphics/Graphics.cpp +++ b/src/dpl/src/graphics/Graphics.cpp @@ -202,7 +202,7 @@ void Graphics::drawObjects(gui::Painter& painter) const odb::Rect core = grid->getCore(); const DbuX site_width = grid->getSiteWidth(); - auto color = gui::Painter::kWhite; + auto color = gui::Painter::kOrange; color.a = 100; painter.setPen(color); painter.setBrush(color);