EFSim: An Efficient and Flexible Simulation Framework for Digital In-Memory Computing

Digital in-memory computing (IMC) has drawn significant attention in neural network acceleration due to its superior energy efficiency and resistance to non-ideal variations. Simultaneously, the rapid evolution of neural networks and the large design space of IMC systems necessitate an early-stage verification simulator. In this paper, we introduce EFSim, an efficient and flexible simulation framework for digital in-memory computing systems. On the hardware level, a parameterized Chisel-based hardware library is constructed to enable the rapid and flexible generation of customized Verilog IMC circuits. On the software level, the IMC inference engine facilitates the efficient deployment of neural network models. Furthermore, EFSim performs hybrid compilation of designed IMC systems using Verilator, thereby enabling rapid performance evaluation and software-hardware co-optimization. Validation through two designed IMC macros demonstrates that the relative modeling error rate of EFSim is below 10%. Experimental results indicate that EFSim enables efficient evaluation of digital IMC systems and supports extensive design space exploration. The EFSim is open-sourced at https://github.com/cq-work/EFSim.

Authors

Institutions

Publication Details

Published
2025-05-09
DOI
https://doi.org/10.1109/iseda65950.2025.11100648
Primary Topic
Advanced Memory and Neural Computing
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

EFSim: An Efficient and Flexible Simulation Framework for Digital In-Memory Computing

Haisheng Fu, Zhenjiao Chen, Shang Wang, Feng Liang et al.
Advanced Memory and Neural Computing
article

EFSim: An Efficient and Flexible Simulation Framework for Digital In-Memory Computing

Haisheng Fu, Zhenjiao Chen, Shang Wang, Feng Liang, Hang Chen, Qi Cao
article en

Abstract

Digital in-memory computing (IMC) has drawn significant attention in neural network acceleration due to its superior energy efficiency and resistance to non-ideal variations. Simultaneously, the rapid evolution of neural networks and the large design space of IMC systems necessitate an early-stage verification simulator. In this paper, we introduce EFSim, an efficient and flexible simulation framework for digital in-memory computing systems. On the hardware level, a parameterized Chisel-based hardware library is constructed to enable the rapid and flexible generation of customized Verilog IMC circuits. On the software level, the IMC inference engine facilitates the efficient deployment of neural network models. Furthermore, EFSim performs hybrid compilation of designed IMC systems using Verilator, thereby enabling rapid performance evaluation and software-hardware co-optimization. Validation through two designed IMC macros demonstrates that the relative modeling error rate of EFSim is below 10%. Experimental results indicate that EFSim enables efficient evaluation of digital IMC systems and supports extensive design space exploration. The EFSim is open-sourced at https://github.com/cq-work/EFSim.

Northwestern Polytechnical University (CN), Xi'an Jiaotong University (CN)
National Natural Science Foundation of China, Aeronautical Science Foundation of China
Openalex Percentile: Top 81%
Advanced Memory and Neural Computing
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.