aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5/archdefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'ecp5/archdefs.h')
-rw-r--r--ecp5/archdefs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ecp5/archdefs.h b/ecp5/archdefs.h
index 586c385f..b0e01e4d 100644
--- a/ecp5/archdefs.h
+++ b/ecp5/archdefs.h
@@ -126,6 +126,13 @@ struct PipId
}
};
+struct PartitionId {
+ IdString name;
+
+ bool operator==(const PartitionId &other) const { return (name == other.name); }
+ bool operator!=(const PartitionId &other) const { return (name != other.name); }
+};
+
struct GroupId
{
enum : int8_t