aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2018-12-02 16:43:11 +0000
committerDavid Shah <dave@ds0.me>2018-12-06 10:53:01 +0000
commit2b84b33cd697a1dfa46ed4bc231644177add2b83 (patch)
treeafd4f2c185bbf25cdb2c708fb63f1b4a96c2dc9e /common
parent745960fa858b91dc27371971770a0abd8ca244dc (diff)
downloadnextpnr-2b84b33cd697a1dfa46ed4bc231644177add2b83.tar.gz
nextpnr-2b84b33cd697a1dfa46ed4bc231644177add2b83.tar.bz2
nextpnr-2b84b33cd697a1dfa46ed4bc231644177add2b83.zip
timing_opt: Reduce search diameter to 2
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'common')
-rw-r--r--common/timing_opt.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/timing_opt.cc b/common/timing_opt.cc
index 851a20d7..6aa120ae 100644
--- a/common/timing_opt.cc
+++ b/common/timing_opt.cc
@@ -466,7 +466,7 @@ class TimingOptimiser
}
IdString last_cell;
- const int d = 5; // FIXME: how to best determine d
+ const int d = 2; // FIXME: how to best determine d
for (auto cell : path_cells) {
// FIXME: when should we allow swapping due to a lack of candidates
find_neighbours(ctx->cells[cell].get(), last_cell, d, false);