aboutsummaryrefslogtreecommitdiffstats
path: root/generic/archdefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'generic/archdefs.h')
-rw-r--r--generic/archdefs.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/generic/archdefs.h b/generic/archdefs.h
index 2452aa17..978c9c9b 100644
--- a/generic/archdefs.h
+++ b/generic/archdefs.h
@@ -55,8 +55,18 @@ typedef IdString DecalId;
struct ArchNetInfo
{
};
+
+struct NetInfo;
+
struct ArchCellInfo
{
+ // Custom grouping set via "PACK_GROUP" attribute. All cells with the same group
+ // value may share a tile (-1 = don't care, default if not set)
+ int user_group;
+ // Is a slice type primitive
+ bool is_slice;
+ // Only packing rule for slice type primitives is a single clock per tile
+ const NetInfo *slice_clk;
};
NEXTPNR_NAMESPACE_END