mirror of
https://github.com/YosysHQ/nextpnr.git
synced 2026-10-06 09:53:22 +02:00
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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user