aboutsummaryrefslogtreecommitdiffstats
path: root/common/placer1.cc
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2019-03-01 15:25:16 +0000
committerDavid Shah <dave@ds0.me>2019-03-22 10:31:54 +0000
commit801675a2c631b859c4668ada12422bf42aee2db8 (patch)
treedaf82a753b569d7ce6efed5433c9eb95229006fa /common/placer1.cc
parentfcc3bb14959e96073f736050f4085b42589ea9a7 (diff)
downloadnextpnr-801675a2c631b859c4668ada12422bf42aee2db8.tar.gz
nextpnr-801675a2c631b859c4668ada12422bf42aee2db8.tar.bz2
nextpnr-801675a2c631b859c4668ada12422bf42aee2db8.zip
placer1: Only get criticalities when in timing-driven mode
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'common/placer1.cc')
-rw-r--r--common/placer1.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/placer1.cc b/common/placer1.cc
index 9b4b066e..9ebf3ee6 100644
--- a/common/placer1.cc
+++ b/common/placer1.cc
@@ -361,7 +361,7 @@ class SAPlacer
}
// Invoke timing analysis to obtain criticalities
- if (!cfg.budgetBased)
+ if (!cfg.budgetBased && ctx->timing_driven)
get_criticalities(ctx, &net_crit);
// Need to rebuild costs after criticalities change
setup_costs();