aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorEddie Hung <eddieh@ece.ubc.ca>2018-07-30 19:39:44 -0700
committerEddie Hung <eddieh@ece.ubc.ca>2018-07-30 21:50:31 -0700
commite4b044da52ce7d8fed2e461bec09c86cb293566d (patch)
treed1af4b8d64bdbe3468337d3f86ccec25718535a0 /common
parent0daffec2a0efdbea36201eeb5666d208a10d0226 (diff)
downloadnextpnr-e4b044da52ce7d8fed2e461bec09c86cb293566d.tar.gz
nextpnr-e4b044da52ce7d8fed2e461bec09c86cb293566d.tar.bz2
nextpnr-e4b044da52ce7d8fed2e461bec09c86cb293566d.zip
Fix tns
Diffstat (limited to 'common')
-rw-r--r--common/place_common.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/place_common.cc b/common/place_common.cc
index 5673c847..b7ea84f8 100644
--- a/common/place_common.cc
+++ b/common/place_common.cc
@@ -72,6 +72,7 @@ wirelen_t get_net_metric(const Context *ctx, const NetInfo *net, MetricType type
wirelength = wirelen_t((ymax - ymin) + (xmax - xmin));
}
+ tns = ctx->getDelayNS(tns);
return wirelength;
}