Quick fix for router bug in unrouting a conflicting pip
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
parent
31fe52581b
commit
8aaf845670
@ -422,7 +422,9 @@ struct Router
|
|||||||
NPNR_ASSERT(ripup);
|
NPNR_ASSERT(ripup);
|
||||||
NPNR_ASSERT(conflicting_pip_net != net_name);
|
NPNR_ASSERT(conflicting_pip_net != net_name);
|
||||||
|
|
||||||
ctx->unbindPip(pip);
|
if (ctx->getBoundPipNet(pip) == conflicting_pip_net)
|
||||||
|
ctx->unbindPip(pip);
|
||||||
|
|
||||||
if (!ctx->checkPipAvail(pip))
|
if (!ctx->checkPipAvail(pip))
|
||||||
ripup_net(ctx, conflicting_pip_net);
|
ripup_net(ctx, conflicting_pip_net);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user