Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

HBM (High Bandwidth Memory)

Overview

HBM (High Bandwidth Memory) is a stacked DRAM technology that achieves extremely high bandwidth with excellent power efficiency. By stacking multiple DRAM dies vertically and connecting them with through-silicon vias (TSVs), HBM provides massive bandwidth in a compact package. It’s used in high-end GPUs, AI accelerators, and HPC systems.

How HBM Works

3D Stacking

graph TD
    subgraph "HBM Stack"
        D4["DRAM Die 4 (Top)"]
        D3["DRAM Die 3"]
        D2["DRAM Die 2"]
        D1["DRAM Die 1 (Bottom)"]
        Logic["Logic/Interface Die (optional)"]
    end
    subgraph "Interposer"
        IP["Silicon Interposer"]
    end
    subgraph "Processor"
        GPU["GPU/CPU Die"]
    end
    D4 --> D3 --> D2 --> D1 --> Logic --> IP --> GPU
  • 4-16 DRAM dies stacked vertically
  • Connected by TSVs (Through-Silicon Vias) — vertical electrical connections through silicon
  • Mounted on a silicon interposer alongside the processor
  • 1024-bit wide interface per stack (vs 32-bit for GDDR)

Through-Silicon Vias (TSVs)

TSV: Vertical metal connection through silicon die

┌──────────┐
│ Die 3    │──┐
│          │  │ TSV
│ Die 2    │──┤
│          │  │ TSV
│ Die 1    │──┘
└──────────┘

TSVs provide thousands of vertical connections with:

  • Very short signal paths → low latency
  • Wide buses → high bandwidth
  • Low power → shorter wires need less drive strength

HBM Generations

GenerationYearBandwidth/StackCapacity/StackInterfaceData Rate
HBM12014128 GB/s4 GB1024-bit1 Gbps
HBM22016256 GB/s8 GB1024-bit2 Gbps
HBM2E2020461 GB/s16 GB1024-bit3.6 Gbps
HBM32022819 GB/s16-24 GB1024-bit6.4 Gbps
HBM3E20241.2 TB/s24-36 GB1024-bit9.2 Gbps

HBM Bandwidth Calculation

Bandwidth = Interface Width × Data Rate × Channels / 8

HBM2: 1024 bits × 2 Gbps / 8 = 256 GB/s per stack
HBM3: 1024 bits × 6.4 Gbps / 8 = 819 GB/s per stack

Multi-Stack Configurations

DeviceStacksTotal BandwidthTotal Capacity
NVIDIA A1005 × HBM2E2 TB/s80 GB
NVIDIA H1005 × HBM33.35 TB/s80 GB
NVIDIA H2005 × HBM3E4.8 TB/s141 GB
AMD MI300X8 × HBM35.3 TB/s192 GB

HBM vs GDDR6

PropertyHBM2EGDDR6X
Bandwidth/stack461 GB/s~100 GB/s/chip
Interface width1024-bit16-bit/chip
Power efficiency~7 GB/s/W~3 GB/s/W
Capacity/stack16 GB2 GB/chip
Form factorStacked on interposerDiscrete on PCB
CostVery highModerate
LatencyModerateModerate

Power Efficiency

HBM’s key advantage is bandwidth per watt:

HBM2E:  461 GB/s ÷ ~15W = ~31 GB/s/W
GDDR6X: 100 GB/s ÷ ~12W = ~8 GB/s/W

HBM is ~4× more power-efficient for bandwidth.

HBM Architecture

Channel Architecture

Each HBM stack has multiple independent channels:

graph TD
    subgraph "HBM Stack"
        subgraph "Pseudo-Channel 0"
            PC0["64-bit interface"]
        end
        subgraph "Pseudo-Channel 1"
            PC1["64-bit interface"]
        end
        subgraph "..."
            PCE["..."]
        end
        subgraph "Pseudo-Channel 15"
            PC15["64-bit interface"]
        end
    end
    Note["16 pseudo-channels × 64 bits = 1024 bits total"]

HBM2 introduced pseudo-channels: splitting each 128-bit channel into two 64-bit pseudo-channels for better utilization.

Stack Structure

HBM2E Stack (8-Hi):
┌─────────────────┐
│ DRAM Die 8      │  ← Top
│ DRAM Die 7      │
│ DRAM Die 6      │
│ DRAM Die 5      │
│ DRAM Die 4      │
│ DRAM Die 3      │
│ DRAM Die 2      │
│ DRAM Die 1      │  ← Bottom (connected to base die)
├─────────────────┤
│ Base Die        │  ← Interface logic, I/O drivers
├─────────────────┤
│ Substrate       │
└─────────────────┘

Each die: 2 GB (8-Hi × 2 GB = 16 GB)

Silicon Interposer

The silicon interposer is a passive silicon substrate that:

  1. Provides high-density wiring between HBM stacks and processor
  2. Enables 1024-bit wide connections (impossible on PCB)
  3. Reduces signal distance and power
┌──────────────────────────────────┐
│         Silicon Interposer       │
│  ┌─────┐  ┌──────┐  ┌─────┐    │
│  │HBM 0│  │      │  │HBM 1│    │
│  └─────┘  │ GPU  │  └─────┘    │
│  ┌─────┐  │ Die  │  ┌─────┐    │
│  │HBM 2│  │      │  │HBM 3│    │
│  └─────┘  └──────┘  └─────┘    │
└──────────────────────────────────┘

CoWoS (Chip-on-Wafer-on-Substrate)

TSMC’s CoWoS technology integrates HBM with the processor:

  1. HBM stacks and processor die placed on a silicon interposer
  2. Interposer mounted on a package substrate
  3. Entire assembly is one package

Used in: NVIDIA A100, H100, AMD MI300X.

Interview Questions

  1. Q: What is HBM and why is it used? A: High Bandwidth Memory — stacked DRAM connected by TSVs on a silicon interposer. It provides massive bandwidth (up to 1.2 TB/s per stack) with excellent power efficiency. Used in GPUs, AI accelerators, and HPC where bandwidth is critical.

  2. Q: How does HBM achieve higher bandwidth than GDDR? A: HBM uses a 1024-bit wide interface (vs 16-bit per GDDR chip), achieved through 3D stacking with TSVs and silicon interposer. The wide interface means lower clock speeds can still achieve high bandwidth.

  3. Q: What are TSVs? A: Through-Silicon Vias — vertical electrical connections through silicon dies. They enable the 1024-bit wide interface between stacked DRAM dies and between the stack and the interposer.

  4. Q: Why is HBM more power-efficient than GDDR? A: Shorter signal paths (TSVs are microns long vs centimeters for PCB traces), lower clock speeds (wide interface compensates), and less I/O driver power. HBM achieves ~31 GB/s/W vs ~8 GB/s/W for GDDR6X.

  5. Q: What is a silicon interposer? A: A passive silicon substrate that provides high-density wiring between HBM stacks and the processor die. It enables 1024-bit wide connections that would be impossible on a regular PCB.

Common Mistakes

  • ❌ Confusing HBM with GDDR (HBM = stacked, high bandwidth; GDDR = discrete, high bandwidth)
  • ❌ Not knowing TSVs (the key enabling technology)
  • ❌ Assuming HBM is just “faster DRAM” (it’s a packaging/architecture innovation)
  • ❌ Forgetting that HBM requires a silicon interposer
  • ❌ Confusing HBM bandwidth per stack vs total system bandwidth

Summary

HBM achieves massive bandwidth through 3D stacking of DRAM dies connected by TSVs on a silicon interposer. HBM3E provides up to 1.2 TB/s per stack with excellent power efficiency (~31 GB/s/W). It’s the memory technology of choice for AI accelerators and HPC, where bandwidth and power efficiency are paramount.

Cross-References

Cross References