arrow
Return

OpenDRAM: A Modular, High-performance Soft Memory Controller for DDR4 DRAM

delete2025-12-01
delete0
PRE
AI
A
Ali Abbasi *
D
Danesh Germchi
A
Amin Katani
M
Mohamed Hassan
R
Rodolfo Pellizzoni
DOI:10.1145/3772724delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
We propose OpenDRAM, a synthesizable high-performance DDR4 DRAM soft Memory Controller (MC) for FPGAs. Since DRAMs usually operate at a higher frequency compared to MCs (usually 4x), to fully utilize DRAM's bandwidth, the hardened DDR4 physical interface expects the controller to issue four DRAM commands in a single clock cycle. OpenDRAM is a modular, extensible MC, implementing high-performance bank-parallel schedulers. We detail the design of OpenDRAM's logic blocks in RTL and their integration with existing AMD's Memory Interface Generator (MIG) modules for initialization, maintenance, and interfacing. The integrated project was comprehensively validated on an AMD Virtex UltraScale+ FPGA. We evaluate and compare the performance of OpenDRAM with AMD's MIG controller and another open source controller, OPRECOMP, using synthetic and accelerator kernels. Results show that OpenDRAM surpasses both commercial and open source counterparts, offering performance improvements of up to 157% over AMD's MIG and 267% over OPRECOMP, primarily owing to its reordering and scheduling mechanisms. To demonstrate its research use case, we prototype five distinct command schedulers, exploring tradeoffs between scheduling aggressiveness and maximum frequency, and show how FPGA-aware design can enhance timing closure. Finally, we release OpenDRAM as the first high-performance, extensible, open source MC for researchers to utilize, extend, and build upon.
Keywords:
DRAM
Memory Controller
High-performance Memory
FPGA
Open-source

Journal

ACM Transactions on Reconfigurable Technology and Systems cover
ACM Transactions on Reconfigurable Technology and Systems
IF:
2.8
Papers:
597
Citations:
810

Organization

M
mcmaster university
Scholars:
5.8K
Papers: 2.3K
Citations: 0
U
university of waterloo
Scholars:
2.4K
Papers: 1.3K
Citations: 1