aboutsummaryrefslogtreecommitdiffstats
path: root/gowin/constids.inc
diff options
context:
space:
mode:
authorYRabbit <rabbit@yrabbit.cyou>2021-10-07 18:38:33 +1000
committerYRabbit <rabbit@yrabbit.cyou>2021-10-07 18:38:33 +1000
commitc72ea15472680ea155d7be4520cba8640d074b50 (patch)
tree0eb8e18242c664ac31e3937047353dda5ee0e3ff /gowin/constids.inc
parent4f17a1711abc6d74c367457a1956c779a789e0e9 (diff)
downloadnextpnr-c72ea15472680ea155d7be4520cba8640d074b50.tar.gz
nextpnr-c72ea15472680ea155d7be4520cba8640d074b50.tar.bz2
nextpnr-c72ea15472680ea155d7be4520cba8640d074b50.zip
gowin: add support for wide LUTs.
* A hardwired MUX within each logical cell is used. * The delay is equal 0. * No user placement constraints. * The output route contains dummy PIPs. They are ignored by gowin_pack, but it may be worth removing them. 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 bf26e9ca..e2482e39 100644
--- a/gowin/constids.inc
+++ b/gowin/constids.inc
@@ -358,6 +358,16 @@ X(IOBH)
X(IOBI)
X(IOBJ)
+// Wide LUTs
+X(MUX2_LUT5)
+X(MUX2_LUT6)
+X(MUX2_LUT7)
+X(MUX2_LUT8)
+X(GW_MUX2_LUT5)
+X(GW_MUX2_LUT6)
+X(GW_MUX2_LUT7)
+X(GW_MUX2_LUT8)
+
// DFF types
X(DFF)
X(DFFE)
@@ -409,6 +419,9 @@ X(I1)
X(I2)
X(I3)
X(OEN)
+X(S0)
+X(SEL)
+X(OF)
// timing
X(X0)