aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2019-12-10 11:31:08 +0000
committerDavid Shah <dave@ds0.me>2020-02-03 11:38:31 +0000
commit3b6d9c952a45292c93de19040868c2c2ae562f26 (patch)
tree86abebbe68122a2ec210d755732d3523be6b1671
parenta1c703729cf4bf51752f188f63d5f0969d9f544b (diff)
downloadnextpnr-3b6d9c952a45292c93de19040868c2c2ae562f26.tar.gz
nextpnr-3b6d9c952a45292c93de19040868c2c2ae562f26.tar.bz2
nextpnr-3b6d9c952a45292c93de19040868c2c2ae562f26.zip
router2: special case improvement
Signed-off-by: David Shah <dave@ds0.me>
-rw-r--r--common/router2.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/router2.cc b/common/router2.cc
index 533cee33..5f3ebeea 100644
--- a/common/router2.cc
+++ b/common/router2.cc
@@ -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) {