diff options
author | David Shah <davey1576@gmail.com> | 2018-06-19 15:34:07 +0200 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2018-06-19 15:34:07 +0200 |
commit | 7e7aea2c69b8621a10aae9f65cd4fd4a4fab8941 (patch) | |
tree | 7ba3d32853d28fbc954e6d7120b5c860fafff4a9 /common | |
parent | b5c1b0907974b3c94794a75e84d6c374c3326c40 (diff) | |
download | nextpnr-7e7aea2c69b8621a10aae9f65cd4fd4a4fab8941.tar.gz nextpnr-7e7aea2c69b8621a10aae9f65cd4fd4a4fab8941.tar.bz2 nextpnr-7e7aea2c69b8621a10aae9f65cd4fd4a4fab8941.zip |
place_sa: Add log output during initial placement
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'common')
-rw-r--r-- | common/place_sa.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/common/place_sa.cc b/common/place_sa.cc index c94c8699..a5bb4e77 100644 --- a/common/place_sa.cc +++ b/common/place_sa.cc @@ -311,10 +311,17 @@ bool place_design_sa(Context *ctx) // Place cells randomly initially log_info("Creating initial placement for remaining %d cells.\n", int(autoplaced.size())); + for (auto cell : autoplaced) { place_initial(ctx, cell, state.checker); placed_cells++; + if (placed_cells % 500 == 0) { + log_info("Initial placement placed %d/%d cells\n", + int(placed_cells), int(ctx->cells.size())); + } } + log_info("Initial placement placed %d/%d cells\n", int(placed_cells), + int(ctx->cells.size())); log_info("Running simulated annealing placer.\n"); |