aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-03-08 15:05:15 +0000
committergatecat <gatecat@ds0.me>2021-03-08 15:06:30 +0000
commitda88d3d825ccc486babb3a7b68a15925d0329fe6 (patch)
treedb2b2f0c6123b3156b4487576189b263e5655fb3
parent55fa8b77457cba6834ca16ae13bb59b5325ac90a (diff)
downloadnextpnr-da88d3d825ccc486babb3a7b68a15925d0329fe6.tar.gz
nextpnr-da88d3d825ccc486babb3a7b68a15925d0329fe6.tar.bz2
nextpnr-da88d3d825ccc486babb3a7b68a15925d0329fe6.zip
router2: Fix vast perf drop when leaving bounding box
Signed-off-by: gatecat <gatecat@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 1b7a6fed..9fca1f2a 100644
--- a/common/router2.cc
+++ b/common/router2.cc
@@ -640,7 +640,7 @@ struct Router2
bool debug_arc = /*usr.cell->type.str(ctx).find("RAMB") != std::string::npos && (usr.port ==
ctx->id("ADDRATIEHIGH0") || usr.port == ctx->id("ADDRARDADDRL0"))*/
false;
- while (!t.queue.empty() && (!is_bb || iter < toexplore)) {
+ while (!t.queue.empty() && iter < toexplore) {
auto curr = t.queue.top();
auto &d = flat_wires.at(curr.wire);
t.queue.pop();