aboutsummaryrefslogtreecommitdiffstats
path: root/nexus
diff options
context:
space:
mode:
authorYRabbit <rabbit@yrabbit.cyou>2021-09-07 09:18:28 +1000
committerYRabbit <rabbit@yrabbit.cyou>2021-09-07 09:18:28 +1000
commit9368671ca9e5892f4a02e0c18ddcb2cdb62cea5c (patch)
tree605d985c1e223b9dc0dae703a9f03feb6028237c /nexus
parentd6fdd6c7cec607c8270968157dac50c1259993fb (diff)
parentd4a14a0d04109f79f0944d6753b30dceba4dd2ab (diff)
downloadnextpnr-9368671ca9e5892f4a02e0c18ddcb2cdb62cea5c.tar.gz
nextpnr-9368671ca9e5892f4a02e0c18ddcb2cdb62cea5c.tar.bz2
nextpnr-9368671ca9e5892f4a02e0c18ddcb2cdb62cea5c.zip
Merge branch 'master' into extend-placement
Diffstat (limited to 'nexus')
-rw-r--r--nexus/arch.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/nexus/arch.h b/nexus/arch.h
index 4d2649fd..fcb864f6 100644
--- a/nexus/arch.h
+++ b/nexus/arch.h
@@ -1034,7 +1034,11 @@ struct Arch : BaseArch<ArchRanges>
std::vector<BelId> getBelsByTile(int x, int y) const override;
- bool getBelGlobalBuf(BelId bel) const override { return false; }
+ bool getBelGlobalBuf(BelId bel) const override
+ {
+ IdString type = getBelType(bel);
+ return type == id_DCC || type == id_VCC_DRV;
+ }
IdString getBelType(BelId bel) const override
{