diff options
author | David Shah <dave@ds0.me> | 2019-03-01 15:25:16 +0000 |
---|---|---|
committer | David Shah <dave@ds0.me> | 2019-03-22 10:31:54 +0000 |
commit | 801675a2c631b859c4668ada12422bf42aee2db8 (patch) | |
tree | daf82a753b569d7ce6efed5433c9eb95229006fa /common/placer1.cc | |
parent | fcc3bb14959e96073f736050f4085b42589ea9a7 (diff) | |
download | nextpnr-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.cc | 2 |
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(); |