Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/dpl/src/Optdp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion src/dpl/src/graphics/Graphics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,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);
Expand Down
Loading