diff options
author | Keith Rothman <537074+litghost@users.noreply.github.com> | 2021-03-01 09:41:29 -0800 |
---|---|---|
committer | Keith Rothman <537074+litghost@users.noreply.github.com> | 2021-03-01 09:43:39 -0800 |
commit | 99a2262d61c20019b2a4ce5321df48a9d5d43864 (patch) | |
tree | 538c1bfee2f9799d8df0a1d1042579fea0dd8e24 /common/placer_heap.cc | |
parent | 77a5a60a66b0cfc1602edb61aadf392dc651bf46 (diff) | |
download | nextpnr-99a2262d61c20019b2a4ce5321df48a9d5d43864.tar.gz nextpnr-99a2262d61c20019b2a4ce5321df48a9d5d43864.tar.bz2 nextpnr-99a2262d61c20019b2a4ce5321df48a9d5d43864.zip |
Use scope in router1/2 and placer1.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
Diffstat (limited to 'common/placer_heap.cc')
-rw-r--r-- | common/placer_heap.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/common/placer_heap.cc b/common/placer_heap.cc index cea862af..eb931a37 100644 --- a/common/placer_heap.cc +++ b/common/placer_heap.cc @@ -331,8 +331,6 @@ class HeAPPlacer return false; } - lock.unlock_early(); - auto endtt = std::chrono::high_resolution_clock::now(); log_info("HeAP Placer Time: %.02fs\n", std::chrono::duration<double>(endtt - startt).count()); log_info(" of which solving equations: %.02fs\n", solve_time); @@ -340,6 +338,7 @@ class HeAPPlacer log_info(" of which strict legalisation: %.02fs\n", sl_time); ctx->check(); + lock.unlock_early(); if (!placer1_refine(ctx, Placer1Cfg(ctx))) { return false; |