diff options
Diffstat (limited to 'gowin/arch.cc')
-rw-r--r-- | gowin/arch.cc | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/gowin/arch.cc b/gowin/arch.cc index 8aeccfba..58df773c 100644 --- a/gowin/arch.cc +++ b/gowin/arch.cc @@ -1092,21 +1092,6 @@ TimingClockingInfo Arch::getPortClockingInfo(const CellInfo *cell, IdString port return tmg.clockingInfo.at(port).at(index); } -bool Arch::isValidBelForCell(CellInfo *cell, BelId bel) const -{ - std::vector<const CellInfo *> cells; - cells.push_back(cell); - Loc loc = getBelLocation(bel); - for (auto tbel : getBelsByTile(loc.x, loc.y)) { - if (tbel == bel) - continue; - CellInfo *bound = getBoundBelCell(tbel); - if (bound != nullptr) - cells.push_back(bound); - } - return cellsCompatible(cells.data(), int(cells.size())); -} - bool Arch::isBelLocationValid(BelId bel) const { std::vector<const CellInfo *> cells; |