Skip to content

Commit 0082016

Browse files
authored
Merge pull request #7266 from The-OpenROAD-Project-staging/tap-fixed-cell-detection
TAP: account for multi-height fixed cells detection
2 parents 5a61cec + ad1f82b commit 0082016

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/tap/src/tapcell.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,10 @@ int Tapcell::placeTapcells(odb::dbMaster* tapcell_master,
185185
}
186186

187187
const odb::Rect row_bb = row->getBBox();
188-
188+
odb::Rect query_box;
189+
row_bb.bloat(-1, query_box);
189190
std::set<odb::dbInst*> row_insts(
190-
fixed_instances.qbegin(boost::geometry::index::covered_by(row_bb)),
191+
fixed_instances.qbegin(boost::geometry::index::intersects(query_box)),
191192
fixed_instances.qend());
192193

193194
const int llx = row_bb.xMin();

0 commit comments

Comments
 (0)