Introduction
The "Memory Wall" remains a primary bottleneck in modern AI acceleration, as the energy cost of data movement between memory and processing units often dwarfs the cost of computation itself. Processing-in-Memory (PIM) aims to mitigate this by performing calculations within the memory array. However, conventional SRAM PIM designs typically suffer from significant area overhead or require the destruction of existing cache data to load neural network weights.
This paper introduces NVM-in-Cache, an architecture that transforms standard 6-transistor (6T) SRAM into a non-volatile memory (NVM) analog PIM engine. By integrating Resistive RAM (RRAM) into the existing cache footprint, the researchers enable high-efficiency AI acceleration that coexists with standard CPU cache operations.
Proposed 6T-2R Architecture
The fundamental building block of this design is the 6T-2R bit-cell. Two RRAM devices are integrated into the pull-up path of a standard 6T SRAM cell. Since RRAM can be fabricated on top of CMOS layers in the back-end-of-line (BEOL), this integration adds zero area overhead to the bit-cell. This dual-storage capability allows the cell to hold volatile "cache" data in the SRAM latch while simultaneously storing non-volatile "AI weights" in the RRAM states.
The architecture scales from the individual bit-cell up to the Last-Level Cache (LLC) hierarchy, allowing the processor to repurpose its existing memory structures for massive parallel analog computation.
Compute-on-Powerline Mechanism
To solve the problem of data destruction during PIM operations, the authors propose a Compute-on-Powerline scheme. While traditional PIM uses bitlines—which can flip the stored SRAM state—this design performs Multiply-Accumulate (MAC) operations by measuring current on the power supply lines (VDD).
By exploiting the symmetrical nature of the 6T cell, computation is split into two cycles. In each cycle, one half of the cell performs the analog math while the other half maintains the latch's stability. This non-destructive approach allows the CPU to keep its data in the cache while the RRAM weights handle background AI inference tasks.
Experimental Evaluation
The design was simulated using GlobalFoundries 22nm FDSOI technology. The results demonstrate significant improvements in efficiency and density:
- Energy Efficiency: The engine achieved 452.34 TOPS/W (normalized to 1-bit precision), making it highly competitive with dedicated AI accelerators.
- Throughput and Density: The system reached a throughput of 0.4 TOPS with a compute density of 4.37 TOPS/mm².
- Inference Accuracy: When tested with a ResNet-18 model on the CIFAR-10 dataset, the architecture achieved 91.76% accuracy, closely approaching the software baseline of 92.88%.
The researchers noted that the Successive Approximation Register (SAR) ADC is the primary bottleneck, occupying roughly 70% of the macro area and contributing most to the latency.
Conclusion
NVM-in-Cache provides a compelling solution to the Memory Wall by turning standard processor components into high-performance AI engines. By maintaining the 6T footprint and ensuring non-destructive data storage, this "architectural hack" allows for seamless integration of AI acceleration into general-purpose processors without the typical trade-offs in area or cache utility.
Summary updated