gowin: Himbaechel. Fix the style.
Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
This commit is contained in:
parent
91b0c4f90a
commit
73b7de74a5
@ -40,7 +40,7 @@ struct GowinGlobalRouter
|
|||||||
|
|
||||||
GowinGlobalRouter(Context *ctx) : ctx(ctx) { gwu.init(ctx); };
|
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
|
// allow io->global, global->global and global->tile clock
|
||||||
bool global_pip_filter(PipId pip) const
|
bool global_pip_filter(PipId pip) const
|
||||||
@ -93,7 +93,7 @@ struct GowinGlobalRouter
|
|||||||
// Search uphill pips
|
// Search uphill pips
|
||||||
for (PipId pip : ctx->getPipsUphill(cursor)) {
|
for (PipId pip : ctx->getPipsUphill(cursor)) {
|
||||||
// Skip pip if unavailable, and not because it's already used for this net
|
// 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;
|
continue;
|
||||||
}
|
}
|
||||||
WireId prev = ctx->getPipSrcWire(pip);
|
WireId prev = ctx->getPipSrcWire(pip);
|
||||||
|
Loading…
Reference in New Issue
Block a user