File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -1194,14 +1194,16 @@ void GlobalRouter::updatePinAccessPoints()
11941194
11951195 for (Pin& pin : net->getPins ()) {
11961196 if (pin.isPort ()) {
1197- if (auto it = bterm_to_aps.find (pin.getBTerm ()); it != bterm_to_aps.end ()) {
1197+ if (auto it = bterm_to_aps.find (pin.getBTerm ());
1198+ it != bterm_to_aps.end ()) {
11981199 const auto & bterm_ap = it->second ;
11991200 pin.setConnectionLayer (bterm_ap.z ());
12001201 pin.setOnGridPosition (
12011202 grid_->getPositionOnGrid (odb::Point (bterm_ap.x (), bterm_ap.y ())));
12021203 }
12031204 } else {
1204- if (auto it = iterm_to_aps.find (pin.getITerm ()); it != iterm_to_aps.end ()) {
1205+ if (auto it = iterm_to_aps.find (pin.getITerm ());
1206+ it != iterm_to_aps.end ()) {
12051207 const auto & iterm_ap = it->second ;
12061208 pin.setConnectionLayer (iterm_ap.z ());
12071209 pin.setOnGridPosition (
Original file line number Diff line number Diff line change 99#include " GridGraph.h"
1010#include " Netlist.h"
1111#include " geo.h"
12-
1312#include " odb/db.h"
1413
1514namespace grt {
@@ -64,10 +63,12 @@ bool GRNet::isInsideLayerRange(int layer_index) const
6463
6564void GRNet::addPreferredAccessPoint (int pin_index, const AccessPoint& ap)
6665{
67- if (auto it = pin_index_to_iterm_.find (pin_index); it != pin_index_to_iterm_.end ()) {
66+ if (auto it = pin_index_to_iterm_.find (pin_index);
67+ it != pin_index_to_iterm_.end ()) {
6868 odb::dbITerm* iterm = it->second ;
6969 iterm_to_ap_[iterm] = ap;
70- } else if (auto it = pin_index_to_bterm_.find (pin_index); it != pin_index_to_bterm_.end ()) {
70+ } else if (auto it = pin_index_to_bterm_.find (pin_index);
71+ it != pin_index_to_bterm_.end ()) {
7172 odb::dbBTerm* bterm = it->second ;
7273 bterm_to_ap_[bterm] = ap;
7374 }
You can’t perform that action at this time.
0 commit comments