Lune

ISCA2024Top-tier venue

HiFi-DRAM: Enabling High-fidelity DRAM Research by Uncovering Sense Amplifiers with IC Imaging

Michele Marazzi, Tristan Sachsenweger, Flavien Solt, Peng Zeng, Kubo Takashi, Maksym Yarema, Kaveh Razavi

Abstract

DRAM vendors do not disclose the architecture of the sense amplifiers deployed in their chips. Unfortunately, this hinders academic research that focuses on studying or improving DRAM. Without knowing the circuit topology, transistor dimensions, and layout of the sense amplifiers, researchers are forced to rely on best guesses, impairing the fidelity of their studies. We aim to fill this gap between academia and industry for the first time by performing Scanning Electron Microscopy (SEM) with Focused Ion Beam (FIB) on recent commodity DDR4 and DDR5 DRAM chips from the three major vendors. This required us to adequately prepare the samples, identify the sensing area, and align images from the different FIB slices. Using the acquired images, we reverse engineer the circuits, measure transistor dimensions and extract physical layouts of sense amplifiers - all previously unavailable to researchers. Our findings show that the commonly assumed classical sense amplifier topology has been replaced with the more sophisticated offset-cancellation design by two of the three major DRAM vendors. Furthermore, the transistor dimensions of sense amplifiers and their revealed physical layouts are significantly different than what is assumed in existing literature. Given commodity DRAM, our analysis shows that the public DRAM models are up to 9 x inaccurate, and existing research has up to 175x175 x error when estimating the impact of the proposed changes. To enable high-fidelity DRAM research in the future, we open source our data, including the reverse engineered circuits and layouts.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

4 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • DejaVu: Why You Should Write to Your DRAM Rows Twice, Carefully cites CLR-DRAM: A Low-Cost DRAM Architecture Enabling Dynamic Capacity-Latency Trade-Off
  • DejaVu: Why You Should Write to Your DRAM Rows Twice, Carefully cites ProTRR: Principled yet Optimal In-DRAM Target Row Refresh
  • DejaVu: Why You Should Write to Your DRAM Rows Twice, Carefully cites DRAMScope: Uncovering DRAM Microarchitecture and Characteristics by Issuing Memory Commands
  • DejaVu: Why You Should Write to Your DRAM Rows Twice, Carefully cites Uncovering In-DRAM RowHammer Protection Mechanisms: A New Methodology, Custom RowHammer Patterns, and Implications
  • DejaVu: Why You Should Write to Your DRAM Rows Twice, Carefully cites SIMDRAM: a framework for bit-serial SIMD processing using DRAM
  • ProTRR: Principled yet Optimal In-DRAM Target Row Refresh cites Uncovering In-DRAM RowHammer Protection Mechanisms: A New Methodology, Custom RowHammer Patterns, and Implications
  • DRAMScope: Uncovering DRAM Microarchitecture and Characteristics by Issuing Memory Commands cites ProTRR: Principled yet Optimal In-DRAM Target Row Refresh
  • DRAMScope: Uncovering DRAM Microarchitecture and Characteristics by Issuing Memory Commands cites Uncovering In-DRAM RowHammer Protection Mechanisms: A New Methodology, Custom RowHammer Patterns, and Implications
  • Uncovering In-DRAM RowHammer Protection Mechanisms: A New Methodology, Custom RowHammer Patterns, and Implications cites CLR-DRAM: A Low-Cost DRAM Architecture Enabling Dynamic Capacity-Latency Trade-Off
  • PuDghost: Experimental Analysis of Computation Result Corruption in Processing-Using-Dram Operations on Real Dram Chips and Implications for Future Systems cites CLR-DRAM: A Low-Cost DRAM Architecture Enabling Dynamic Capacity-Latency Trade-Off
  • PuDghost: Experimental Analysis of Computation Result Corruption in Processing-Using-Dram Operations on Real Dram Chips and Implications for Future Systems cites DejaVu: Why You Should Write to Your DRAM Rows Twice, Carefully
  • PuDghost: Experimental Analysis of Computation Result Corruption in Processing-Using-Dram Operations on Real Dram Chips and Implications for Future Systems cites ProTRR: Principled yet Optimal In-DRAM Target Row Refresh
  • PuDghost: Experimental Analysis of Computation Result Corruption in Processing-Using-Dram Operations on Real Dram Chips and Implications for Future Systems cites ELP2IM: Efficient and Low Power Bitwise Operation Processing in DRAM
  • PuDghost: Experimental Analysis of Computation Result Corruption in Processing-Using-Dram Operations on Real Dram Chips and Implications for Future Systems cites DRAMScope: Uncovering DRAM Microarchitecture and Characteristics by Issuing Memory Commands
  • PuDghost: Experimental Analysis of Computation Result Corruption in Processing-Using-Dram Operations on Real Dram Chips and Implications for Future Systems cites Uncovering In-DRAM RowHammer Protection Mechanisms: A New Methodology, Custom RowHammer Patterns, and Implications
  • PuDghost: Experimental Analysis of Computation Result Corruption in Processing-Using-Dram Operations on Real Dram Chips and Implications for Future Systems cites SIMDRAM: a framework for bit-serial SIMD processing using DRAM
  • SIMDRAM: a framework for bit-serial SIMD processing using DRAM cites ELP2IM: Efficient and Low Power Bitwise Operation Processing in DRAM
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. DRAMScope: Uncovering DRAM Microarchitecture and Characteristics by Issuing Memory CommandsHwayong Nam, Seungmin Baek, Minbok Wi, Michael Jaemin Kim et al.ISCA 2024 · 19 citations
  2. DejaVu: Why You Should Write to Your DRAM Rows Twice, CarefullyHaocong Luo, Ismail Emir Yüksel, Ataberk Olgun, Nisa Bostanci et al.ISCA 2026 · 4 citations
  3. PuDghost: Experimental Analysis of Computation Result Corruption in Processing-Using-Dram Operations on Real Dram Chips and Implications for Future SystemsDaichi Tokuda, Ismail Emir Yüksel, Tatsuya Kubo, Ataberk Olgun et al.ISCA 2026 · 4 citations
  4. Assassyn: A Unified Abstraction for Architectural Simulation and ImplementationJian Weng, Boyang Han, Derui Gao, Ruijie Gao et al.ISCA 2025 · 1 citation

Builds on12

  1. SIMDRAM: a framework for bit-serial SIMD processing using DRAMNastaran Hajinazar, Geraldo F. Oliveira, Sven Gregorio, João Dinis Ferreira et al.ASPLOS 2021 · 182 citations
  2. ProTRR: Principled yet Optimal In-DRAM Target Row RefreshMichele Marazzi, Patrick Jattke, Flavien Solt, Kaveh RazaviS&P 2022 · 101 citations
  3. ELP2IM: Efficient and Low Power Bitwise Operation Processing in DRAMXin Xin, Youtao Zhang, Jun YangHPCA 2020 · 84 citations
  4. Uncovering In-DRAM RowHammer Protection Mechanisms: A New Methodology, Custom RowHammer Patterns, and ImplicationsHasan Hassan, Yahya Can Tugrul, Jeremie S. Kim, Victor van der Veen et al.MICRO 2021 · 79 citations
  5. CLR-DRAM: A Low-Cost DRAM Architecture Enabling Dynamic Capacity-Latency Trade-OffHaocong Luo, Taha Shahroodi, Hasan Hassan, Minesh Patel et al.ISCA 2020 · 64 citations

Related papers

  1. TRRespass: Exploiting the Many Sides of Target Row RefreshPietro Frigo, Emanuele Vannacci, Hasan Hassan, Victor van der Veen et al.S&P 2020 · 274 citations
  2. BLACKSMITH: Scalable Rowhammering in the Frequency DomainPatrick Jattke, Victor van der Veen, Pietro Frigo, Stijn Gunter et al.S&P 2022 · 140 citations
  3. Variable Read Disturbance: An Experimental Analysis of Temporal Variation in DRAM Read DisturbanceAtaberk Olgun, F. Nisa Bostanci, Ismail Emir Yüksel, Oguzhan Canpolat et al.HPCA 2025 · 15 citations
  4. REGA: Scalable Rowhammer Mitigation with Refresh-Generating ActivationsMichele Marazzi, Flavien Solt, Patrick Jattke, Kubo Takashi et al.S&P 2023
  5. Bit-Exact ECC Recovery (BEER): Determining DRAM On-Die ECC Functions by Exploiting DRAM Data Retention CharacteristicsMinesh Patel, Jeremie S. Kim, Taha Shahroodi, Hasan Hassan et al.MICRO 2020 · 55 citations
Dusk over the sea between two cliffs drawn in fine vertical lines