aboutsummaryrefslogtreecommitdiffstats
path: root/cyclonev/arch.h
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-05-03 18:54:31 +0100
committergatecat <gatecat@ds0.me>2021-05-15 14:54:33 +0100
commit9bd7ef5f5fcb77e36a988b0967a59965cfe55192 (patch)
treed60474b5fa81ea64fc9cbfaca83cc59a3c15fe1d /cyclonev/arch.h
parent24af19b58d4b0b4db7d51d4f76c9334580386e5b (diff)
downloadnextpnr-9bd7ef5f5fcb77e36a988b0967a59965cfe55192.tar.gz
nextpnr-9bd7ef5f5fcb77e36a988b0967a59965cfe55192.tar.bz2
nextpnr-9bd7ef5f5fcb77e36a988b0967a59965cfe55192.zip
cyclonev: Preparations for validity checking
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'cyclonev/arch.h')
-rw-r--r--cyclonev/arch.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/cyclonev/arch.h b/cyclonev/arch.h
index 15c647aa..53fa4174 100644
--- a/cyclonev/arch.h
+++ b/cyclonev/arch.h
@@ -336,6 +336,12 @@ struct Arch : BaseArch<ArchRanges>
// -------------------------------------------------
+ bool is_comb_cell(IdString cell_type) const;
+ bool is_alm_legal(uint32_t lab, uint8_t alm) const;
+ bool is_lab_ctrlset_legal(uint32_t lab) const;
+
+ // -------------------------------------------------
+
static const std::string defaultPlacer;
static const std::vector<std::string> availablePlacers;
static const std::string defaultRouter;