router2: special case improvement

Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
David Shah 2019-12-10 11:31:08 +00:00
parent a1c703729c
commit 3b6d9c952a

View File

@ -434,7 +434,7 @@ struct Router2
// This could also be used to speed up forwards routing by a hybrid
// bidirectional approach
int backwards_iter = 0;
int backwards_limit = 10;
int backwards_limit = ctx->getBelGlobalBuf(net->driver.cell->bel) ? 20000 : 15;
t.backwards_pip.clear();
t.backwards_queue.push(dst_wire);
while (!t.backwards_queue.empty() && backwards_iter < backwards_limit) {