aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorEddie Hung <eddieh@ece.ubc.ca>2018-07-30 22:20:49 -0700
committerEddie Hung <eddieh@ece.ubc.ca>2018-07-30 22:20:49 -0700
commit07e2c9ba996d5429d7c820c4854ca8a83049d846 (patch)
tree544c77ecf7d3f284c867ce7313b423e59d155c6c /common
parent2ee68bcb600bcc9a9bf516103721cc98c8f86c87 (diff)
downloadnextpnr-07e2c9ba996d5429d7c820c4854ca8a83049d846.tar.gz
nextpnr-07e2c9ba996d5429d7c820c4854ca8a83049d846.tar.bz2
nextpnr-07e2c9ba996d5429d7c820c4854ca8a83049d846.zip
assign_budget() after initial placement, not after pack
Diffstat (limited to 'common')
-rw-r--r--common/placer1.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/placer1.cc b/common/placer1.cc
index c677a22a..09cf9798 100644
--- a/common/placer1.cc
+++ b/common/placer1.cc
@@ -138,6 +138,7 @@ class SAPlacer
if ((placed_cells - constr_placed_cells) % 500 != 0)
log_info(" initial placement placed %d/%d cells\n", int(placed_cells - constr_placed_cells),
int(autoplaced.size()));
+ assign_budget(ctx, true);
ctx->yield();
log_info("Running simulated annealing placer.\n");