nexus: Fix getBelGlobalBuf

Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
gatecat 2021-09-02 17:22:59 +01:00
parent 01b51fb715
commit fd6366f027

View File

@ -1034,7 +1034,11 @@ struct Arch : BaseArch<ArchRanges>
std::vector<BelId> getBelsByTile(int x, int y) const override; 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 IdString getBelType(BelId bel) const override
{ {