diff options
author | gatecat <gatecat@ds0.me> | 2021-02-17 08:50:31 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-17 08:50:31 +0000 |
commit | a77ceec5cf5603542d87724d9fdc51d48fa29327 (patch) | |
tree | daba555e135e64e112e5167aa4eba4c3048a6b8e /generic/arch.cc | |
parent | a74d1a8b328252c2c07e7af7b9e9bb0e5f251bb5 (diff) | |
parent | c7c13cd95f7a25b2c8932ca00ad667ffca381c70 (diff) | |
download | nextpnr-a77ceec5cf5603542d87724d9fdc51d48fa29327.tar.gz nextpnr-a77ceec5cf5603542d87724d9fdc51d48fa29327.tar.bz2 nextpnr-a77ceec5cf5603542d87724d9fdc51d48fa29327.zip |
Merge pull request #585 from YosysHQ/gatecat/remove-ivbfc
Remove isValidBelForCell
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; |