Optimizing hardware-software co-design based on non-ideality in memristor crossbars for in-memory computing

被引:0
|
作者
Pinfeng JIANG [1 ]
Danzhe SONG [1 ]
Menghua HUANG [1 ]
Fan YANG [1 ]
Letian WANG [1 ]
Pan LIU [1 ]
Xiangshui MIAO [1 ,2 ]
Xingsheng WANG [1 ,2 ]
机构
[1] School of Integrated Circuits,Huazhong University of Science and Technology
[2] Hubei Yangtze Memory
关键词
D O I
暂无
中图分类号
学科分类号
摘要
The memristor crossbar, with its exceptionally high storage density and parallelism, enables efficient vector matrix multiplication(VMM), significantly improving data throughput and computational efficiency. However, its analog computing is vulnerable to issues like IR-drop, device-to-device(D2D) variation, and stuck-at-fault(SAF), leading to a substantial decrease in the inference accuracy of neural networks deployed on crossbars. This work presents a hardware-software co-design approach tailored to deal with memristor crossbar non-ideality. We introduce an end-to-end functional array simulator(FAST) for precise and ultra fast end-to-end training, mapping, and evaluation of neural networks on the memristor crossbar. Utilizing the sparsity of the memristor crossbar coefficient matrix, it achieves simulation with low storage and computational resource requirements,dynamically selecting the optimal solution to complete the process. It can also precisely simulate the impact of non-ideal effects such as IR-drop, retention, variation, SAF, and AD/DA precision. Using FAST, we assess memristor crossbar matrix operations under non-ideal conditions, identifying the max throughput and the most energy-efficient crossbar configurations. Additionally,we propose a comparator-based activation function modulation(CAFM) scheme and its corresponding hardware architecture with programmable activation function circuits to address the IR-drop issue, enabling low power and area overheads, resulting in the recovery of neural network accuracy by 54% or more. This is validated within FAST, demonstrating the success of our hardware-software optimization co-design.
引用
收藏
页码:354 / 369
页数:16
相关论文
共 50 条
  • [1] Optimizing hardware-software co-design based on non-ideality in memristor crossbars for in-memory computing
    Pinfeng Jiang
    Danzhe Song
    Menghua Huang
    Fan Yang
    Letian Wang
    Pan Liu
    Xiangshui Miao
    Xingsheng Wang
    Science China Information Sciences, 2025, 68 (2)
  • [2] Hardware-Software Co-Design of an In-Memory Transformer Network Accelerator
    Laguna, Ann Franchesca
    Sharifi, Mohammed Mehdi
    Kazemi, Arman
    Yin, Xunzhao
    Niemier, Michael
    Hu, X. Sharon
    FRONTIERS IN ELECTRONICS, 2022, 3
  • [3] A hardware/software co-design methodology for in-memory processors
    Yantir, Hasan Erdem
    Eltawil, Ahmed M.
    Salama, Khaled N.
    JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 2022, 161 : 63 - 71
  • [4] APPROXIMATE COMPUTING: Unlocking Efficiency with Hardware-Software Co-Design
    Ceze, Luis
    Sampson, Adrian
    GETMOBILE-MOBILE COMPUTING & COMMUNICATIONS REVIEW, 2016, 20 (03) : 12 - 16
  • [5] Hardware-Software Co-Design Based Obfuscation of Hardware Accelerators
    Chakraborty, Abhishek
    Srivastava, Ankur
    2019 IEEE COMPUTER SOCIETY ANNUAL SYMPOSIUM ON VLSI (ISVLSI 2019), 2019, : 549 - 554
  • [6] System level memory optimization for hardware-software co-design
    Danckaert, K
    Catthoor, F
    DeMan, H
    PROCEEDINGS OF THE FIFTH INTERNATIONAL WORKSHOP ON HARDWARE/SOFTWARE CODESIGN (CODES/CASHE '97), 1997, : 55 - 59
  • [7] Component-based hardware-software co-design
    Arató, N
    Mann, ZA
    Orbán, A
    ORGANIC AND PERVASIVE COMPUTING - ARCS 2004, 2004, 2981 : 169 - 183
  • [8] Hardware/Software Co-Design With ADC-Less In-Memory Computing Hardware for Spiking Neural Networks
    Apolinario, Marco Paul E.
    Kosta, Adarsh Kumar
    Saxena, Utkarsh
    Roy, Kaushik
    IEEE TRANSACTIONS ON EMERGING TOPICS IN COMPUTING, 2024, 12 (01) : 35 - 47
  • [9] AES Hardware-Software Co-Design in WSN
    Otero, Carlos Tadeo Ortega
    Tse, Jonathan
    Manohar, Rajit
    21ST IEEE INTERNATIONAL SYMPOSIUM ON ASYNCHRONOUS CIRCUITS AND SYSTEMS (ASYNC 2015), 2015, : 85 - 92
  • [10] Hardware-Software Co-Design for Decimal Multiplication
    Mian, Riaz-ul-haque
    Shintani, Michihiro
    Inoue, Michiko
    COMPUTERS, 2021, 10 (02) : 1 - 19