router2: Fix vast perf drop when leaving bounding box

Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
gatecat 2021-03-08 15:05:15 +00:00
parent 55fa8b7745
commit da88d3d825

View File

@ -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();