Choosing between DDR4 and HBM in memory-intensive applications

从FPGA/ASIC工程师视角看DDR:手把手拆解Memory Controller、PHY与DRAM芯片的协作流程 本文从FPGA/ASIC工程师视角深入解析DDR内存子系统,详细拆解Memory Controller、PHY与DRAM芯片的协作流程。通过系统架构分解、接口标准解析和实战调试技巧,帮助工程师优化DDR性能并解决常见问题,涵盖地址映射、命令调度、时序校准等关键技术要点。 阅读详情

原文链接:https://www.techdesignforums.com/practice/technique/choosing-between-ddr4-and-hbm-in-memory-intensive-applications/

Exploring the tradeoffs between implementing DDR4 and HBM for high-bandwidth memory subsystems.

It has always been a battle to balance the performance of processors and the memory systems that provide their raw data and digest their results. As advanced semiconductor process technologies further concentrate computing power on individual die, the issue is becoming acute, especially in applications such as high-end graphics, high-performance computing (HPC), and some areas of networking.

The heart of the problem is that processor performance is growing at a rate that eclipses that of memory performance. Every year the gap between the two is increasing.

Memory makers have been bridging this gap with successive generations of double data rate (DDR) memories, but their performance is limited by the signal integrity of the DDR parallel interface and the lack of an embedded clock as used in high-speed SerDes interfaces. This leaves system designers with multiple memory issues to solve: bandwidth, latency, power consumption, capacity and cost. The solutions for higher memory bandwidth are simple: either go faster and/or go wider. If you can improve latency and cut the energy consumed per bit transferred, that is a bonus.

The high bandwidth memory alternative

One approach to solving the memory problem is high bandwidth memory (HBM), which uses a stack of JEDEC-standard HBM SDRAM dice connected to a host SoC, typically via a 2.5D interposer as shown in Figure 1.
在这里插入图片描述
FIGURE 1 Cross-section of an HBM stack (Source: AMD)

The approach used by HBM2 SDRAM, the second generation of HBM SDRAMs, enables the creation of a very wide point-to-point bus operating at modest data rates. HBM2 supports 1024 data pins per HBM2 stack operating at up to 2000Mbit/s per pin resulting in a total bandwidth of 256Gbyte/s. Future increases to data rates of 2400Mbits/s will see that increase to 307Gbyte/s. Since a 1024 bit wide interface will access too much data per read/write access for the system to efficiently use, the HBM2 interface is broken up into eight independent 128bit wide channels. HBM dice stacks (of 2, 4 or 8 dice) are interconnected using through-silicon vias (TSVs), which connect to a logic die at the bottom of the stack as shown in Figure 2. The logic die connects to the 2.5D interposer, which enables connections to other devices sharing the interposer, such as an FPGA or CPU, as well as providing suitable connections to the package.
在这里插入图片描述
FIGURE 2 The memory stack and logic die connect to a 2.5D interposer (Source: AMD/SKHynix)

HBM has enabled designers to concentrate large amounts of memory close to processors, with enough bandwidth between the two to redress the growing imbalance between processor and memory performance. This is proving attractive in HPC, parallel computing, data center accelerators, digital image and video processing, scientific computing, computer vision, and deep learning applications.

Key features of HBM2 SDRAMs

HBM2 builds on some of what has gone before in the definition of DDR. For example, each HBM2 channel is similar to a DDR interface, using similar commands and timing parameters. Because the available pin density of connecting a DRAM to an SoC is much higher with HBM2 versus DDR, this has enabled some architectural changes in the interface to HBM2. For example, ‘column commands’ for read/write and ‘row commands’ to precharge and activate memory cells are now separated (rather than being multiplexed as on DDR), reducing bus congestion.

HBM2 also has a ‘pseudo channel’ mode, which splits every 128bit channel into two semi-independent sub-channels of 64 bits each, sharing the channel’s row and column command buses while executing commands individually. The benefit of increasing the number of channels this way is increased overall effective bandwidth by avoiding restrictive timing parameters such as tFAW which allows more bank activates per unit time.

The DRAM input receivers may implement and use an optional internal VREF generator to allow more precise threshold control of input sensing levels. This helps to reduce the effect of process variability and improve receiver robustness.

HBM2 uses a single bank refresh command to refresh a single bank while accesses to other banks including writes and reads are unaffected. There is optional ECC support, enabling 16 error detection bits per 128 bits of data. The HBM2 standard also allows command/address parity checking, and data bus inversion to reduce simultaneous switching noise. It is also possible to remap interconnect lanes to help improve the assembly yield of silicon in package approaches, and to recover the functionality of a defective HBM2 stack.

Comparing DDR and HBM

How does the connectivity of DDR and HBM compare? With DDR4 and 5, the DRAM die are packaged and mounted on small PCBs which become dual inline memory modules (DIMMs), and then connected to a motherboard through an edge connector. For HBM2 memory, the hierarchy begins with DRAM die, which are then stacked and interconnected using TSVs, before being connected to a base logic die, which is turn is connected to a 2.5D interposer, which is finally packaged and mounted on the motherboard.

In terms of system capacity, DDR4/5 SDRAMs can use registered DIMMs (RDIMMs) or load-reduced DIMMs (LRDIMMs) to reduce critical fanout for speed for large capacity solutions. Some DDR4/5 DIMMS are also using packaged DRAMs which have stacked die inside them to increase package/DIMM capacity. Using state-of-the-art DRAM die stacking, two-rank RDIMMs can currently carry up to 128GByte of memory. With high-end servers having up to 96 DIMM slots, the theoretical memory capacity possible with DDR4 is up to 12TByte of SDRAM.

For HBM2, the numbers are a little different. Each packaged HBM2 DRAM may have up to eight stacked DRAM die, which with the highest capacity HBM die today each offering 8Gbit, makes for an 8GByte HBM2 stack. If the host SoC has four HBM2 interfaces, that means the system can have up to 32GByte of very high bandwidth local SDRAM.

Thermal requirements also play an important part of system design tradeoffs. A DDR based memory subsystem using DIMMs will reside in a reasonably large volume, with the SDRAM located some distance from the host SoC and often orthogonal to the motherboard. Fan cooling can dissipate the heat, and some high-performance systems are starting to use liquid cooling systems, although these are expensive. An HBM based system, on the other hand, will take up much less volume per Gbyte/s than a DDR based approach and is likely to be smaller. The SDRAMs in an HBM system are closer to the SoC, and mounted in the same plane as it and the host motherboard which should simplify cooling the design. The downside of the dense integration of memory die in HBM is that they can overheat, and so the devices contain a catastrophic temperature sensor output, which trips to stop permanent damage. The density of HBM systems also demands more elaborate heat sinks and air-flow management systems, and often liquid cooling.

The shorter paths between memory and CPU on HBM2 systems mean that they can run without termination and consume much less energy per bit transmitted than terminated DDR systems. It can be useful to think about this being measured in picoJoules per bit transmitted, or milliwatts per Gigabit per second. The same kind of metrics can be applied to express the power efficiency of the DDR or HBM PHY on the hot SoC, a comparison of which is shown in Figure 3.

在这里插入图片描述
FIGURE 3 SoC DRAM PHY energy efficiency comparison (Source: Synopsys)

Building the PHY also means making tradeoffs. The PHY for an HBM2 implementation is larger than that for a DDR interface, because it demands many more off-die connections via a 23 x 220 array defined by the JEDEC HBM2 DRAM bump pattern. Such a large off-chip interface can also demand a lot of local decoupling capacitance, which if implemented on-chip may demand several square millimeters of die area.

There are two ways of looking at the relative sizes of DDR and HBM PHY implementations. On the basis of area alone, an HBM implementation is likely to be larger than more traditional options (Figure 4). However, on a systemic comparison of relative PHY area per Gbit/s of bandwidth, HBM is much more area efficient (Figure 5).
在这里插入图片描述
FIGURE 4 SoC DRAM PHY relative area comparison (Source: Synopsys)

SoC DRAM PHY relative area per Gbit/sec of bandwidth (Source: Synopsys)
FIGURE 5 SoC DRAM PHY relative area per Gbit/sec of bandwidth (Source: Synopsys)

To sum up this comparison, DDR4 memory subsystem implementations are useful for creating large capacities with modest bandwidth. The approach has room for improvement. Capacity can be improved by using 3D stacked DRAMs, and RDIMMs or LRDIMMs. HBM2, on the other hand, offers large bandwidth with low capacity. Both the capacity and bandwidth can be improved by adding channels, but there is no option for moving to DIMM style approach, and the approach already uses 3D stacked die. A comparison of present (DDR4, HBM2, GDDR5 and LPDDR4) and future (DDR5, LPDDR5) DRAM features is presented in Figure 6.

Comparison of memory system features and benefits (Source: Synopsys)
FIGURE 6 Comparison of memory system features and benefits (Source: Synopsys)

A hybrid solution, which implements both HBM2 and DDR4 on the same SoC, can achieve the best of both worlds. Designers can achieve a large capacity on the DDR bus and a large bandwidth on the HBM2 bus. In system design terms, therefore, it may make sense to use the HBM2 memory as an L4 cache or closely-coupled memory, and the DDR4 memory as a higher performance alternative to Flash or an SSD.

Implementing HBM

Synopsys has introduced a DesignWare HBM2 PHY, delivered as a set of hard macrocells in GDSII that includes the I/Os required for HBM2 signaling. The design is optimized for high performance, low latency, low area, low power, and ease of integration. The macrocells can be assembled into a complete 512- or 1024-bit HBM2 PHY.

The IP comes with an RTL-based PHY Utility Block, which supports the GDSII-based PHY components and includes the PHY training circuitry, configuration registers and BIST control. The HBM2 PHY includes a DFI 4.0-compatible interface to the memory controller, supporting 1:1 and 1:2 clock ratios. The design is compatible with both metal-insulator-metal (MIM) and non-MIM power decoupling.

To simplify HBM2 SDRAM testing, the DesignWare HBM2 PHY IP provides an IEEE 1500 port with an access loopback mode for testing and training the link between the SoC and HBM2 SDRAM.

The IP also comes with verification IP which complies with the HBM JEDEC specification (including HBM2) and provides protocol, methodology, verification and productivity features including built-in protocol checks, coverage and verification plans, and Verdi protocol-aware debug and performance analysis, enabling users to achieve rapid verification of HBM-based designs.

Further information

The DesignWare HBM2 PHY and VC Verification IP are available now for 16nm, 14nm, 12nm and 7nm process technologies, with additional process technologies in development.

DesignWare HBM2 IP

VC Verification IP for HBM2

Author

Graham Allan joined Synopsys in June 2007. Prior to joining Synopsys, Allan was with MOSAID Technologies as director of marketing for semiconductor IP. With more than 25 years of experience in the memory industry, Allan has spoken at numerous industry conferences. A significant contributor to the SDRAM, DDR and DDR2 JEDEC memory standards, Allan holds 25 issued patents in the area of memory design.

Company info

Synopsys Corporate Headquarters
690 East Middlefield Road
Mountain View, CA 94043
(650) 584-5000
(800) 541-7737
www.synopsys.com

AM64x DDR PHY地址片寄存器深度解析与实战调试指南 在现代嵌入式系统开发中,DDR内存子系统是决定系统性能与稳定性的核心。其物理层(PHY)作为连接处理器与DRAM颗粒的关键桥梁,通过内部寄存器实现高速接口的精确控制。DDR PHY的核心原理在于管理高速信号传输中的时序对齐、信号完整性与电压温度补偿,其技术价值在于确保数据在极高频率下被准确无误地读写。这一技术广泛应用于基于高性能异构处理器(如TI AM64x/AM243x)的嵌入式设备中。本文聚焦于DDR PHY的地址片(Address Slice)寄存器组,深入剖析其环回测试、延迟控制及CA训练等关键功能 阅读详情

相关推荐

[RAM] HBM 导论 | 为什么我们需要 HBM?

在AI时代的浪潮中,需要高效的内存来支持快速的数据访问和处理。而在这个追求速度和效率的世界中,HBM(High Bandwidth Memory)内存崭露头角。HBM==High Bandwidth Memory, 是将很多个DDR芯片堆叠在一起后和GPU封装在一起,实现大容量,高位宽的DDR RAM 组合阵列。HBM内存是一种创新的堆叠式内存技术,其特点是将多个内存芯片垂直堆叠在一起,并通过短而宽的通道将它们连接起来。这种设计不仅节省了空间,还大大提高了内存的带宽,使数据能够以更快的速度传输。

串起点滴 2139

内存子系统

一般来说,DRAM 是一个焊接在 PCB 上的独立芯片,而 PHY 与 MC 则是 FPGA 或者 ASIC 用户逻辑的一部分

tiaozhanzhe1900的博客 756

(八)DDR_PHY架构及功能——(PUB组成、初始化及Training流程、Clock关系)

文章目录一、DDR_PHY结构组成1.1、DDR Memory子系统1.2、DDR_PHY架构组成1.3、PUB模块功能实现流程1.3.1、DDR系统初始化流程1.3.2、PLL初始化流程 一、DDR_PHY结构组成 1.1、DDR Memory子系统   Memory子系统主要由DDR Controller和DDR_PHY(含DDR_IO)两个部分组成。DDR Controller主要承担其它子系统(如CPU)与Memory子系统进行数据交互时的传输效率及调度,DDR_PHY主要负责数据交互过程中的传输速

Mr.翟的博客 1万+

HBM3协议中文版(第6章后续)

HBM3第六章内容后续,借助豆包翻译和校对,水平有限,仅供参考。

weixin_62509974的博客 1554

DDRPHY的主要功能

DDRPHY主要有以下功能:1、命令及数据传输,承担DDRC和DRAM之间的命令、数据传输,把DDRC逻辑电路系统时钟域的命令及数据,和DRAM接口时钟域的命令及数据进行相互转换和透传。2、提供链路延时,通过模拟电路实现可配置大小的链路延时,对DRAM接口并行的命令、数据信号进行延时控制3、控制逻辑,通过数字逻辑实现对DRAM接口并行的命令、数据信号进行training,目的是调整相互相位关系,达到可靠的通信质量。解释一下其中的第2点提供链路延时和第3点逻辑控制两点的含义和工作内容。

叫好与叫座虽然不是对立面,但想在同一个作品中达到双重效果很难。 2516

dwc_ddr3phy_publ_db.pdf

dwc_ddr3phy_publ_db.pdf

DDR PHY

(5)可以完成PHY的初始化,training(比如,automatic DQS gate training,delay line calibrations,VT compensation,write leaving, write read data bit deskew, DQ/DQS eye training),控制的逻辑。(2)数据位宽是以8bit逐渐递增的(这样做的目的是因为可能支持16/32/64bit的总线位宽)(1)不支持SDRAM的DLL off mode。1.ddr phy架构。

juvenilexhq的博客 6569

DDR_PHY_Interface_Specification_v3_0.pdf

DDR_PHY_Interface_Specification_v3_0.pdf 。 DDR PHY 与 Controler 间的 DFI 接口标准协议。

DDR4 Chapter1 基本原理

DDR4 SDRAM Chapter1 基本原理理解

让 我 康 康 2135

EEGNet 网络代码解析与实战复现指南

本文详细解析了EEGNet这一轻量级卷积神经网络的结构与设计思想,重点阐述了其利用深度可分离卷积高效处理脑电信号的原理。文章提供了基于PyTorch的完整代码复现指南,包括网络搭建、数据模拟、训练调试及关键参数解析,旨在帮助读者掌握EEGNet的代码复现技巧,并将其应用于脑机接口等实际场景。

honey的博客 542

实验室LIMS系统选型指南:从赛默飞到金现代,5大主流方案横评

本文深入分析了实验室LIMS系统选型的5大核心维度,包括架构选择、行业适配性、合规性设计、智能化程度和成本模型。通过对比赛默飞、金现代等主流厂商的优劣势,提供实战避坑策略,帮助实验室管理者做出明智决策,提升运营效率和合规水平。

plum99的博客 261

[DRAM Test]DDR基本原理

存储器一般来说可以分为内部存储器(内存),外部存储器(外存),缓冲存储器(缓存)以及闪存这几个大类。内存:也称为主存储器,位于系统主机板上,可以同CPU直接进行信息交换。其主要特点是:运行速度快,容量小。外存:也称为辅助存储器,不能与CPU之间直接进行信息交换。其主要特点是:存取速度相对内存要慢得多,存储容量大。内存与外存本质区别是,一个是内部运行提供缓存和处理的功能,也可以理解为协同处理的通道;而外存主要是针对储存文件、图片、视频、文字等信息的载体,也可以理解为储存空间。

2401_82551482的博客 2713

简单的服务器取证

记一次入门服务器取证——药品直销网,涵盖旧版本宝塔、静态IP的配置更改、代码的理解

m0_74559567的博客 3759

DDR基本原理

DDR SDRAM(Double Data Rate Synchronous Dynamic Random Access Memory,双数据率同步动态随机存储器)通常被我们称为DDR,其中的。DDR是一种掉电就丢失数据的存储器件,并且需要定时的刷新来保持数据的完整性。现在嵌入式系统设计或者计算机设计,考虑到存储性能、存储容量、成本等因素,通常采用存储金字塔式的设计,比如CPU后面紧接着寄存器,寄存器后面跟着cache,cache后面紧接着DDR,然后DDR后面跟着SSD、EMMC等非易失。

weixin_50518899的博客 7222

YOLO26引入ECA-Net的改进版变体:1D卷积在2026目标检测的极致压榨

摘要: 2026年发布的YOLO26通过移除DFL模块、支持无NMS推理等革新成为边缘计算新标杆。为进一步提升性能,研究聚焦轻量级通道注意力机制ECA-Net,其核心创新在于用1D卷积替代传统全连接层,仅需5个参数即可实现高效通道交互。数学分析表明,ECA模块在ResNet50上仅增加80个参数,却能带来2%以上的精度提升。这种"极致压榨"的设计理念与YOLO26的轻量化特性高度契合,为在几乎不增加计算开销的前提下提升模型性能提供了可行方案。技术验证显示,该组合在COCO数据集上实现了检测精度与推理效率的双

ZDQ58818的博客 268

SAP FICO 科目余额查询表开发说明书(包括测试样例、程序代码仅作参考,不保证一定可以运行)

SAP FICO 科目余额查询表开发说明书(包括开发源代码、测试样例)

我好像病了的博客 1043

ecshop新增一个编辑器

在ecshop的后台新增一个编辑器框 步骤一:找到lib_main.php 文件:admin/includes/lib_main.php。 找到变量:function create_html_editor(),在它的下面重新新建一个变量 create_html_editor2。代码如下 function create_html_editor2($input_name, $input_va...

weixin_34235135的博客 206

history 历史命令记录功能如何防坏人(高级)

在 Linux 下面可以使用 history 命令查看用户的所有历史操作,同时 shell 命令操作记录默认保存在用户目录的 .bash_history 文件中。通过这个文件可以查询 shell 命令的执行历史,有助于运维人员进行系统审计和问题排查,同时在服务器遭受黑客攻击后,也可以查询黑客登录服务器的历史命令操作。但是黑客在入侵后,为了抹除痕迹,会删除 .bash_history 文件,这个就需...

墨痕诉清风的博客 1660

HBM3协议中文版

HBM3协议中文版,JESD238

hemlok的博客 2万+

1.FPGA开发软件安装——Vivado

目前主流的FPGA公司包括xilinx和Intel(原altera公司),其开发软件分别为vivado和quartusii。我们这里以目前国内应用较多的vivado为例进行安装讲解。 1、首先是去官网下载 Vivado 安装包:https://www.xilinx.com/support/download.html。下载这个最大的、支持所有的 OS 如 Windows/Linux 的安装包。 2、下载完之后,就进行解压。(最好在解压和安装之前都关闭所有的杀毒软件以防万一)。紧接着,解压完之后...

FPGA/MATLAB学习教程/源码/项目合作开发 8264

有趣的方式学习DDR5(4)—— DDR5 SDRAM 启动与初始化过程全攻略

🟢。

weixin_43199439的博客 1625

SoC关键组件-HBM学习札记

在AI类SoC芯片中,往往使用HBM,本文是项目组HBM基础介绍的旁听笔记。

weixin_45749195的博客 4589

visio安装包

Microsoft Office Visio 是一款专业的制图软件。利用经过更新的形状、协作工具和数据链接图表,创建专业级图表以简化复杂的信息。

DDR撰写心得

根据synopsys ddr控制器的运行log文件编写ddr驱动,下面有几点心得: 首先了解ddr是数据线地址线复用的,和nandflash一样, DDR3  64ms刷新8192次,即7.8us(trefi)需要做一下gap,时间trfc,这个时间非常重要,温度上升了,这个值应该提高一倍,改为3.9um 名词解释: PUBL PHY Utility Block Lite D

china123w的专栏 1万+

win10 跳过U8环境检测的IE WebControls.rar

win10 安装u8的时候 提示IE WebControls 不通过,这个工具可以欺骗u8的检查。 跳过U8环境检测的IE WebControls。提示导入失败后,重新检测通过。

最新的sdio 4.0 spec 协议标准 带书签 高清完整PDF版

Part-E1-SDIO-Specification-Ver4.00-Final-120220.pdf:最新的sdio 4.0 spec 协议标准 带书签 高清完整PDF版,包括SDIO 接口的外设,SDIO 接口官方协议等。

DDRPHY数字IC后端设计实现系列专题

LPDDR3 物理层接口的数字后端设计实现系列专题

weixin_37584728的博客 3264

Camera2Demo

在Camera2 的基础上进行封装,使得Camera2一堆初始化逻辑与Activity分离,降低耦合度,完成预览拍照并保存的操作

DDR/GDDR和HBM区别,及内存标准如何选择?

为了提供具有独特功能和优势的各种 DRAM 技术,JEDEC 为 DDR 定义并制定了三大类标准:标准 DDR、移动 DDR 和图形 DDR。标准 DDR 面向服务器、数据中心、网络、笔记本电脑、台式机和消费类应用,支持更大的通道宽度、更高的密度和不同的外形尺寸。移动 DDR 或 LPDDR 面向非常注重规格和功耗的移动和汽车应用,提供更窄的通道宽度和几种低功耗 DRAM 状态。图形 DDR 面向需要极高吞吐量的数据密集型应用。JEDEC 已将 GDDR 和 HBM 定义为两种图形 DDR 标准。.....

tugouxp的专栏 8719

HBM高带宽存储与传统SRAM、SDRAM的特点

High Bandwidth Memory(HBM)是一种高性能的内存技术,常用于高端CPU和GPU中。

青城扬沙的博客 2962
上一篇: Settling the Debate: Multi Rail Vs. Single Rail Power Supplies
下一篇: What is the difference between HBM (High Bandwidth Memory) and DDR memory?
sunvally
博客等级 码龄18年 1万+粉丝 75原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

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

抵扣说明:

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

余额充值