Skip to content

Commit 73b7de7

Browse files
yrabbitgatecat
authored andcommitted
gowin: Himbaechel. Fix the style.
Signed-off-by: YRabbit <[email protected]>
1 parent 91b0c4f commit 73b7de7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

himbaechel/uarch/gowin/globals.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)