SACA: System-level Analog CIM Accelerators Simulation Framework: Architecture and Cycle-accurate System-to-device Simulator

Kanishkan Vadivel, Fernando García- Redondo, Ali BanaGozar, Henk Corporaal, Shidhartha Das

Research output: Chapter in Book/Report/Conference proceedingConference contributionAcademicpeer-review

1 Citation (Scopus)

Abstract

Analog Computation-In-Memory (CIM) architectures promise to bring to the edge the required compute and memory demands of TinyML applications while consuming extremely low power. However, the analog CIM paradigm is suitable for accelerating vector-matrix multiplication patterns alone, and the accuracy of the computation itself is stirred by the CIM device and its driving circuit non-idealities. Despite these practical constraints, CIM accelerators are often developed and evaluated in isolation without considering real-world system-level conditions, such as sharing system resources (host CPU, main-memory, and interconnect) for inter-layer pre/post-processing, data alignment, and data movement. These make it challenging to evaluate the energy, performance, area, and accuracy tradeoff for practical, end-to-end applications. To address this, we propose a first SoC level, gem5-based, open-source simulation framework for CIM accelerator design. It supports the modeling of hierarchical CIM accelerators for different device technologies and digital/mixed-signal driving circuit configurations, along with their non-ideal behaviour. The associated full-stack software provides APIs for (re-)configuring the CIM accelerator for offloading computations at the system level. To demonstrate some capabilities of the SACA, we carried out design space exploration on two representative TinyML tasks - Human Activity Recognition and CIFAR10 image classification. The results lead to optimal accelerator profiles and indicate a tradeoff between the energy, area, performance, and accuracy for different configurations.

Original languageEnglish
Title of host publicationDCIS 2022
Subtitle of host publicationProceedings of the 37th Conference on Design of Circuits and Integrated Systems
PublisherInstitute of Electrical and Electronics Engineers
Number of pages6
ISBN (Electronic)978-1-6654-5950-1
DOIs
Publication statusPublished - 2022
Event37th Conference on Design of Circuits and Integrated Systems, DCIS 2022 - Pamplona, Spain
Duration: 16 Nov 202218 Nov 2022

Conference

Conference37th Conference on Design of Circuits and Integrated Systems, DCIS 2022
Country/TerritorySpain
CityPamplona
Period16/11/2218/11/22

Bibliographical note

Funding Information:
Research supported by EU Horizon 2020 Research and Innovation Program through MNEMOSENE project under Grant 780215.

Keywords

  • CIM
  • computation in memory
  • gem5
  • PPA

Fingerprint

Dive into the research topics of 'SACA: System-level Analog CIM Accelerators Simulation Framework: Architecture and Cycle-accurate System-to-device Simulator'. Together they form a unique fingerprint.

Cite this