Skip to content

Supported primitives

Pepijn de Vos edited this page Nov 19, 2024 · 14 revisions

This is an exhaustive list of all the primitives supported by Gowin, and their support in Apicula.

This table is generated by this script based on

  • Gowin IDE/simlib/<family>/prim_sim.v
  • Apicula examples

The individual pages were generated by this script based on

  • Apicula examples
  • Yosys techlib/gowin/cells_(sim|xtra).v
  • Gowin PDF documentation

Inaccuracies in the generated data have been corrected by hand.

Primitive GW1N GW2A GW5A Apicula
MUX2
MUX2_LUT5
MUX2_LUT6
MUX2_LUT7
MUX2_LUT8
MUX2_MUX8
MUX2_MUX16
MUX2_MUX32
MUX4
MUX8
MUX16
MUX32
LUT1
LUT2
LUT3
LUT4
LUT5
LUT6
LUT7
LUT8
ALU
DFF
DFFE
DFFS
DFFSE
DFFR
DFFRE
DFFP
DFFPE
DFFC
DFFCE
DFFN
DFFNE
DFFNS
DFFNSE
DFFNR
DFFNRE
DFFNP
DFFNPE
DFFNC
DFFNCE
DL
DLE
DLC
DLCE
DLP
DLPE
DLN
DLNE
DLNC
DLNCE
DLNP
DLNPE
INV
IBUF
OBUF
TBUF
IOBUF
IDDR
IDDRC
ODDR
ODDRC
IDES4
IVIDEO
IDES8
IDES10
IDES16
OSER4
OVIDEO
OSER8
OSER10
OSER16
IODELAY
IEM
RAM16S1
RAM16S2
RAM16S4
RAM16SDP1
RAM16SDP2
RAM16SDP4
ROM16
SP
SPX9
SDP
SDPX9
DP
DPX9
ROM
ROMX9
rSDP
rSDPX9
rROM
rROMX9
pROM
pROMX9
SDPB
SDPX9B
DPB
DPX9B
PADD18
PADD9
MULT9X9
MULT18X18
MULT36X36
MULTALU36X18
MULTADDALU18X18
MULTALU18X18
ALU54D
BUFG
BUFS
GND
VCC
GSR
OSC
OSCH
OSCZ
PLL
TLVDS_IBUF
TLVDS_OBUF
TLVDS_TBUF
TLVDS_IOBUF
ELVDS_IBUF
ELVDS_OBUF
ELVDS_TBUF
ELVDS_IOBUF
MIPI_IBUF
MIPI_IBUF_HS
MIPI_IBUF_LP
MIPI_OBUF
MIPI_OBUF_A
ELVDS_IBUF_MIPI
I3C_IOBUF
TLVDS_OEN_BK
CLKDIV
DHCEN
DLL
DLLDLY
FLASH96K
FLASH256K
FLASH608K
DCS
DQCE
BANDGAP
CLKDIV2
DCC
DHCENC
EMCU
FLASH64K
FLASH64KZ
I3C
IODELAYA
IODELAYC
PLLVR
rPLL
SPMI
IODELAYB
PLLO
OSCO
DCCG
FLASH96KA
MIPI_DPHY_RX
CLKDIVG
PWRGRD
IDDR_MEM
ODDR_MEM
IDES4_MEM
IDES8_MEM
OSER4_MEM
OSER8_MEM
DQS
IBUF_R
IOBUF_R
ELVDS_IBUF_R
ELVDS_IOBUF_R
OSCW
OTP
SAMB
TLVDS_IBUF_ADC
MIPI_CPHY_IBUF
MIPI_CPHY_OBUF
SDP36KE
SDP136K
MULTADDALU12X12
MULTALU27X18
MULT12X12
MULT27X36
MULTACC
IDES14
IDES32
OSIDES32
OSIDES64
DCE
DDRDLL
DHCE
OSCA
OSCB
PLLA
AE350_SOC
AE350_RAM
CMSER
CMSERA
CMSERB
SAMBA
ADCLRC
ADCULC
ADC
MIPI_DPHY
MIPI_DPHYA
MIPI_CPHY
GTR12_QUAD
GTR12_UPAR
GTR12_PMAC
GTR12_QUADA
GTR12_UPARA
GTR12_PMACA
GTR12_QUADB
Clone this wiki locally