aboutsummaryrefslogtreecommitdiffstats
path: root/generic/arch.cc
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-02-17 08:50:31 +0000
committerGitHub <noreply@github.com>2021-02-17 08:50:31 +0000
commita77ceec5cf5603542d87724d9fdc51d48fa29327 (patch)
treedaba555e135e64e112e5167aa4eba4c3048a6b8e /generic/arch.cc
parenta74d1a8b328252c2c07e7af7b9e9bb0e5f251bb5 (diff)
parentc7c13cd95f7a25b2c8932ca00ad667ffca381c70 (diff)
downloadnextpnr-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.cc15
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;