From bc9f2da470b96c4e2f65324a0da1ffe099b5e586 Mon Sep 17 00:00:00 2001 From: Sylvain Munaut Date: Mon, 19 Nov 2018 01:57:47 +0100 Subject: ice40: Introduce the concept of forPadIn SB_GB Those are cells that are created mainly to handle the various sources a global network can be driven from other than a user net. When the flag is set, this means the global network usually driven by this BEL is in fact driven by something else and so that SB_GB BEL and matching global network can't be used. This is also what gets used to set the extra bits during bitstream generation. Signed-off-by: Sylvain Munaut --- ice40/archdefs.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ice40/archdefs.h') diff --git a/ice40/archdefs.h b/ice40/archdefs.h index b9614c07..8dcf0365 100644 --- a/ice40/archdefs.h +++ b/ice40/archdefs.h @@ -152,6 +152,10 @@ struct ArchCellInfo bool lvds; // TODO: clk packing checks... } ioInfo; + struct + { + bool forPadIn; + } gbInfo; }; }; -- cgit v1.2.3