aboutsummaryrefslogtreecommitdiffstats
path: root/gowin/constids.inc
diff options
context:
space:
mode:
authorYRabbit <rabbit@yrabbit.cyou>2022-03-12 23:05:42 +1000
committerYRabbit <rabbit@yrabbit.cyou>2022-03-12 23:05:42 +1000
commit4a2aa6deb49b70ed69f386898bcde7a6b2572618 (patch)
treec81c3aa7ff1ad04ab1e731ebfe01a727fd099b2b /gowin/constids.inc
parent20e595e2113bb5d2de479e70f64ebd980e756716 (diff)
downloadnextpnr-4a2aa6deb49b70ed69f386898bcde7a6b2572618.tar.gz
nextpnr-4a2aa6deb49b70ed69f386898bcde7a6b2572618.tar.bz2
nextpnr-4a2aa6deb49b70ed69f386898bcde7a6b2572618.zip
gowin: Add the Global Set/Reset primitive
GSR is added automatically if it was not instantiated by the user explicitly. Compatible with old apicula bases, the functionality does not work, but the crash does not happen --- just a warning. Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
Diffstat (limited to 'gowin/constids.inc')
-rw-r--r--gowin/constids.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/gowin/constids.inc b/gowin/constids.inc
index 3e72340a..d32a987d 100644
--- a/gowin/constids.inc
+++ b/gowin/constids.inc
@@ -739,6 +739,11 @@ X(IOBUF)
X(TBUF)
X(TLVDS_OBUF)
+// global set/reset
+X(GSR)
+X(GSR0)
+X(GSRI)
+
// primitive attributes
X(INIT)
X(FF_USED)