A Framework for Mapping Convolutional Neural Network onto Memristor Crossbars
October 29, 2024·,,
·
0 min read
Jiale Li
Yulin Fu
Chiu-Wing Sham
Dr Sean Longyu Ma
Abstract
The processing-in-memory architecture based on memristors has been widely studied for hardware implementation in neural networks, serving as a solution to address the von Neumann bottleneck. Unfortunately, conventional memristor-based circuit design flows make it challenging for researchers to keep up with the rapid pace of innovations in neural networks. To tackle this issue, we propose an open-source framework that takes PyTorch-described model and user-provided data, automatically generating hardware implementations for memristor-based convolutional neural networks (CNNs) using high-level synthesis (HLS). This framework produces SPICE netlist files for CNN layers with our carefully designed memristor layout algorithm, and experimental results demonstrate our proposed framework’s excellent performance and flexibility. It significantly accelerates researchers in constructing memristor-based CNN circuits and reduces the risk of errors when manually constructing SPICE circuit netlists.
Type
Publication
2024 IEEE 13th Global Conference on Consumer Electronics (GCCE)

Authors
Dr Sean Longyu Ma
(he/him)
Lecturer in Computer Science
Sean Longyu Ma is a Lecturer in the School of Computer Science at the
University of Auckland. His research focuses on FPGA-based computing,
RISC-V customisation, high-level synthesis, and heterogeneous computing.