From fd6366f027c5e9099e555f733f3092903897374d Mon Sep 17 00:00:00 2001 From: gatecat Date: Thu, 2 Sep 2021 17:22:59 +0100 Subject: nexus: Fix getBelGlobalBuf Signed-off-by: gatecat --- nexus/arch.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'nexus') 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 std::vector 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 { -- cgit v1.2.3