Skip to content

Commit

Permalink
dpo: only check fixed instances for 1-site gap
Browse files Browse the repository at this point in the history
Signed-off-by: Eder Monteiro <[email protected]>
  • Loading branch information
eder-matheus committed Feb 19, 2025
1 parent 50ace34 commit ee74f25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dpo/src/detailed_manager.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -990,8 +990,8 @@ bool DetailedMgr::isInsideABlockage(const Node* nd, const double position)
return block.getXMax() < target.getXMin();
});

if (it != blockages_[r].end() && position >= it->getXMin()
&& position <= it->getXMax()) {
if (it != blockages_[r].end() && it->isFixedInstance()
&& position >= it->getXMin() && position <= it->getXMax()) {
return true;
}
}
Expand Down

0 comments on commit ee74f25

Please sign in to comment.