diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/router1.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/router1.cc b/common/router1.cc index a4b37daf..14591232 100644 --- a/common/router1.cc +++ b/common/router1.cc @@ -567,7 +567,7 @@ remove_wire_arcs: NetInfo *ripupPipNet = ctx->getConflictingPipNet(pip); NPNR_ASSERT(ripupPipNet != nullptr); - if (ripupPipNet != net_info || net_info->wires.at(cursor).pip != pip) + if (ripupPipNet != net_info || !net_info->wires.count(cursor) || net_info->wires.at(cursor).pip != pip) ripup_pip(pip); } } |