Skip to content

Commit

Permalink
gowin: Himbaechel. Fix the style.
Browse files Browse the repository at this point in the history
Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
  • Loading branch information
yrabbit authored and gatecat committed Jan 23, 2024
1 parent 91b0c4f commit 73b7de7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions himbaechel/uarch/gowin/globals.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 73b7de7

Please sign in to comment.