aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5/archdefs.h
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-05-06 13:58:08 +0100
committerGitHub <noreply@github.com>2021-05-06 13:58:08 +0100
commitc322cda3f875a5e5dd2575d3a390cbe1cee073e0 (patch)
treefcd843131002f8986decf8dcd9352cf3ebd54290 /ecp5/archdefs.h
parented17091e6ada98a55396186a22c748abf3fca310 (diff)
parent0d6be6f4749174f4a6938a675456cb663edc47cb (diff)
downloadnextpnr-c322cda3f875a5e5dd2575d3a390cbe1cee073e0.tar.gz
nextpnr-c322cda3f875a5e5dd2575d3a390cbe1cee073e0.tar.bz2
nextpnr-c322cda3f875a5e5dd2575d3a390cbe1cee073e0.zip
Merge pull request #688 from YosysHQ/gatecat/new-cluster-api
New cluster API
Diffstat (limited to 'ecp5/archdefs.h')
-rw-r--r--ecp5/archdefs.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ecp5/archdefs.h b/ecp5/archdefs.h
index 6a149264..2b4590e5 100644
--- a/ecp5/archdefs.h
+++ b/ecp5/archdefs.h
@@ -23,6 +23,7 @@
#include <boost/functional/hash.hpp>
+#include "base_clusterinfo.h"
#include "idstring.h"
#include "nextpnr_namespaces.h"
@@ -148,7 +149,9 @@ struct ArchNetInfo
bool is_global = false;
};
-struct ArchCellInfo
+typedef IdString ClusterId;
+
+struct ArchCellInfo : BaseClusterInfo
{
struct
{