diff options
| author | gatecat <gatecat@ds0.me> | 2021-09-02 17:22:59 +0100 |
|---|---|---|
| committer | gatecat <gatecat@ds0.me> | 2021-09-02 17:23:11 +0100 |
| commit | fd6366f027c5e9099e555f733f3092903897374d (patch) | |
| tree | 70f4a99bfdb864fe71f3d98e391b8f76e28c656f | |
| parent | 01b51fb71529d10344db6a515ea7e58793dcefa9 (diff) | |
| download | nextpnr-fd6366f027c5e9099e555f733f3092903897374d.tar.gz nextpnr-fd6366f027c5e9099e555f733f3092903897374d.tar.bz2 nextpnr-fd6366f027c5e9099e555f733f3092903897374d.zip | |
nexus: Fix getBelGlobalBuf
Signed-off-by: gatecat <gatecat@ds0.me>
| -rw-r--r-- | nexus/arch.h | 6 |
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 { |
