DDR4 Memory

The 1-GiByte DDR4 SDRAM provides a 16-bit wide data interface and is connected to the 1.2-V I/O on HP bank 66 of the FPGA. The maximum data rate of the SDRAM is 2666 Mb/s, although the speed grade of the Artix UltraScale+ will limit the maximum supported data rate to what is stated in Table 27 of DS931. The -2 speed grade on the XEM8305-AU25P supports a maximum data rate of 2400 Mb/s. This gives a supported peak memory bandwidth of 38.4 Gb/s.

The following resources are available to help provide guidance for designs that involve this memory:

MIG Settings

Artix UltraScale+ devices support external, high-performance memory through the use of the Memory Interface Generator (MIG) provided by AMD. MIG produces a custom memory interface core that may be included in your design. These parameters have been used successfully within Opal Kelly but your design needs may require deviations.

All settings are based on the DDR4 SDRAM (MIG) v2.2 IP and Vivado 2023.1.

PARAMETERXEM8305-AU15P
Controller TypeDDR4 SDRAM
Controller/PHY ModeController and physical layer
Memory Device Interface Speed (ps)833
PHY to controller clock frequency ratio4:1
Reference Input Clock Speed (ps)6332 (157.953Mhz)
ConfigurationComponents
Memory PartMT40A512M16LY-075
SlotSingle
IO Memory Voltage1.2V
Data Width16
ECCDisabled
Data Mask and DBIDM NO DBI
Memory Address MapROW COLUMN BANK
OrderingNormal
Cas Latency17
Cas Write Latency12
Force Read and Write commands to use AutoPrechargeDisabled
Clamshell TopologyDisabled
Enable AutoPrecharge InputDisabled
Enable User Refresh and ZQCS InputDisabled
Advanced optionsDefault

DDR4 / FPGA Pin Connections

The FPGA to DDR4 pin mappings are shown below. These are also available in the Pins Reference when exporting a constraints file as well as the sample designs that utilize the memory.

DDR4 PINFPGA PIN
RESET_NL24
CKEK21
CK_tM19
CK_cL19
CS_NK26
SDRAM_1_DQSL_tD23
SDRAM_1_DQSL_cC24
SDRAM_1_DQSU_tF24
SDRAM_1_DQSU_cF25
DM0E25
DM1G24
ACT_NG25
ODTE26
DDR4 PINFPGA PIN
A0J20
A1M26
A2J19
A3L23
A4M25
A5L20
A6J21
A7M20
A8K20
A9M24
A10 / APL25
A11K25
A12 / BCL22
A13M21
A14 / WEF22
A15 / CASK23
A16 / RASK22
BA0K18
BA1L18
BG0G22
DDR4 PINFPGA PIN
D0E23
D1D25
D2D24
D3C26
D4F23
D5B25
D6D26
D7B26
D8H26
D9H22
D10G26
D11H24
D12J26
D13H21
D14J25
D15H23