diff options
author | gatecat <gatecat@ds0.me> | 2023-03-06 09:07:42 +0100 |
---|---|---|
committer | myrtle <gatecat@ds0.me> | 2023-03-06 14:15:48 +0100 |
commit | 132a98a91db2771efd8cba40399950bcb0fb5f07 (patch) | |
tree | 029b0002740fd24f8d713ea89ad18a30c1b82558 | |
parent | 2f509734dff676b7543a574b64a46be4224a5aa4 (diff) | |
download | nextpnr-132a98a91db2771efd8cba40399950bcb0fb5f07.tar.gz nextpnr-132a98a91db2771efd8cba40399950bcb0fb5f07.tar.bz2 nextpnr-132a98a91db2771efd8cba40399950bcb0fb5f07.zip |
router1: Add error when dest port has no wire
Signed-off-by: gatecat <gatecat@ds0.me>
-rw-r--r-- | common/route/router1.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/route/router1.cc b/common/route/router1.cc index 98132116..0f1f0fcf 100644 --- a/common/route/router1.cc +++ b/common/route/router1.cc @@ -401,6 +401,10 @@ struct Router1 arc.user_idx = user.index; arc.phys_idx = phys_idx++; + if (dst_wire == WireId()) + log_error("No wire found for port %s on destination cell %s.\n", ctx->nameOf(user.value.port), + ctx->nameOf(user.value.cell)); + if (dst_to_arc.count(dst_wire)) { if (dst_to_arc.at(dst_wire).net_info == net_info) continue; |