aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/archdefs.h
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2018-11-19 01:57:47 +0100
committerSylvain Munaut <tnt@246tNt.com>2018-11-19 18:20:20 +0100
commitbc9f2da470b96c4e2f65324a0da1ffe099b5e586 (patch)
tree7c05b3544a4ace9d69af28922751a5cd63d0d387 /ice40/archdefs.h
parent325d46e284fd7944b99929c1482e641a1db53931 (diff)
downloadnextpnr-bc9f2da470b96c4e2f65324a0da1ffe099b5e586.tar.gz
nextpnr-bc9f2da470b96c4e2f65324a0da1ffe099b5e586.tar.bz2
nextpnr-bc9f2da470b96c4e2f65324a0da1ffe099b5e586.zip
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 <tnt@246tNt.com>
Diffstat (limited to 'ice40/archdefs.h')
-rw-r--r--ice40/archdefs.h4
1 files changed, 4 insertions, 0 deletions
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;
};
};