aboutsummaryrefslogtreecommitdiffstats
path: root/nexus/arch.h
diff options
context:
space:
mode:
Diffstat (limited to 'nexus/arch.h')
-rw-r--r--nexus/arch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nexus/arch.h b/nexus/arch.h
index d713afcf..4a28dfb7 100644
--- a/nexus/arch.h
+++ b/nexus/arch.h
@@ -1072,7 +1072,7 @@ struct Arch : BaseArch<ArchRanges>
bool getBelGlobalBuf(BelId bel) const override
{
IdString type = getBelType(bel);
- return type == id_DCC || type == id_VCC_DRV;
+ return type.in(id_DCC, id_VCC_DRV);
}
IdString getBelType(BelId bel) const override