aboutsummaryrefslogtreecommitdiffstats
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 19:39:44 -0700
commit91468ae7a0f17bfc62026f41f7c9d3779c6b7f98 (patch)
treeffd1377264c6983f82cfd966b8c297dfd8121a91
parenta099aca3c203eeea6b6cd093f31089c2a0933927 (diff)
downloadnextpnr-91468ae7a0f17bfc62026f41f7c9d3779c6b7f98.tar.gz
nextpnr-91468ae7a0f17bfc62026f41f7c9d3779c6b7f98.tar.bz2
nextpnr-91468ae7a0f17bfc62026f41f7c9d3779c6b7f98.zip
Fix tns
-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 2ec8d571..d9d40714 100644
--- a/common/place_common.cc
+++ b/common/place_common.cc
@@ -70,6 +70,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;
}