aboutsummaryrefslogtreecommitdiffstats
path: root/common/timing.cc
diff options
context:
space:
mode:
authorD. Shah <dave@ds0.me>2021-01-29 12:58:41 +0000
committerD. Shah <dave@ds0.me>2021-02-02 17:00:14 +0000
commit9388df19d3ab3ca1b127defafe6fa3f71147f451 (patch)
tree09d4cf8ffab3c6fb1e1c4593e693a62ef5606973 /common/timing.cc
parent6d23461bcd83d27c6b365948a5e85db80389832e (diff)
downloadnextpnr-9388df19d3ab3ca1b127defafe6fa3f71147f451.tar.gz
nextpnr-9388df19d3ab3ca1b127defafe6fa3f71147f451.tar.bz2
nextpnr-9388df19d3ab3ca1b127defafe6fa3f71147f451.zip
refactor: Replace getXName().c_str(ctx) with ctx->nameOfX
This makes the ongoing migration to IdStringList easier. Signed-off-by: D. Shah <dave@ds0.me>
Diffstat (limited to 'common/timing.cc')
-rw-r--r--common/timing.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/timing.cc b/common/timing.cc
index d8445989..9fb14a33 100644
--- a/common/timing.cc
+++ b/common/timing.cc
@@ -885,8 +885,7 @@ void timing_analysis(Context *ctx, bool print_histogram, bool print_fmax, bool p
auto pip = it->second.pip;
NPNR_ASSERT(pip != PipId());
delay = ctx->getPipDelay(pip).maxDelay();
- log_info(" %1.3f %s\n", ctx->getDelayNS(delay),
- ctx->getPipName(pip).c_str(ctx));
+ log_info(" %1.3f %s\n", ctx->getDelayNS(delay), ctx->nameOfPip(pip));
cursor = ctx->getPipSrcWire(pip);
}
}