diff --git a/himbaechel/uarch/gowin/globals.cc b/himbaechel/uarch/gowin/globals.cc index 0489a9e00c..229f2908df 100644 --- a/himbaechel/uarch/gowin/globals.cc +++ b/himbaechel/uarch/gowin/globals.cc @@ -40,7 +40,7 @@ struct GowinGlobalRouter GowinGlobalRouter(Context *ctx) : ctx(ctx) { gwu.init(ctx); }; - bool checkPipAvail(PipId pip) const { return gwu.is_global_pip(pip) || ctx->checkPipAvail(pip); }; + bool global_pip_available(PipId pip) const { return gwu.is_global_pip(pip) || ctx->checkPipAvail(pip); }; // allow io->global, global->global and global->tile clock bool global_pip_filter(PipId pip) const @@ -93,7 +93,7 @@ struct GowinGlobalRouter // Search uphill pips for (PipId pip : ctx->getPipsUphill(cursor)) { // Skip pip if unavailable, and not because it's already used for this net - if (!checkPipAvail(pip) && ctx->getBoundPipNet(pip) != net) { + if (!global_pip_available(pip) && ctx->getBoundPipNet(pip) != net) { continue; } WireId prev = ctx->getPipSrcWire(pip);