aboutsummaryrefslogtreecommitdiffstats
path: root/nexus/archdefs.h
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-05-06 12:25:32 +0100
committergatecat <gatecat@ds0.me>2021-05-06 12:25:32 +0100
commitc6fa1a179aa8c79d335ba03814ea71d871c87577 (patch)
treecf3d259da4839159f7ffd5dfe3765c782282b7ec /nexus/archdefs.h
parent1bf202adcd1028035dc28a723666fc424ceb6831 (diff)
downloadnextpnr-c6fa1a179aa8c79d335ba03814ea71d871c87577.tar.gz
nextpnr-c6fa1a179aa8c79d335ba03814ea71d871c87577.tar.bz2
nextpnr-c6fa1a179aa8c79d335ba03814ea71d871c87577.zip
nexus: Use new cluster API
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'nexus/archdefs.h')
-rw-r--r--nexus/archdefs.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/nexus/archdefs.h b/nexus/archdefs.h
index b9ac3c77..660f166c 100644
--- a/nexus/archdefs.h
+++ b/nexus/archdefs.h
@@ -23,6 +23,7 @@
#include <boost/functional/hash.hpp>
#include <unordered_map>
+#include "base_clusterinfo.h"
#include "idstring.h"
#include "nextpnr_namespaces.h"
@@ -157,7 +158,9 @@ inline bool operator!=(const FFControlSet &a, const FFControlSet &b)
(a.ce != b.ce);
}
-struct ArchCellInfo
+typedef IdString ClusterId;
+
+struct ArchCellInfo : BaseClusterInfo
{
union
{