Hardware-Software Co-Design for Analog Compute-in-Memory Accelerators Using 1-bit Sense Amplifiers
Abstract
In this paper, we present a hardware-software co-design methodology for analog compute-in-memory (CIM) accelerators with 1-bit sense amplifiers (SAs). While CIM macro using 1-bit SAs achieves high energy efficiency by eliminating multi-bit analog-to-digital converters (ADCs), it faces two key challenges: limitations in BNN layer size and the impact of SA random noise. Through neural network splitting, which divides layers into sub-blocks matching the size of the CIM macro rows, the BNN model fits the CIM macro while preserving accuracy. Additionally, the SA output probability model is obtained through measurements and replaces the binarization function of BNN, incorporating SA random noise into the BNN training process. Using these two approaches, we develop a framework to retrain BNNs tailored to the CIM accelerator and achieve 97.81% MNIST inference accuracy on the prototype 128x128 CIM accelerator fabricated in 28 nm technology.