Skip to content

Commit 3422a98

Browse files
committed
gpl: include GET prefix on nesterovBase member functions
Signed-off-by: Augusto Berndt <[email protected]>
1 parent 8219307 commit 3422a98

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/gpl/src/graphics.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ void Graphics::reportSelected()
373373
wlGrad.x,
374374
wlGrad.y,
375375
weight,
376-
gPin->getPin()->getName());
376+
gPin->getPbPin()->getName());
377377
}
378378

379379
FloatPoint wlGrad = nbc_->getWireLengthGradientWA(

src/gpl/src/nesterovBase.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ void GCell::print(utl::Logger* logger, bool print_only_name = true) const
283283
}
284284
}
285285

286-
void GCell::writeAttributesToCSV(std::ostream& out) {
286+
void GCell::writeAttributesToCSV(std::ostream& out) const {
287287
out << "," << insts_.size() << "," << gPins_.size();
288288
out << "," << lx_ << "," << ly_ << "," << ux_ << "," << uy_;
289289
out << "," << dLx_ << "," << dLy_ << "," << dUx_ << "," << dUy_;

src/gpl/src/timingBase.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@ bool TimingBase::executeTimingDriven(bool run_journal_restore)
153153
for (auto& gNet : nbc_->getGNets()) {
154154
// default weight
155155
gNet->setTimingWeight(1.0);
156-
if (gNet->gPins().size() > 1) {
157-
auto net_slack_opt = rs_->resizeNetSlack(gNet->net()->getDbNet());
156+
if (gNet->getGPins().size() > 1) {
157+
auto net_slack_opt = rs_->resizeNetSlack(gNet->getPbNet()->getDbNet());
158158
if (!net_slack_opt) {
159159
continue;
160160
}
@@ -177,9 +177,9 @@ bool TimingBase::executeTimingDriven(bool run_journal_restore)
177177
"timing",
178178
1,
179179
"net:{} slack:{} weight:{}",
180-
gNet->net()->getDbNet()->getConstName(),
180+
gNet->getPbNet()->getDbNet()->getConstName(),
181181
net_slack,
182-
gNet->totalWeight());
182+
gNet->getTotalWeight());
183183
}
184184
}
185185

0 commit comments

Comments
 (0)