A 40nm RRAM Compute-in-Memory Macro with Parallelism-Preserving ECC for Iso-Accuracy Voltage Scaling
Authors:
- 19 September 2022
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 101-104
Abstract
Compute-in-memory (CIM) employing resistive random access memory (RRAM) has been widely investigated as an attractive candidate to accelerate the heavy multiply-and-accumulate (MAC) workloads in deep neural networks (DNNs) inference. Supply voltage (VDD) scaling for compute engines is a popular technique to allow edge devices to toggle between high-performance and low-power modes. While prior CIM works have examined VDD scaling, they have not explored its effects on hardware errors and inference accuracy. In this work, we design and validate an RRAM-based CIM macro with a novel error correction code (ECC), called MAC-ECC, that can be reconfigured to correct errors arising from scaled VDD while preserving the parallelism of CIM. This enables RRAM-CIM to perform iso-accuracy inference across different operation modes. We design specialized hardware to implement the MAC-ECC decoder and insert it into the existing compute pipeline without throughput overhead. Additionally, we conduct measurements to characterize the effect of VDD scaling on errors in CIM. The macro is taped-out in TSMC N40 RRAM process, and for $1\times 1b$ MAC operations on DenseNet-40 network it achieves 59.1 TOPS/W and 70.9 GOPS/mm 2 at VDD of 0.7V, and 43.0 TOPS/W and 112.5 GOPS/mm 2 at VDD of 1.0V. The design maintains <1% accuracy loss on the CIFAR-10 dataset across the tested VDDs.
Keywords
Funding Information
- NSF (CCF-1903951)
This publication has 7 references indexed in Scilit:
- An 8-Mb DC-Current-Free Binary-to-8b Precision ReRAM Nonvolatile Computing-in-Memory Macro using Time-Space-Readout with 1286.4-21.6TOPS/W for Edge-AI Devices2022
- Analog error correcting codes for defect tolerant matrix multiplication in crossbars2020
- High-Density 3D Monolithically Integrated Multiple 1T1R Multi-Level-Cell for Neural Networks2020
- Embedding error correction into crossbars for reliable matrix vector multiplication using emerging devices2020
- MLPerf Inference Benchmark2020
- Fault-Tolerant Dot-Product EnginesIEEE Transactions on Information Theory, 2018
- Densely Connected Convolutional Networks2017