Memory Controller IP Core

A Turnkey Solution Supporting DDR4 and LPDDR4 SDRAM, Compliant to JEDEC Standard

The Lattice Semiconductor Memory Controller IP Core offers turnkey solutions for both Lattice Avant and Nexus devices, consisting of a controller, DDR PHY, and associated clocking and training logic for interfacing with DDR4 and LPDDR4 SDRAM. Implemented in System Verilog HDL, the IP Core uses Lattice Radiant software integrated with either the Lattice Synthesis Engine (LSE) (for Nexus) and Synplify Pro® synthesis tools and (for Nexus and Avant]). This Memory Controller simplifies the connection of Lattice Avant devices with external DDR4 and LPDDR4 memory, and similarly, facilitates the interfacing of Lattice CertusPro-NX and Lattice MachXO5T-NX devices with external LPDDR4 memory for user applications.

Resource Utilization details are available in the IP Core User Guides for Avant and Nexus families.

Features

Avant DDR4 mode

  • DDR4 SDRAM protocol, compliant to DDR4 JEDEC Standard.
  • DDR4 SDRAM speeds: 666 Mhz (1333 Mbps), 800 MHz (1600 Mbps), 933 MHz (1866 Mbps), 1066 MHz (2133 Mbps), 1200 MHz (2400 Mbps)
  • Component support for interface data widths of x16, x32, and x64.
  • Up to 16 Gb density support.
  • x8 DDR4 device support (8:1 DQ:DQS ratio).

Avant LPDDR4 mode

  • LPDDR4 SDRAM protocol, compliant to LPDDR4 JEDEC Standard.
  • LPDDR4 SDRAM speeds: 350 MHz (700 Mbps), 400 MHz (800 Mbps), 533 MHz (1066 Mbps), 666 MHz (1333 Mbps), 800 MHz (1600 Mbps), 933 MHz (1866 Mbps), 1066 MHz (2133 Mbps), 1200 MHz (2400 Mbps).
  • Component support for interface data widths of x16, x32, and x64.
  • Up to 16 Gb density support per channel.
  • x16 LPDDR4 device support (8:1 DQ:DQS ratio).

Nexus LPDDR4 mode

  • LPDDR4 SDRAM protocol, compliant to LPDDR4 JEDEC Standard.
  • LPDDR4 SDRAM speeds: 300 MHz (600 Mbps), 350 MHz (700 Mbps), 400 MHz (800 Mbps), 533 MHz (1066 Mbps).
  • Component support for interface data widths of x16, x32, and x64.
  • Up to 16 Gb density support per channel.
  • x16 LPDDR4 device support (8:1 DQ:DQS ratio).

Example Design for the LPDDR4 Memory Controller IP Core validated on the Avant-X Versa Board is available on the IP Package and IP User Guide. To know more information about this example design, please refer to the IP User Guide.

Jump to

Block Diagram

Resource Utilization

Avant Family
LAV-AT-500E-2LFG1156C
Configuration clk_i Fmax (MHz) sclk_o Fmax (MHz)1 Registers LUTs EBR DSP
Default 236.574 209.38 6488 8841 17 0
DDR Bus Width = 16,
Others = default
262.055 235.905 5500 8328 13 0
DDR Bus Width = 64,
Others = default
218.579 202.143 8342 9501 25 0
DDR Bus Width = 64,
Enable Power Down = Checked,
Enable DBI = Checked,
Others = default
239.923 221.484 8493 11398 25 0

Note:
1. The sclk_o Fmax is generated using the top-level example design wrapper file, eval_top.sv. These values may increase when the IP Core is used with the user logic.

Nexus Family
LFCPNX-100-9FFG672I (IP Core v1.3.01)
Configuration sclk_o Fmax (MHz)1 Registers LUTs EBR IDDR/ODDR/TDDR
Interface Type = Native
Default
139.567 5709 9235 18 121 (32+49+40)
Interface Type = Native
Enable DBI=Checked,
Enable Power Down=Checked,
Others = Default
140.984 5802 9873 18 125 (36+49+50)
Interface Type = Native
Enable Internal RISC-V CPU=Unchecked,
Others = Default
143.554 5006 7853 8 121 (32+49+40)
Interface Type = Native
DDR Bus Width=16,
Others = Default
136.519 4332 7062 14 65 (16+29+20)
Interface Type = Native
DDR Bus Width=64,
Others = Default
141.243 8071 12790 26 233(64+89+80)
Interface Type = AHBL
Others = Default
143.761 6935 10396 18 121 (32+49+40)
Interface Type = AHBL,
Enable DBI = Checked,
Enable Power Down = Checked,
Others = Default
141.761 6935 10969 18 125 (36+49+50)
Interface Type = AHBL,
Enable Internal RISC-V CPU = Unchecked,
Others = Default
140.905 6234 8987 8 121 (32+49+40)
Interface Type = AHBL,
DDR Bus Width = 16,
Others = Default
134.246 5296 8061 14 65 (16+29+20)
Interface Type = AHBL,
DDR Bus Width = 64,
Others = Default
124.719 10228 15526 26 233 (64+89+80)

Note: 1. The sclk_o Fmax is generated using the eval_top.v. These values may increase when the IP Core is used with the user logic.

LFCPNX-100-9FFG672C (IP Core v2.0.01)
Configuration clk_i Fmax (MHz) sclk_o Fmax (MHz)1 Registers LUTs EBR IDDR/ODDR/TDDR
DDR Bus Width =16,
Others=default
157.953 151.7914 7417 11096 16 16/30/20
Default 139.548 157.456 8624 12359 33 32/50/40
DDR Bus Width =64,
Others=default
135.52 150.308 10859 14748 50 64/90/80
DDR Bus Width =64,
Enable Power Down is Checked,
Enable DBI is Checked,
Others=default
127.992 140.528 10987 16182 50 72/90/80

Note: 1. The sclk_o Fmax is generated using the eval_top.v. These values may increase when the IP Core is used with the user logic.

Ordering Information

  Part Number
Device Family Multi-site Perpetual Single Seat Annual
AVANT (DDR4)
Avant-G DDR4-MC-AVG-UT DDR4-MC-AVG-US
Avant-X DDR4-MC-AVX-UT DDR4-MC-AVX-US
Avant-E DDR4-PHY-AVE-UT DDR4-PHY-AVE-US
AVANT (LPDDR4)
Avant-G LPDDR4-MC-AVG-UT LPDDR4-MC-AVG-US
Avant-X LPDDR4-MC-AVX-UT LPDDR4-MC-AVX-US
Avant-E LPDDR4-PHY-AVE-UT LPDDR4-PHY-AVE-US
NEXUS
CertusPro-NX LPDDR4-MC-CPNX-UT LPDDR4-MC-CPNX-US
MachXO5-NX LPDDR4-MC-XO5-UT LPDDR4-MC-XO5-US

To download a full evaluation version of this IP, go to the IP Server in Lattice Radiant. This IP core supports Lattice’s IP hardware evaluation capability, which makes it possible to generate the IP core and operate in hardware for a limited time (approximately four hours) without requiring an IP license.

To find out how to purchase the LPDDR4 IP core, please contact your local Lattice Sales Office.

Documentation

快速参考
标题 编号 版本 日期 格式 文件大小
选择全部
Avant LPDDR4 Memory Controller Driver API Reference
FPGA-TN-02379 1.0 8/19/2024 PDF 484.2 KB
CertusPro-NX LPDDR4 Memory Controller Driver API Reference
FPGA-TN-02378 1.0 8/19/2024 PDF 461.7 KB
标题 编号 版本 日期 格式 文件大小
选择全部
Memory Controller IP Core for Avant Devices - User Guide
FPGA-IPUG-02208 1.3 8/2/2024 PDF 1.4 MB
LPDDR4 Memory Controller IP Core for Nexus Devices - User Guide
FPGA-IPUG-02127 1.6 6/28/2024 PDF 2.9 MB