Linearity Analysis for Charge Domain In-memory Computing

Heng Zhang, Yuan Du, Li DuASICON 2023

Abstract

Compute-in-memory (CIM) architectures are promising solutions for addressing the memory wall problem that arises in memory-intensive computations, such as neural network inference. Analog CIM circuits leverage current-accumulating or charge-sharing mechanisms to enable multiply-and-add (MAC) computations. While they can achieve high throughput and energy efficiency, the analog nonidealities can degrade the accuracy of MAC results. To ensure precise MAC calculations, it is crucial to analyze the sources of nonidealities and identify their impacts, along with corresponding solutions. In this paper, we present a linearity analysis for charge domain static-random access memory (SRAM) based in-memory computing circuits by designing a 256×256 macro. We analyze nonidealities from three areas: charge injection effect, ADC reference voltage mismatch, and temperature variations. We identify the impacts of these nonidealities and specify corresponding solutions. Specifically, we find that the charge injection effect resulting from the on-and-off process of controlling switches does not introduce nonlinearity in the MAC computing process. The comprehensive analysis can assist in designing CIM macros with more accurate MAC computations, thereby supporting more robust neural network inference.
BibTeX
@inproceedings{zhang2023linearity,
  author = {Heng Zhang and Yuan Du and Li Du},
  title = {{Linearity Analysis for Charge Domain In-memory Computing}},
  booktitle = {ASICON},
  year = {2023},
  url = {https://openreview.net/forum?id=7lxx1tEeBC},
}

Loading related content...

Figure