gowin: Himbaechel. Fix the style.

Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
This commit is contained in:
YRabbit 2024-01-23 21:57:23 +10:00 committed by myrtle
parent 91b0c4f90a
commit 73b7de74a5

View File

@ -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);