aboutsummaryrefslogtreecommitdiffstats
path: root/gowin
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 /gowin
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 'gowin')
-rw-r--r--gowin/archdefs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gowin/archdefs.h b/gowin/archdefs.h
index ef297d41..fd7e0b0b 100644
--- a/gowin/archdefs.h
+++ b/gowin/archdefs.h
@@ -21,6 +21,7 @@
#ifndef GOWIN_ARCHDEFS_H
#define GOWIN_ARCHDEFS_H
+#include "base_clusterinfo.h"
#include "idstring.h"
#include "nextpnr_namespaces.h"
@@ -48,6 +49,7 @@ typedef IdString PipId;
typedef IdString GroupId;
typedef IdString DecalId;
typedef IdString BelBucketId;
+typedef IdString ClusterId;
struct ArchNetInfo
{
@@ -55,7 +57,7 @@ struct ArchNetInfo
struct NetInfo;
-struct ArchCellInfo
+struct ArchCellInfo : BaseClusterInfo
{
// Is the flip-flop of this slice used
bool ff_used;