aboutsummaryrefslogtreecommitdiffstats
path: root/gowin/constids.inc
diff options
context:
space:
mode:
authorYRabbit <rabbit@yrabbit.cyou>2023-03-22 17:15:17 +1000
committermyrtle <gatecat@ds0.me>2023-03-23 12:37:53 +0100
commit95ace0fade44633db7ea6d3d65702dc8a2d1d488 (patch)
treeb7afc4268d449e62ef5edb2fb7181654ed3b303c /gowin/constids.inc
parentb3c33bd0ab3cd123aa73e9cb46dea41baadf6dd5 (diff)
downloadnextpnr-95ace0fade44633db7ea6d3d65702dc8a2d1d488.tar.gz
nextpnr-95ace0fade44633db7ea6d3d65702dc8a2d1d488.tar.bz2
nextpnr-95ace0fade44633db7ea6d3d65702dc8a2d1d488.zip
gowin: Add support for OSER primitives
* placement of OSER4, OVIDEO, OSER8 and SER10 primitives is supported; * primitives are implemented for the GW1N-1, GW1NZ-1, GW1NSR-4C, GW1NR-9, GW1NR-9C chips; * the initial support for special HCLK clock wires is implemented to the extent necessary for OSER primitives to function; * output to both regular IO and TLVDS_OBUF is supported; * tricks required for IOLOGIC to work on one side of the -9 and -9C chips are taken into account; * various edits, such as using idf() instead of the local buffer. Compatible with old apicula bases. Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
Diffstat (limited to 'gowin/constids.inc')
-rw-r--r--gowin/constids.inc25
1 files changed, 25 insertions, 0 deletions
diff --git a/gowin/constids.inc b/gowin/constids.inc
index b678cc77..afe3bc15 100644
--- a/gowin/constids.inc
+++ b/gowin/constids.inc
@@ -667,6 +667,9 @@ X(IOBH)
X(IOBI)
X(IOBJ)
+// misc
+X(DUMMY_CELL)
+
// simplified iobs
X(IOBS)
X(IOBAS)
@@ -757,10 +760,18 @@ X(LWO7)
// IOLOGIC
X(TX)
+X(TX0)
+X(TX1)
+X(TX2)
+X(TX3)
+X(FCLK)
+X(PCLK)
X(XXX_VSS)
X(XXX_VCC)
X(XXX_VSS0)
X(XXX_VSS1)
+X(XXX_0)
+X(XXX_1)
X(OBUF_TYPE)
X(SBUF)
X(DBUF)
@@ -770,6 +781,20 @@ X(ODDRA)
X(ODDRB)
X(ODDRCA)
X(ODDRCB)
+X(OSER4)
+X(OSER8)
+X(OSER10)
+X(OVIDEO)
+X(OSER16)
+X(IOLOGIC)
+X(IOLOGICA)
+X(IOLOGICB)
+X(IOLOGIC_TYPE)
+X(IOLOGIC_FCLK)
+X(IOLOGIC_MASTER_CELL)
+X(IOLOGIC_AUX_CELL)
+X(D8)
+X(D9)
// Wide LUTs
X(MUX2_LUT5)