router2: Fix handling of unavailable wires when reserving drivers

Regression from 914e84257d

Fixes #1792

Signed-off-by: gatecat <[email protected]>
This commit is contained in:
gatecat
2026-09-06 13:55:49 +02:00
parent 07b473030e
commit 6b58ca1376
+2
View File
@@ -611,6 +611,8 @@ struct Router2
auto &wd = wire_data(cursor);
if (ctx->debug)
log(" %s (driver output)\n", ctx->nameOfWire(cursor));
if (wd.reserved_net == PerWireData::RESERVED_UNAVAILABLE)
break;
did_something |= (wd.reserved_net != net->udata);
if (wd.reserved_net != -1 && wd.reserved_net != net->udata)
log_error("attempting to reserve driver output path wire '%s' for nets '%s' and '%s'\n",