diff options
author | gatecat <gatecat@ds0.me> | 2021-05-06 12:30:58 +0100 |
---|---|---|
committer | gatecat <gatecat@ds0.me> | 2021-05-06 13:12:52 +0100 |
commit | 0d6be6f4749174f4a6938a675456cb663edc47cb (patch) | |
tree | fcd843131002f8986decf8dcd9352cf3ebd54290 /generic/arch.h | |
parent | c6fa1a179aa8c79d335ba03814ea71d871c87577 (diff) | |
download | nextpnr-0d6be6f4749174f4a6938a675456cb663edc47cb.tar.gz nextpnr-0d6be6f4749174f4a6938a675456cb663edc47cb.tar.bz2 nextpnr-0d6be6f4749174f4a6938a675456cb663edc47cb.zip |
Add stub cluster API impl for remaining arches
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'generic/arch.h')
-rw-r--r-- | generic/arch.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/generic/arch.h b/generic/arch.h index 92260ce0..50d2731c 100644 --- a/generic/arch.h +++ b/generic/arch.h @@ -362,6 +362,17 @@ struct Arch : ArchAPI<ArchRanges> bool isValidBelForCellType(IdString cell_type, BelId bel) const override { return cell_type == getBelType(bel); } bool isBelLocationValid(BelId bel) const override; + // TODO + CellInfo *getClusterRootCell(ClusterId cluster) const override { NPNR_ASSERT_FALSE("unimplemented"); } + ArcBounds getClusterBounds(ClusterId cluster) const override { NPNR_ASSERT_FALSE("unimplemented"); } + Loc getClusterOffset(const CellInfo *cell) const override { NPNR_ASSERT_FALSE("unimplemented"); } + bool isClusterStrict(const CellInfo *cell) const override { NPNR_ASSERT_FALSE("unimplemented"); } + bool getClusterPlacement(ClusterId cluster, BelId root_bel, + std::vector<std::pair<CellInfo *, BelId>> &placement) const override + { + NPNR_ASSERT_FALSE("unimplemented"); + } + static const std::string defaultPlacer; static const std::vector<std::string> availablePlacers; static const std::string defaultRouter; |