aboutsummaryrefslogtreecommitdiffstats
path: root/common/place_common.cc
diff options
context:
space:
mode:
authorEddie Hung <eddieh@ece.ubc.ca>2018-11-10 22:30:35 -0800
committerEddie Hung <eddieh@ece.ubc.ca>2018-11-10 22:30:35 -0800
commit78b684bcf88b52282fe06b01e0961b67984df847 (patch)
tree49d7ff3e9485444ffea7af0742620b5470f38ead /common/place_common.cc
parent200fb3f6646a20fb5b3bca6d66964417f477689c (diff)
downloadnextpnr-78b684bcf88b52282fe06b01e0961b67984df847.tar.gz
nextpnr-78b684bcf88b52282fe06b01e0961b67984df847.tar.bz2
nextpnr-78b684bcf88b52282fe06b01e0961b67984df847.zip
[placer1] Actually check for TMG_IGNORE!
Diffstat (limited to 'common/place_common.cc')
-rw-r--r--common/place_common.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/place_common.cc b/common/place_common.cc
index 4810697c..95343dc0 100644
--- a/common/place_common.cc
+++ b/common/place_common.cc
@@ -37,7 +37,7 @@ wirelen_t get_net_metric(const Context *ctx, const NetInfo *net, MetricType type
if (driver_gb)
return 0;
IdString clock_port;
- bool driver_tmg_ignore = ctx->getPortTimingClass(driver_cell, net->driver.port, clock_port);
+ bool driver_tmg_ignore = ctx->getPortTimingClass(driver_cell, net->driver.port, clock_port) == TMG_IGNORE;
delay_t negative_slack = 0;
delay_t worst_slack = std::numeric_limits<delay_t>::max();
Loc driver_loc = ctx->getBelLocation(driver_cell->bel);