timing_opt: Reduce search diameter to 2

Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
David Shah 2018-12-02 16:43:11 +00:00
parent 745960fa85
commit 2b84b33cd6

View File

@ -466,7 +466,7 @@ class TimingOptimiser
} }
IdString last_cell; 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) { for (auto cell : path_cells) {
// FIXME: when should we allow swapping due to a lack of candidates // FIXME: when should we allow swapping due to a lack of candidates
find_neighbours(ctx->cells[cell].get(), last_cell, d, false); find_neighbours(ctx->cells[cell].get(), last_cell, d, false);