aboutsummaryrefslogtreecommitdiffstats
path: root/gowin/constids.inc
diff options
context:
space:
mode:
authorYRabbit <rabbit@yrabbit.cyou>2021-12-20 15:48:38 +1000
committerYRabbit <rabbit@yrabbit.cyou>2021-12-20 15:48:38 +1000
commit5a76b3cb4d506c4920fc3d6b9aff935cbaa2987e (patch)
treef12b583fcbf2021c38299ea8aa49a77360e6c3a6 /gowin/constids.inc
parent62a3e093856063180526b7189d5e711a98036fa0 (diff)
downloadnextpnr-5a76b3cb4d506c4920fc3d6b9aff935cbaa2987e.tar.gz
nextpnr-5a76b3cb4d506c4920fc3d6b9aff935cbaa2987e.tar.bz2
nextpnr-5a76b3cb4d506c4920fc3d6b9aff935cbaa2987e.zip
gowin: Add simplified IO cells processing
Some models have I/O cells that are IOBUFs, and other types (IBUFs and OBUFs) are obtained by feeding 1 or 0 to the OEN input. This is done with general-purpose routing so it's best to do it here to avoid conflicts. For this purpose, in the new bases, these special cells are of type IOBS (IOB Simplified). The proposed changes are compatible with bases of previous versions of Apycula and do not require changing .CST constraint files. Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
Diffstat (limited to 'gowin/constids.inc')
-rw-r--r--gowin/constids.inc13
1 files changed, 13 insertions, 0 deletions
diff --git a/gowin/constids.inc b/gowin/constids.inc
index 7de754fc..6a730d5d 100644
--- a/gowin/constids.inc
+++ b/gowin/constids.inc
@@ -358,6 +358,19 @@ X(IOBH)
X(IOBI)
X(IOBJ)
+// simplified iobs
+X(IOBS)
+X(IOBAS)
+X(IOBBS)
+X(IOBCS)
+X(IOBDS)
+X(IOBES)
+X(IOBFS)
+X(IOBGS)
+X(IOBHS)
+X(IOBIS)
+X(IOBJS)
+
// Wide LUTs
X(MUX2_LUT5)
X(MUX2_LUT6)