diff options
author | David Shah <davey1576@gmail.com> | 2018-06-15 21:16:53 +0200 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2018-06-16 14:44:10 +0200 |
commit | 2479b4ecbf629192db18e3873dd9b4716f8b4752 (patch) | |
tree | a85fba40af8484f159ac3aa051d8979ea20d272e /common | |
parent | 579455d1b0700108c8e327f80bb903f703e57a79 (diff) | |
download | nextpnr-2479b4ecbf629192db18e3873dd9b4716f8b4752.tar.gz nextpnr-2479b4ecbf629192db18e3873dd9b4716f8b4752.tar.bz2 nextpnr-2479b4ecbf629192db18e3873dd9b4716f8b4752.zip |
Improve placement heuristic
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'common')
-rw-r--r-- | common/place.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/common/place.cc b/common/place.cc index 0bb5f3af..ea9f5e34 100644 --- a/common/place.cc +++ b/common/place.cc @@ -415,8 +415,7 @@ void place_design_heuristic(Design *design) else ++n_no_progress; - if (state.temp <= 1e-3 - /*&& n_no_progress >= 5*/) + if (state.temp <= 1e-3 && n_no_progress >= 5) break; double Raccept = (double)state.n_accept / (double)state.n_move; |