@@ -45,7 +45,7 @@ void PadPlacer::populateInstWidths()
4545 master->getPlacementBoundary (inst_bbox);
4646 xform.apply (inst_bbox);
4747
48- switch (getRowDirection ()) {
48+ switch (getRowEdge ()) {
4949 case odb::Direction2D::North:
5050 case odb::Direction2D::South:
5151 inst_widths_[inst] = inst_bbox.dx ();
@@ -63,7 +63,7 @@ int PadPlacer::getRowStart() const
6363 const odb::Rect row_bbox = getRow ()->getBBox ();
6464
6565 int row_start = 0 ;
66- switch (getRowDirection ()) {
66+ switch (getRowEdge ()) {
6767 case odb::Direction2D::North:
6868 case odb::Direction2D::South:
6969 row_start = row_bbox.xMin ();
@@ -82,7 +82,7 @@ int PadPlacer::getRowEnd() const
8282 const odb::Rect row_bbox = getRow ()->getBBox ();
8383
8484 int row_end = 0 ;
85- switch (getRowDirection ()) {
85+ switch (getRowEdge ()) {
8686 case odb::Direction2D::North:
8787 case odb::Direction2D::South:
8888 row_end = row_bbox.xMax ();
@@ -101,7 +101,7 @@ int PadPlacer::getRowWidth() const
101101 const odb::Rect row_bbox = getRow ()->getBBox ();
102102
103103 int row_width = 0 ;
104- switch (getRowDirection ()) {
104+ switch (getRowEdge ()) {
105105 case odb::Direction2D::North:
106106 case odb::Direction2D::South:
107107 row_width = row_bbox.dx ();
@@ -518,7 +518,7 @@ void BumpAlignedPadPlacer::place()
518518 std::map<odb::dbInst*, int > inst_pos;
519519 if (!min_terms.empty ()) {
520520 int group_center = 0 ;
521- switch (getRowDirection ()) {
521+ switch (getRowEdge ()) {
522522 case odb::Direction2D::North:
523523 case odb::Direction2D::South:
524524 group_center = min_terms.at (inst)->getBBox ().xCenter ();
@@ -592,7 +592,7 @@ int64_t BumpAlignedPadPlacer::computePadBumpDistance(odb::dbInst* inst,
592592 const odb::Point row_center = getRow ()->getBBox ().center ();
593593 const odb::Point center = bump->getBBox ().center ();
594594
595- switch (getRowDirection ()) {
595+ switch (getRowEdge ()) {
596596 case odb::Direction2D::North:
597597 case odb::Direction2D::South:
598598 return odb::Point::squaredDistance (
@@ -639,7 +639,7 @@ BumpAlignedPadPlacer::getBumpAlignmentGroup(
639639 // no longer the first pad in group, check if bumps are in same
640640 // column/row
641641 bool keep = true ;
642- switch (getRowDirection ()) {
642+ switch (getRowEdge ()) {
643643 case odb::Direction2D::North:
644644 case odb::Direction2D::South:
645645 keep = min_terms[inst]->getBBox ().xCenter ()
@@ -713,7 +713,7 @@ void BumpAlignedPadPlacer::performPadFlip(odb::dbInst* inst) const
713713
714714 // try flipping pad
715715 inst->setPlacementStatus (odb::dbPlacementStatus::PLACED);
716- switch (getRowDirection ()) {
716+ switch (getRowEdge ()) {
717717 case odb::Direction2D::North:
718718 case odb::Direction2D::South:
719719 inst->setLocationOrient (start_orient.flipY ());
0 commit comments