From ca918078bfe6c4b1a279c7df7c59fb9de0f9710a Mon Sep 17 00:00:00 2001 From: David Shah Date: Mon, 1 Apr 2019 19:13:16 +0100 Subject: generic: Add a simple packer for generic SLICEs and IOBs Signed-off-by: David Shah --- generic/archdefs.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'generic/archdefs.h') 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 -- cgit v1.2.3