Manuscript Title:

COMPREHENSIVE EXPLORATION AND DESIGN IMPLEMENTATION OF AN FPGA-BASED CONVOLUTIONAL NEURAL NETWORK

Author:

MOHAMED FEKIR, Pr. ABDELHAFIDH MOUALDIA, Dr. MOHAMED DALI

DOI Number:

DOI:10.5281/zenodo.10016126

Published : 2023-10-10

About the author(s)

1. MOHAMED FEKIR - Laboratory of Research in Electrical Engineering and Automation (LREA), University Yahia Feres of Medea, Algeria.
2. Pr. ABDELHAFIDH MOUALDIA - Laboratory of Research in Electrical Engineering and Automation (LREA), University Yahia Feres of Medea, Algeria.
3. Dr. MOHAMED DALI - Laboratory of Research in Electrical Engineering and Automation (LREA), University Yahia Feres of Medea, Algeria.

Full Text : PDF

Abstract

This paper explores the use of a cost-effective Field Programmable Gate Array (FPGA) to deploy a Convolutional Neural Network (CNN) while ensuring optimal performance. CNNs are a type of Artificial Neural Network (ANN) designed for image processing and computer vision tasks. They are inspired by the intricate structure of the biological visual cortex and can identify complex patterns in large datasets. Compared to traditional deep learning models, CNNs are better at pattern recognition and require fewer computational resources for training and deployment. However, implementing CNNs on an FPGA presents challenges that require a thorough evaluation of performance metrics. Our research has two main objectives: first, we focus on training the CNN model to achieve high accuracy, and second, we optimize the hardware design to suit the FPGA platform. We use the LeNet5 CNN model and the Modified National Institute of Standards (MNIST) dataset for experimentation. High-level synthesis (HLS) is used to assess the CNN's performance on a VC707 FPGA board. Our results show an accuracy rate of over 97% and a latency of 299.3μs, demonstrating the effectiveness of our FPGA implementation in achieving robust CNN performance


Keywords

Convolutional neural networks (CNNs), Field Programmable Gate Array (FPGA)), hardware implementation, optimization.