File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ struct GowinGlobalRouter
4040
4141 GowinGlobalRouter (Context *ctx) : ctx(ctx) { gwu.init (ctx); };
4242
43- bool checkPipAvail (PipId pip) const { return gwu.is_global_pip (pip) || ctx->checkPipAvail (pip); };
43+ bool global_pip_available (PipId pip) const { return gwu.is_global_pip (pip) || ctx->checkPipAvail (pip); };
4444
4545 // allow io->global, global->global and global->tile clock
4646 bool global_pip_filter (PipId pip) const
@@ -93,7 +93,7 @@ struct GowinGlobalRouter
9393 // Search uphill pips
9494 for (PipId pip : ctx->getPipsUphill (cursor)) {
9595 // Skip pip if unavailable, and not because it's already used for this net
96- if (!checkPipAvail (pip) && ctx->getBoundPipNet (pip) != net) {
96+ if (!global_pip_available (pip) && ctx->getBoundPipNet (pip) != net) {
9797 continue ;
9898 }
9999 WireId prev = ctx->getPipSrcWire (pip);
You can’t perform that action at this time.
0 commit comments