With the increased attention to memristive-based in-memory analog computing (IMAC) architectures as an alternative for energy-hungry computer systems for machine learning applications, a tool that enables exploring their device- and circuit-level design space can significantly boost the research and development in this area. Thus, in this paper, we develop IMAC-Sim, a circuit-level simulator for the design space exploration of IMAC architectures. IMAC-Sim is a Python-based simulation framework, which creates the SPICE netlist of the IMAC circuit based on various device- and circuit-level hyperparameters selected by the user, and automatically evaluates the accuracy, power consumption, and latency of the developed circuit using a user-specified dataset. Moreover, IMAC-Sim simulates the interconnect parasitic resistance and capacitance in the IMAC architectures and is also equipped with horizontal and vertical partitioning techniques to surmount these reliability challenges. IMAC-Sim is a flexible tool that supports a broad range of device- and circuit-level hyperparameters. In this paper, we perform controlled experiments to exhibit some of the important capabilities of the IMAC-Sim, while the entirety of its features is available for researchers via an open-source tool.
翻译:随着利用忆阻器进行内存中模拟计算(IMAC)架构作为机器学习应用的低功耗计算机系统的替代方法受到越来越多的关注,一个能够探索其器件和电路设计空间的工具可以极大地促进这一领域的研究和发展。因此,在本文中,我们开发了一种名为IMAC-Sim的电路级模拟器,用于探索IMAC体系结构的设计空间。IMAC-Sim是一个基于Python的模拟框架,它根据用户选择的各种器件和电路级超参数创建IMAC电路的SPICE电路网络,并使用用户指定的数据集自动评估所开发电路的准确性、功耗和延迟。此外,IMAC-Sim 模拟IMAC架构中的互连电阻和电容,并配备水平和垂直分区技术以克服这些可靠性挑战。IMAC-Sim是一个灵活的工具,支持广泛的器件和电路级超参数。在本文中,我们进行了受控实验,以展示IMAC-Sim 的一些重要功能,而其所有功能都可供研究人员通过开源工具使用。