nexus: Fix getBelGlobalBuf
Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
parent
01b51fb715
commit
fd6366f027
@ -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
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user