NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

High-Throughput In-Memory Computing for Binary Deep Neural Networks with Monolithically Integrated RRAM and 90nm CMOS

Shihui Yin, Xiaoyu Sun, Shimeng Yu, Jae-sun SeoarXiv 2019 · DOI

Abstract

Deep learning hardware designs have been bottlenecked by conventional memories such as SRAM due to density, leakage, and parallel computing challenges. Resistive devices can address the density and volatility issues but have been limited by peripheral circuit integration. In this work, we demonstrate a scalable RRAM-based in-memory computing design, termed XNOR-RRAM, which is fabricated in a 90nm CMOS technology with monolithic integration of RRAM devices between metal 1 and 2. We integrated a 128x64 RRAM array with CMOS peripheral circuits including row/column decoders and flash analog-to-digital converters (ADCs), which collectively become a core component for scalable RRAM-based in-memory computing towards large deep neural networks (DNNs). To maximize the parallelism of in-memory computing, we assert all 128 wordlines of the RRAM array simultaneously, perform analog computing along the bitlines, and digitize the bitline voltages using ADCs. Prototype chip measurements show that the proposed design achieves high binary DNN accuracy of 98.5% for MNIST and 83.5% for CIFAR-10 datasets, respectively, with energy efficiency of 24 TOPS/W and 158 GOPS throughput. This represents 5.6X, 3.2X, 14.1X improvements in throughput, energy-delay product (EDP), and energy-delay-squared product (ED2P), respectively, compared to the state-of-the-art literature.

Introduction

The advancement of Deep Neural Networks (DNNs) is increasingly constrained by the "memory wall," where the energy and latency costs of moving data between discrete memory and processing units dwarf the costs of computation itself. To mitigate this, researchers have turned to Binary Neural Networks (BNNs), which reduce weights and activations to +1 or -1, simplifying complex multiplications into XNOR operations.

Hardware implementations of BNNs often utilize In-Memory Computing (IMC) to perform calculations directly within the memory array. While SRAM-based IMC has been explored, it suffers from high leakage current and low density. Resistive RAM (RRAM) offers a non-volatile, high-density alternative. However, RRAM integration with CMOS peripheral circuits remains a significant challenge. This paper presents "XNOR-RRAM," a monolithically integrated chip that combines 90nm CMOS with RRAM to achieve high-throughput, energy-efficient IMC.

Architecture and Design

Monolithic Integration and Bitcell Design

The prototype chip was fabricated using Winbond’s commercial embedded RRAM technology. The RRAM devices are monolithically integrated between the Metal 1 and Metal 2 layers of a 90nm CMOS process.

To natively support the bipolar nature of BNNs (+1 and -1), the architecture utilizes a differential 1T1R (one-transistor-one-resistor) bitcell. By employing two cells per weight and feeding differential inputs, the array performs XNOR operations in the analog domain. While this doubles the cell count per weight, it eliminates the need for complex peripheral subtraction circuits or sequential Multiply-Accumulate (MAC) operations, leading to a more compact and efficient overall footprint.

Massive Parallelism

Unlike traditional memory architectures that read one row at a time, XNOR-RRAM asserts all 128 wordlines simultaneously. The bitline functions as an analog accumulator; the parallel RRAM cells form a resistive divider that modulates the bitline voltage based on the sum of matching XNOR pairs. This approach maximizes throughput and leverages the inherent efficiency of analog summation.

Confined-Range Quantization

The analog bitline voltages are digitized using 3-bit flash ADCs. A key innovation in this design is "confined-range" quantization. Because the statistical distribution of BNN outputs typically follows a bell curve centered around zero, the authors clustered the ADC reference voltages tightly around this center point. This targeted quantization proved more effective than linear quantization; simulations showed that a 3-bit confined-range ADC achieved higher accuracy (86.7%) than a 4-bit linear ADC (85.8%).

Experimental Results

Accuracy and Performance

The hardware was validated using physical chip measurements and software emulation on standard benchmarks:

  • MNIST: Achieved 98.5% accuracy using a Multi-Layer Perceptron (MLP).
  • CIFAR-10: Achieved 83.5% accuracy using a 6-layer Convolutional Neural Network (CNN).

The prototype demonstrated a throughput of 158 GOPS and an energy efficiency of 24 TOPS/W. To maintain this performance against RRAM variability, the researchers implemented a write-verify scheme to constrain the Low Resistance State (LRS) and calibrated ADC offsets to mitigate local transistor mismatches.

Comparative Analysis

When compared to state-of-the-art embedded RRAM implementations (including those on more advanced 55nm nodes), the XNOR-RRAM chip achieved:

  • 5.6X higher throughput
  • 3.2X improvement in Energy-Delay Product (EDP)
  • 14.1X improvement in Energy-Delay-Squared Product (ED2P)

Conclusion and Future Work

The XNOR-RRAM architecture demonstrates that monolithic RRAM-CMOS integration is a viable path for high-performance edge computing. While the current design achieves significant gains, the authors identify the flash ADC area (occupying 20% of the core) as a primary target for optimization. Future iterations may explore Successive Approximation Register (SAR) ADCs to reduce area overhead or integrated offset cancellation circuits to automate the calibration process. These refinements will further enable intelligent, energy-constrained functionalities in edge devices.

Summary updated

BibTeX
@misc{yin2019high,
  author = {Shihui Yin and Xiaoyu Sun and Shimeng Yu and Jae-sun Seo},
  title = {{High-Throughput In-Memory Computing for Binary Deep Neural Networks with Monolithically Integrated RRAM and 90nm CMOS}},
  year = {2019},
  eprint = {1909.07514},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1909.07514},
}
Figure