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:
- How-To Apply DDR MIG Settings and Vivado Board File to generate AMD’s MIG IP Core.
- The RAMTester sample reads and writes this memory via FrontPanel pipe endpoints.
- The XEM8305 Pins Reference can generate a constraints file (click on Export) with complete pin mapping and I/O constraints for use in your design.
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.
PARAMETER | XEM8305-AU15P |
---|---|
Controller Type | DDR4 SDRAM |
Controller/PHY Mode | Controller and physical layer |
Memory Device Interface Speed (ps) | 833 |
PHY to controller clock frequency ratio | 4:1 |
Reference Input Clock Speed (ps) | 6332 (157.953Mhz) |
Configuration | Components |
Memory Part | MT40A512M16LY-075 |
Slot | Single |
IO Memory Voltage | 1.2V |
Data Width | 16 |
ECC | Disabled |
Data Mask and DBI | DM NO DBI |
Memory Address Map | ROW COLUMN BANK |
Ordering | Normal |
Cas Latency | 17 |
Cas Write Latency | 12 |
Force Read and Write commands to use AutoPrecharge | Disabled |
Clamshell Topology | Disabled |
Enable AutoPrecharge Input | Disabled |
Enable User Refresh and ZQCS Input | Disabled |
Advanced options | Default |
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 PIN | FPGA PIN |
---|---|
RESET_N | L24 |
CKE | K21 |
CK_t | M19 |
CK_c | L19 |
CS_N | K26 |
SDRAM_1_DQSL_t | D23 |
SDRAM_1_DQSL_c | C24 |
SDRAM_1_DQSU_t | F24 |
SDRAM_1_DQSU_c | F25 |
DM0 | E25 |
DM1 | G24 |
ACT_N | G25 |
ODT | E26 |
DDR4 PIN | FPGA PIN |
---|---|
A0 | J20 |
A1 | M26 |
A2 | J19 |
A3 | L23 |
A4 | M25 |
A5 | L20 |
A6 | J21 |
A7 | M20 |
A8 | K20 |
A9 | M24 |
A10 / AP | L25 |
A11 | K25 |
A12 / BC | L22 |
A13 | M21 |
A14 / WE | F22 |
A15 / CAS | K23 |
A16 / RAS | K22 |
BA0 | K18 |
BA1 | L18 |
BG0 | G22 |
DDR4 PIN | FPGA PIN |
---|---|
D0 | E23 |
D1 | D25 |
D2 | D24 |
D3 | C26 |
D4 | F23 |
D5 | B25 |
D6 | D26 |
D7 | B26 |
D8 | H26 |
D9 | H22 |
D10 | G26 |
D11 | H24 |
D12 | J26 |
D13 | H21 |
D14 | J25 |
D15 | H23 |