{"title":"MICSim: A modular pre-circuit simulator for mixed-signal compute-in-memory accelerators in CNNs and transformers","authors":"Cong Wang, Zeming Chen, Shanshi Huang","doi":"10.1016/j.vlsi.2025.102543","DOIUrl":null,"url":null,"abstract":"<div><div>This work introduces MICSim, an open-source, pre-circuit simulator designed to assist circuit designers to evaluate early-stage chip-level software performance and hardware overhead of mixed-signal compute-in-memory(CIM) accelerators. MICSim features a modular design, allowing easy multi-level co-design and design space exploration. Modularized from the state-of-the-art CIM simulator NeuroSim, MICSim provides a highly configurable simulation framework supporting multiple quantization algorithms, diverse circuit architecture designs, and different memory devices. This modular approach allows MICSim to be effectively extended to accommodate new designs.</div><div>MICSim natively enables evaluating accelerators’ software and hardware performance for convolutional neural networks (CNNs) and Transformers in Python, leveraging the popular PyTorch and Hugging Face Transformers frameworks. MICSim can be easily combined with optimization strategies to perform design space exploration and can be used for evaluating chip-level Transformers CIM accelerators, making it highly adaptable to different networks. Also, MICSim can achieve <span><math><mrow><mn>9</mn><mo>×</mo><mo>∼</mo><mn>32</mn><mo>×</mo></mrow></math></span> speedup of NeuroSim through a statistic-based average mode proposed by this work, without significant error across various networks. MICSim is available as an open-source tool on GitHub (<span><span>https:// github.com/ MICSim-official/MICSim_V1.0.git</span><svg><path></path></svg></span>).</div></div>","PeriodicalId":54973,"journal":{"name":"Integration-The Vlsi Journal","volume":"106 ","pages":"Article 102543"},"PeriodicalIF":2.5000,"publicationDate":"2025-09-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Integration-The Vlsi Journal","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0167926025002007","RegionNum":3,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, HARDWARE & ARCHITECTURE","Score":null,"Total":0}
引用次数: 0
Abstract
This work introduces MICSim, an open-source, pre-circuit simulator designed to assist circuit designers to evaluate early-stage chip-level software performance and hardware overhead of mixed-signal compute-in-memory(CIM) accelerators. MICSim features a modular design, allowing easy multi-level co-design and design space exploration. Modularized from the state-of-the-art CIM simulator NeuroSim, MICSim provides a highly configurable simulation framework supporting multiple quantization algorithms, diverse circuit architecture designs, and different memory devices. This modular approach allows MICSim to be effectively extended to accommodate new designs.
MICSim natively enables evaluating accelerators’ software and hardware performance for convolutional neural networks (CNNs) and Transformers in Python, leveraging the popular PyTorch and Hugging Face Transformers frameworks. MICSim can be easily combined with optimization strategies to perform design space exploration and can be used for evaluating chip-level Transformers CIM accelerators, making it highly adaptable to different networks. Also, MICSim can achieve speedup of NeuroSim through a statistic-based average mode proposed by this work, without significant error across various networks. MICSim is available as an open-source tool on GitHub (https:// github.com/ MICSim-official/MICSim_V1.0.git).
期刊介绍:
Integration''s aim is to cover every aspect of the VLSI area, with an emphasis on cross-fertilization between various fields of science, and the design, verification, test and applications of integrated circuits and systems, as well as closely related topics in process and device technologies. Individual issues will feature peer-reviewed tutorials and articles as well as reviews of recent publications. The intended coverage of the journal can be assessed by examining the following (non-exclusive) list of topics:
Specification methods and languages; Analog/Digital Integrated Circuits and Systems; VLSI architectures; Algorithms, methods and tools for modeling, simulation, synthesis and verification of integrated circuits and systems of any complexity; Embedded systems; High-level synthesis for VLSI systems; Logic synthesis and finite automata; Testing, design-for-test and test generation algorithms; Physical design; Formal verification; Algorithms implemented in VLSI systems; Systems engineering; Heterogeneous systems.