aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5/archdefs.h
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-11-16 09:58:34 +0000
committerGitHub <noreply@github.com>2018-11-16 09:58:34 +0000
commitfe4f98f26fb295b3b8d09c3303f1172c91698407 (patch)
tree706e1b76f81861b7cb7917b404b29b8d805ddfb5 /ecp5/archdefs.h
parent9472b6d78f68544d430feeae6d75dbd2dc43019d (diff)
parentf07bd98d59765f2c565815d1a6483db04c57a9d1 (diff)
downloadnextpnr-fe4f98f26fb295b3b8d09c3303f1172c91698407.tar.gz
nextpnr-fe4f98f26fb295b3b8d09c3303f1172c91698407.tar.bz2
nextpnr-fe4f98f26fb295b3b8d09c3303f1172c91698407.zip
Merge pull request #118 from daveshah1/dcu
Adding ECP5 DCU support
Diffstat (limited to 'ecp5/archdefs.h')
-rw-r--r--ecp5/archdefs.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/ecp5/archdefs.h b/ecp5/archdefs.h
index 01cbad46..b2c23134 100644
--- a/ecp5/archdefs.h
+++ b/ecp5/archdefs.h
@@ -87,7 +87,10 @@ struct BelId
bool operator==(const BelId &other) const { return index == other.index && location == other.location; }
bool operator!=(const BelId &other) const { return index != other.index || location != other.location; }
- bool operator<(const BelId &other) const { return location == other.location ? index < other.index : location < other.location; }
+ bool operator<(const BelId &other) const
+ {
+ return location == other.location ? index < other.index : location < other.location;
+ }
};
struct WireId
@@ -97,7 +100,10 @@ struct WireId
bool operator==(const WireId &other) const { return index == other.index && location == other.location; }
bool operator!=(const WireId &other) const { return index != other.index || location != other.location; }
- bool operator<(const WireId &other) const { return location == other.location ? index < other.index : location < other.location; }
+ bool operator<(const WireId &other) const
+ {
+ return location == other.location ? index < other.index : location < other.location;
+ }
};
struct PipId
@@ -107,7 +113,10 @@ struct PipId
bool operator==(const PipId &other) const { return index == other.index && location == other.location; }
bool operator!=(const PipId &other) const { return index != other.index || location != other.location; }
- bool operator<(const PipId &other) const { return location == other.location ? index < other.index : location < other.location; }
+ bool operator<(const PipId &other) const
+ {
+ return location == other.location ? index < other.index : location < other.location;
+ }
};
struct GroupId