File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -871,11 +871,11 @@ bool Opendp::checkPixels(const Node* cell,
871871 return false ;
872872 }
873873
874+ dbSite* site = cell->getSite ();
874875 for (GridY y1 = y; y1 < y_end; y1++) {
875876 const bool first_row = (y1 == y);
876877 for (GridX x1 = x; x1 < x_end; x1++) {
877878 const Pixel* pixel = grid_->gridPixel (x1, y1);
878- auto site = cell->getSite ();
879879 if (pixel == nullptr || pixel->cell || !pixel->is_valid
880880 || (cell->inGroup () && pixel->group != cell->getGroup ())
881881 || (!cell->inGroup () && pixel->group )
@@ -915,7 +915,6 @@ bool Opendp::checkPixels(const Node* cell,
915915 }
916916 }
917917 }
918- dbSite* site = cell->getDbInst ()->getMaster ()->getSite ();
919918 const auto orient = grid_->getSiteOrientation (x, y, site).value ();
920919 return drc_engine_->checkDRC (cell, x, y, orient);
921920}
You can’t perform that action at this time.
0 commit comments