Back to search

Nanyang Technological University

SRAM-based compute-in-memory for edge AI application

Abstract

dc:description.abstract

With the development of artificial intelligence (AI) neural networks and machine learning (ML) algorithms, challenges are heightened for energy efficient and area efficient computing especially when applied in edge AI device, such as smartphones, smart watches, smart cameras on self-driving vehicles and so on. In the Von-Neumann based computing chips, the frequent data communication between the processor and the memory becomes the bottleneck of further improving the performance. Compute-in-memory (CIM) is proposed in recent years and has been considered as a potential solution for the memory wall bottleneck. Most of existing CIM works focus on the CIM realization and binary neural network (BNN) acceleration, while the considerations on the PVT robustness of CIM and the multi-bit CIM architecture are few. In view of the above, there is invariably an apparent urgency to push CIM further development. Our research focuses on the SRAM based CIM for both lightweight neural networks and multi-bit neural networks acceleration. Two CIM macros are proposed with PVT robustness improvement for lightweight neural network acceleration. One is an on-chip auto-calibration scheme for the temperature compensation on the current domain CIM macro. Before the temperature compensation, the current domain CIM has a wider computation variation (270 mV), which causes unstable inference accuracies of MNIST dataset classification when the temperature varies from −40oC to 120oC. After the temperature compensation, the computation variation of the current domain CIM has dropped more than 10 times, which is 25 mV. The inference accuracy of MNIST dataset classification reaches 96.14% regardless of the temperature changes. The other one is a 7T-SRAM based hybrid domain CIM with 5b reconfigurable column referenced SAR ADC for lightweight neural network acceleration. This hybrid domain MAC operation combined the advantages of current domain and charge domain to achieve a PVT robust MAC operation within a compact area. The simulation result shows correct functionality and achieves energy efficiency of 607 TOPS/W. Two more CIM macros are proposed for multi-bit neural networks acceleration as well. One is 4b/4b/8b charge domain CIM for convolutional neural network acceleration. The conventional ways to realize 4b/4b MAC operation is using 2^4 serial pulses for 4b input modulation and 4b binary weight capacitor array with charge sharing switches for 4b weight storage. Multiple clock cycles and complex switch controls of the charge sharing is required in the conventional 4b/4b MAC operations. In our proposal, four 8T SRAM cells with a customized built-in 4b C2C ladder is used for 4b weight storage and 4b DAC is used for 4b input modulation. Only one clock cycle is required to realize 4b/4b MAC operation, which improves the throughput over 10 times compared to the conventional ways. The other one is a 10T1C SRAM based charge domain CIM with 8b/8b/8b precision. Simulation results of the proposed 10T1C CIM macro achieves 288.7-to-793 TOPS/W (3695.4-to-10150.4 TOPS/W/b) energy efficiency at 20MHz when power supply varies from 0.7V to 1.1V. At network level, our modelling confirms that it can achieve an accuracy of 71.46% (TOP-1) and 90.69% (TOP-5) which is nearly same as ideal software solvers when running vision transformer (ViT) network on ImageNet dataset classification problems. Other than the four CIM macros have been proposed with an improved energy efficiency, area efficiency and Process-Voltage-Temperature (PVT) robustness, we also investigated several comparator circuits (two conventional comparators and two advanced comparators) to further assist the ADC designs. A holistic analysis has been made on comparator designs of the input referred noise, the offset voltage, the Q-to-CLK delay and the power consumption. Based on the analysis, a fast optimization is made on the original strong regeneration comparator. Our optimization idea of current suppression has been verified by the simulations. The simulations results correlate with the theoretical analysis.

Degree

thesis:*
College dc:contributor.school
School of Electrical and Electronic Engineering
Grantor dc:publisher
Nanyang Technological University
Year dc:date.issued
2025

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Zang, Qibang
Advisor dc:contributor.supervisor
  • Goh Wang Ling

Subjects

dc:subject × 1

Rights

dc:rights
Statement dc:rights
  • This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0).
Language dc:language.iso
en

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
Nanyang Technological University
Base URL
dr.ntu.edu.sg/oai/request
Last updated
2026-11-29
Source record
OAI-PMH GetRecord
related terms
citation

Zang, Qibang. SRAM-based compute-in-memory for edge AI application. Nanyang Technological University, 2025. https://doi.org/10.32657/10356/202043