arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.15322cs.ET
收藏

SimAMC:一种快速准确的基于阻变存储器的模拟矩阵计算非理想性仿真器

SimAMC: A Fast and Accurate Simulator for Resistive Memory-Based Analog Matrix Computing with Non-Idealities

Institute for Artificial Intelligence, and School of Integrated Circuits, Peking University(北京大学人工智能研究院与集成电路学院)

Junbin Long, Mu Zhou, Saitao Zhang, Yongxiang Li, Zhong Sun

AI总结:

针对闭环模拟矩阵计算电路对非理想性敏感的问题,提出SimAMC仿真器,通过交替迭代算法建模矩阵求逆和特征向量求解,在关键非理想性下实现与SPICE高度一致且加速数个数量级。

摘要:

模拟矩阵计算(AMC)电路利用阻变存储器阵列以大规模并行方式执行矩阵运算,为加速数据密集型任务提供了高效途径。然而,硬件非理想性严重影响计算精度,使得早期仿真对于可靠的性能估计和设计优化至关重要。虽然用于矩阵向量乘法的开环电路已得到充分研究,但求解矩阵方程的闭环AMC电路计算复杂度更高,且对非理想性更为敏感,这使其仿真复杂化。在这项工作中,我们提出了SimAMC,一种用于基于阻变存储器的闭环AMC电路的仿真器。SimAMC能够在关键非理想性(包括器件编程误差、数据转换误差、热噪声、运算放大器输入失调和互连电阻)存在的情况下,对矩阵求逆和特征向量求解进行建模。对于实值矩阵计算电路,设计了一种交替迭代算法。通过与SPICE对比验证了SimAMC的有效性,显示出极好的一致性,同时实现了数个数量级的加速。

英文摘要:

Analog matrix computing (AMC) circuits leverage resistive memory arrays to perform matrix operations in a massively parallel manner, providing an efficient approach for accelerating data-intensive tasks. However, hardware non-idealities severely impact computational accuracy, making early-stage simulation vital for reliable performance estimation and design optimization. While open-loop circuits for matrix-vector multiplication are well-studied, closed-loop AMC circuits, which solve matrix equations, are computationally more complex and substantially more sensitive to non-idealities, complicating their simulation. In this work, we present SimAMC, a simulator for resistive memory-based closed-loop AMC circuits. SimAMC is capable of modeling matrix inversion and eigenvector solving in the presence of key non-idealities, including device programming error, data conversion error, thermal noise, operational amplifier input offset, and interconnect resistance. For real-valued matrix computing circuits, an alternating iterative algorithm is designed. SimAMC's effectiveness is validated through comparison with SPICE, showing excellent agreement while also demonstrating a speedup of several orders of magnitude.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑