{"title":"MICSim:用于cnn和变压器中混合信号内存计算加速器的模块化预电路模拟器","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":"{\"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}","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
摘要
这项工作介绍了MICSim,一个开源的预电路模拟器,旨在帮助电路设计人员评估混合信号内存计算(CIM)加速器的早期芯片级软件性能和硬件开销。MICSim采用模块化设计,可轻松实现多级协同设计和设计空间探索。从最先进的CIM模拟器NeuroSim模块化,MICSim提供了一个高度可配置的仿真框架,支持多种量化算法,多种电路架构设计和不同的存储设备。这种模块化方法允许MICSim有效地扩展以适应新的设计。MICSim原生地可以评估卷积神经网络(cnn)和Python中的transformer的加速器的软件和硬件性能,利用流行的PyTorch和hugs Face transformer框架。MICSim可以很容易地与优化策略相结合,进行设计空间探索,并可用于评估芯片级变压器CIM加速器,使其高度适应不同的网络。此外,通过本研究提出的基于统计的平均模式,MICSim可以实现神经sim的9倍~ 32倍的加速,并且在各种网络之间没有明显的误差。MICSim是GitHub上的开源工具(https:// github.com/ MICSim-official/MICSim_V1.0.git)。
MICSim: A modular pre-circuit simulator for mixed-signal compute-in-memory accelerators in CNNs and transformers
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.