A lossless and fully parallel spintronic compute-in-memory macro for artificial intelligence chips

  • Humiao Li
  • , Zheng Chai
  • , Weirong Dong
  • , Junjie He
  • , Ruijie Peng
  • , Shiheng Li
  • , Zhen Kong
  • , Xihui Yuan
  • , Xianwang Wang
  • , Zhengke Yang
  • , Haoran Lyu
  • , Haofeng Yu
  • , Xue Zhou
  • , Jiamin Li
  • , Feichi Zhou
  • , Yida Li
  • , Zongben Xu
  • , Tai Min
  • , Longyang Lin

Research output: Contribution to journalArticlepeer-review

3 Scopus citations

Abstract

Non-volatile compute-in-memory macros can reduce data transfer between processing and memory units, providing fast and energy-efficient artificial intelligence computations. However, the non-volatile compute-in-memory architecture typically relies on analogue computing, which is limited in terms of accuracy, scalability and robustness. Here we report a 64-kb non-volatile digital compute-in-memory macro based on 40-nm spin-transfer torque magnetic random-access memory technology. Our macro features in situ multiplication and digitization at the bitcell level, precision-reconfigurable digital addition and accumulation at the macro level and a toggle-rate-aware training scheme at the algorithm level. The macro supports lossless matrix–vector multiplications with flexible input and weight precisions (4, 8, 12 and 16 bits), and can achieve a software-equivalent inference accuracy for a residual network at 8-bit precision and physics-informed neural networks at 16-bit precision. Our non-volatile compute-in-memory macro has computation latencies of 7.4–29.6 ns and energy efficiencies of 7.02–112.3 tera-operations per second per watt for fully parallel matrix–vector multiplications across precision configurations ranging from 4 to 16 bits.

Original languageEnglish
Pages (from-to)1046-1058
Number of pages13
JournalNature Electronics
Volume8
Issue number11
DOIs
StatePublished - Nov 2025

Fingerprint

Dive into the research topics of 'A lossless and fully parallel spintronic compute-in-memory macro for artificial intelligence chips'. Together they form a unique fingerprint.

Cite this