U96_LPDDR4配置

13 篇文章 0 订阅
1 篇文章 1 订阅

U96_LPDDR4配置
转载
https://www.element14.com/community/groups/fpga-group/blog/2018/07/31/lpddr4-timing-parameters-for-zynq-ultrascale-mpsoc-in-vivado

Note: The v1.0 Ultra96 board definition files (BDF) embedded in Vivado 2018.1 and 2018.2 have a bug. The latest BDF is on the Avnet GitHub here: https://github.com/Avnet/bdf . The article below describes the parameters included in the v1.2 board definition file.

The Avnet Ultra96 board from Avnet has 2 GB of LPDDR4 RAM that is interfaced to the Zynq UltraScale+ MPSoC’s Processing System (PS) DDR Controller. This versatile controller is described in Chapter 17 of the ZU+ Technical Reference Manual (UG1085). The DDR subsystem supports DDR3, DDR3L, LPDDR3, DDR4, and LPDDR4. In order to support all these memories at many different interface speeds, it is critical that the hardware designer enter correct parameters into the Vivado Block Design.

Ultra96 uses Micron MT53B512M32D2NP-062 WT, which is a 16 Gbit component consisting of two 8 Gbit die. This -062 rating stands for 625 ps clock period, which is 1600 MHz. Because it is double data-rate, this is considered a 3200 Mbps device.

The MPSoC on Ultra96 is the XCZU3EG-1SBVA484E. This cost-optimized package supports an LPDDR4 maximum interface rate of 1066 Mbps. Therefore, the ideal clock rate is 533 MHz. In version 1.0 of the BDF, Vivado is instructed to automatically calculate the PLL parameters, which results in an actual output clock frequency of 525 MHz. The v1.2 BDF explicitly sets the PLL parameters to produce 533.3333 MHz. Therefore, the clock period tCK = 1.875 ns.

In Vivado Block Design for Zynq UltraScale+, the DDR Configuration dialog expects several parameters in the DDR Memory Options section. These parameters can be found using the Micron LPDDR4 datasheet, knowing what the memory clock period tCK (1.875 ns) is for this particular design.

RAS to CAS Delay (cycles), abbreviated tRCD.
tRCD (ns) = MAX(18ns, 4nCK)
4nCK = 4 * tCK = 7.5ns
MAX(18ns, 4nCK) = 18ns
18ns/tCK = 9.6, so round up to 10
tRCD (cycles) = 10 cycles
Precharge Time (cycles), abbreviated tRP
Micron provides both an All Bank precharge (tRPab) and a Per Bank precharge (tRPpb). We will find the maximum.
tRPab (ns) = MAX(21ns, 3nCK)
3nCK = 5.715ns
MAX(21ns, 3nCK) = 21ns
tRPpb = MAX(18ns, 3nCK)
3nCK = 5.715ns
MAX(18ns, 3nCK) = 18ns
tRP (ns) = MAX(tRPab, tRPpb) = 21ns
21ns/tCK = 11.2, so round up to 12
tRP (cycles) = 12 cycles
Row active time, abbreviated tRAS (ns)
tRAS = MAX(42ns, 3nCK) = 42ns
ACTIVATE-to-ACTIVATE command period (same bank), abbreviated tRC (ns)
tRC (ns) = MAX{[tRAS + tRPab (with all-bank precharge)], [tRAS + tRPpb (with per-bank precharge)]}
tRAS + tRPab = 42ns + 21ns = 63ns
tRAS + tRPpb = 42ns + 18ns = 60ns
tRC (ns) = 63ns
Four-bank activate window, abbreviated tFAW (ns)
tFAW (1066 Data Rate) = 40ns
DRAM IC Bus Width (per die)
32 bits, based on the Part Number MT53B512M32D2
DRAM Device Capacity (per die, so use 16 instead of 32)
512 Meg * 16 bits = 8192 Mbits
Also shown in Table 2 as “Density per die”
Row Address Count (bits)
Table 2, x16 Row addresses for 512M32 (16Gb) device = R[14:0] = 15
Dual Rank
Yes, checked, since Table 2 Configuration for 512M32 (16Gb) device shows “32Mb x 16 DQ x 8 banks x 2 channels x 2 ranks”

The resulting preset provides an LPDDR4 configuration in the block design that looks like this in Vivado:

Ultra96 LPDDR4 Vivado Block Design Configuration

在这里插入图片描述

  • 2
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
DRAM(动态随机存储器)是计算机中最重要的存储器之一,它以快速和易于访问的方式存储着大量的数据。随着技术的不断进步,DRAM的版本也在不断更新,目前常见的版本包括DDR3、DDR4、DDR5以及LPDDR3、LPDDR4、LPDDR5。下面我们来了解一下它们之间的异同。 首先是DDR3,这是一种基于128-bit总线架构的内存,并且能够以800MHz~2133MHz的频率工作。DDR3在性能和稳定性上有很好的表现,它的存储能力和读写速度都有不错的提升。在传输速度和功耗方面,DDR3与DDR2相比有明显改善。 接下来是DDR4,这是DDR3的升级版,它能够以2133MHz~3200MHz的频率运转。DDR4改进了内部架构,增加了内存通道的数量和精度,提高了性能和能耗效率。DDR4还引入了ECC(差错纠正码)技术,减小了错误发生的概率,因此更适用于科学计算和服务器应用场景。 DDR5是目前最新的DRAM版本,它最高能够以6400MHz的频率工作,比DDR4快了许多。DDR5改进了DDR4的技术架构,提高了频率和带宽。同时,DDR5还增加了误码纠正技术,并提高了电源管理能力,在能效和数据处理上都有了显著的进步。DDR5的目标是满足高性能计算和人工智能的需求。 此外,LPDDR3、LPDDR4和LPDDR5是针对移动设备的优化版本。它们具有与DDR3、DDR4和DDR5类似的特点,但其功耗和热能消耗更低,更适合于搭载移动设备。同时,在LPDDR4和LPDDR5中,还引入了数据传输预取技术,通过更先进的缓存设计来提高性能。 总之,随着技术的进步,DRAM的版本也不断更新,从DDR3到DDR4再到DDR5,不断提高着存储速度和能效。不同版本的DRAM都有自己的特点和应用场景,选择合适的版本可以更好地满足需求。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值