mirror of
https://github.com/YosysHQ/nextpnr.git
synced 2026-05-04 15:15:34 +00:00
router2: Fix case of undriven unsunk arcs
Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
@@ -141,6 +141,8 @@ struct Router2
|
||||
nets.at(i).src_wire = src_wire;
|
||||
if (ni->driver.cell == nullptr)
|
||||
src_wire = dst_wire;
|
||||
if (ni->driver.cell == nullptr && dst_wire == WireId())
|
||||
continue;
|
||||
if (src_wire == WireId())
|
||||
log_error("No wire found for port %s on source cell %s.\n", ctx->nameOf(ni->driver.port),
|
||||
ctx->nameOf(ni->driver.cell));
|
||||
|
||||
Reference in New Issue
Block a user