aboutsummaryrefslogtreecommitdiffstats
path: root/common/place_common.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2018-07-22 10:59:21 +0200
committerClifford Wolf <clifford@clifford.at>2018-07-22 10:59:21 +0200
commit62b66e02085371c456dee95dc08d2cd41351c91f (patch)
tree0c0abbc804421dbb2ef8f80ec722e1976a4ba0d6 /common/place_common.cc
parentc6e4ad322745b478f0f289f4cc5f3668e05700ac (diff)
downloadnextpnr-62b66e02085371c456dee95dc08d2cd41351c91f.tar.gz
nextpnr-62b66e02085371c456dee95dc08d2cd41351c91f.tar.bz2
nextpnr-62b66e02085371c456dee95dc08d2cd41351c91f.zip
Rename getWireBelPin to getBelPinWire
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'common/place_common.cc')
-rw-r--r--common/place_common.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/place_common.cc b/common/place_common.cc
index 370eff23..95b7b2aa 100644
--- a/common/place_common.cc
+++ b/common/place_common.cc
@@ -36,7 +36,7 @@ wirelen_t get_net_metric(const Context *ctx, const NetInfo *net, MetricType type
if (driver_cell->bel == BelId())
return 0;
ctx->estimatePosition(driver_cell->bel, driver_x, driver_y, driver_gb);
- WireId drv_wire = ctx->getWireBelPin(driver_cell->bel, ctx->portPinFromId(net->driver.port));
+ WireId drv_wire = ctx->getBelPinWire(driver_cell->bel, ctx->portPinFromId(net->driver.port));
if (driver_gb)
return 0;
float worst_slack = 1000;
@@ -48,7 +48,7 @@ wirelen_t get_net_metric(const Context *ctx, const NetInfo *net, MetricType type
if (load_cell->bel == BelId())
continue;
if (ctx->timing_driven && type == MetricType::COST) {
- WireId user_wire = ctx->getWireBelPin(load_cell->bel, ctx->portPinFromId(load.port));
+ WireId user_wire = ctx->getBelPinWire(load_cell->bel, ctx->portPinFromId(load.port));
delay_t raw_wl = ctx->estimateDelay(drv_wire, user_wire);
float slack = ctx->getDelayNS(load.budget) - ctx->getDelayNS(raw_wl);
if (slack < 0)