diff options
author | YRabbit <rabbit@yrabbit.cyou> | 2021-10-22 14:41:18 +1000 |
---|---|---|
committer | YRabbit <rabbit@yrabbit.cyou> | 2021-10-22 14:41:18 +1000 |
commit | f52fd6a272958b6371d280e90dc3dbeeebbee16c (patch) | |
tree | bd497fb10f7a3763d5d0668f7b82bd3f0f47217c /gowin/constids.inc | |
parent | 013f3e0b390e5aa594af92f1da973ed18777a155 (diff) | |
download | nextpnr-f52fd6a272958b6371d280e90dc3dbeeebbee16c.tar.gz nextpnr-f52fd6a272958b6371d280e90dc3dbeeebbee16c.tar.bz2 nextpnr-f52fd6a272958b6371d280e90dc3dbeeebbee16c.zip |
gowin: Add ALU support.
- Both the mode used by yosys and all Gowin primitive modes are supported.
- The ALU always starts with a zero slice.
- The maximum length of the ALU chain is limited to one line of the chip.
Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
Diffstat (limited to 'gowin/constids.inc')
-rw-r--r-- | gowin/constids.inc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gowin/constids.inc b/gowin/constids.inc index 31c34d21..7de754fc 100644 --- a/gowin/constids.inc +++ b/gowin/constids.inc @@ -368,6 +368,11 @@ X(GW_MUX2_LUT6) X(GW_MUX2_LUT7) X(GW_MUX2_LUT8) +// ALU +X(ALU) +X(GND) +X(ALU_MODE) + // DFF types X(DFF) X(DFFE) @@ -421,6 +426,9 @@ X(I3) X(OEN) X(S0) X(SEL) +X(SUM) +X(CIN) +X(COUT) X(OF) // timing |