diff options
Diffstat (limited to 'generic/arch.cc')
-rw-r--r-- | generic/arch.cc | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/generic/arch.cc b/generic/arch.cc index 999e5033..a87c4392 100644 --- a/generic/arch.cc +++ b/generic/arch.cc @@ -650,21 +650,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; |