A μ-NMC-Δ-IMC Heterogeneous STT-MRAM Compute-in-Memory Macro Using Δ-Clamping Bit Reduction for Noise-Tolerant Bayesian Neural Networks
- 23 October 2025
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Journal of Solid-State Circuits
- Vol. 61 (1) , 225-236
Abstract
Nonvolatile compute-in-memory (nvCIM) macros integrate memory and computation to enable high-density multiply-and-accumulate (MAC) acceleration for inference tasks on low-power edge artificial intelligence (AI) devices. Bayesian neural networks (BNNs)—which represent weights with mean ( $\mu $ ) and variance-derived deviation ( $\Delta $ )—have emerged as a promising inference model to enhance robustness against noisy real-world inputs. However, deploying BNNs on nvCIM platforms poses several design challenges: 1) ensuring reliable in situ $\Delta $ -weight generation using stochastic memory devices under write-monitor sense margin (WM-SM) degradation; 2) balancing inference accuracy against energy efficiency in dual-weight MAC operations; 3) preventing in-memory-compute (IMC) MAC sense margin (SM) degradation in large memory arrays; and 4) avoiding excessive MAC energy consumption due to bit-level $\Delta $ -weight redundancy. This work addresses these challenges using a heterogeneous nvCIM macro featuring four key schemes: 1) self-compare write-termination (SCWT); 2) a heterogeneous nvCIM structure using near-memory compute (NMC) for $\mu $ -compute and IMC for $\Delta $ -compute ( $\mu {N}$ - $\Delta {I}$ ); 3) 2-D clamping-voltage scaling with sense margin compensation (2D-CVS-SMC); and 4) $\Delta $ -clamping bit reduction (DCBR). A 4.125-Mb macro fabricated using foundry-provided 22-nm spin-transfer-torque magnetic random access memory (STT-MRAM) supports 8-bit MAC operations with 18-ns MAC computing latency, 120.8-TOPS/W energy efficiency, and noise-tolerant BNN inference—demonstrating its effectiveness for next-generation edge AI applications.
Keywords
Funding Information
- Taiwan Semiconductor Manufacturing Company (TSMC)-Joint Developed Project and in part by the National Science and Technology Council (NSTC) of Taiwan
This publication has 33 references indexed in Scilit:
- 7.8 A 22nm Delta-Sigma Computing-In-Memory (Δ∑CIM) SRAM Macro with Near-Zero-Mean Outputs and LSB-First ADCs Achieving 21.38TOPS/W for 8b-MAC Edge AI Processing2023
- A 40nm 64kb 26.56TOPS/W 2.37Mb/mm2RRAM Binary/Compute-in-Memory Macro with 4.23x Improvement in Density and >75% Use of Sensing Dynamic Range2022
- A 40-nm, 2M-Cell, 8b-Precision, Hybrid SLC-MLC PCM Computing-in-Memory Macro with 20.5 - 65.0TOPS/W for Tiny-Al Edge Devices2022
- 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
- A 22nm 4Mb STT-MRAM Data-Encrypted Near-Memory Computation Macro with a 192GB/s Read-and-Decryption Bandwidth and 25.1-55.1TOPS/W 8b MAC for AI Operations2022
- A crossbar array of magnetoresistive memory devices for in-memory computingNature, 2022
- 13.3 A 22nm 32Mb Embedded STT-MRAM with 10ns Read Speed, 1M Cycle Write Endurance, 10 Years Retention at 150°C and High Immunity to Magnetic Field Interference2020
- MobileNetV2: Inverted Residuals and Linear Bottlenecks2018
- A 1Mb 28nm STT-MRAM with 2.8ns read access time at 1.2V VDD using single-cap offset-cancelled sense amplifier and in-situ self-write-termination2018
- Deep Residual Learning for Image Recognition2016