Abstract
Memristive computing-in-memory and near-threshold computing are two unconventional computing paradigms that can potentially enhance the energy efficiency and real-time performance of edge devices. However, their scalability faces challenges, primarily due to process variation. Here, we report a 1-Mb, 16-macro near-threshold memristive computing-in-memory engine. The two-transistor-one-resistor cells provide strong cell current modulation capability with more than 120-times amplified resistance ratio. To mitigate variation issues, we compensate for transistor mismatches by leveraging the intrinsic variations in memristors. Additionally, we propose a charge stacking technique between multiple analog-to-digital converters to perform analog weight-and-combine operations with small energy and area overhead. Moreover, we introduce an inter-macro hybrid control scheme to reduce the task-level inference power. The fabricated chip can perform highly parallel analog computing over 256 input channels with a 2.4% relative standard deviation. It achieves a throughput up to 10.49 tera-operations per second and an energy efficiency up to 88.51 tera-operations per second per watt.
Introduction
Deploying artificial intelligence on edge devices—such as wearables, sensors, and drones—requires a delicate balance between high computational performance and extreme energy efficiency. Memristive Computing-in-Memory (mCIM) has emerged as a promising architecture to address this by performing calculations directly within memory, bypassing the energy-intensive data movement of traditional von Neumann architectures.
However, mCIM faces a significant "variation wall." Increasing input parallelism ($N_{IN}$) to boost throughput typically leads to an explosion of analog errors caused by device variations and leakage currents. Furthermore, operating at near-threshold voltages to maximize energy efficiency exacerbates these hardware unpredictabilities. This paper presents a 1-Mb mCIM engine that overcomes these challenges through innovative cell design and variation-compensation techniques.
2T1R Cell and Macro Architecture
The engine is composed of 16 mCIM macros. A core innovation is the 2T1R (two-transistor-one-resistor) cell design. Unlike standard 1T1R cells, the 2T1R configuration utilizes a second "core" transistor (T2). By using the memristor as a voltage divider to shift the threshold of T2, the design achieves a signal ratio between "0" and "1" states that is amplified by over 120 times.
Operating the core transistor in the near-threshold region makes the cell current exponentially sensitive to the memristor's state, allowing for clear state differentiation even at extremely low operating voltages.
Variation-Aware Programming and Control
To address the inherent mismatches in analog hardware, the researchers introduced a $V_{TH}$-Mismatch Canceling ($V_{TH}$-MC) scheme. Rather than attempting to eliminate memristor variation, the system leverages it. A two-step programming method uses the intrinsic cycle-to-cycle variation of the memristor to "tune out" the static threshold voltage ($V_{TH}$) mismatches of the transistors.
This approach transforms hardware variation from a defect into a tunable feature, achieving a relative standard deviation of only 2.4% across 256 parallel input channels—a significant improvement over the typical 16-channel limit. Additionally, an Inter-Macro Hybrid Control (IM-HC) scheme was introduced to dynamically switch between "High Precision" (HP) and "High Efficiency" (HE) modes based on the sensitivity of specific neural network layers.
Experimental Results
The fabricated chip, produced using a 180 nm logic process, was evaluated on CIFAR-10 using ResNet-8 and ResNet-20 models. Key performance metrics include:
- Peak Energy Efficiency: 88.51 TOPS/W.
- Peak Throughput: 10.49 TOPS.
- Parallelism: Stable analog computing over 256 input channels.
- Accuracy: The hybrid control scheme reduced power by up to 30% with a minimal accuracy drop (1.36%–1.7%) compared to software baselines.
Discussion and Conclusion
This work demonstrates that near-threshold mCIM can achieve record-breaking efficiency while maintaining high precision through intelligent variation compensation. While the current implementation uses a 180 nm process, the underlying principles of 2T1R cells and $V_{TH}$-MC provide a roadmap for scaling analog AI hardware to more advanced process nodes. Future research will likely focus on autonomous temperature compensation and adapting the architecture for more complex models like Transformers or Large Language Models (LLMs).
Summary updated