Running summarizing tools on a new article
Check the paper below, then start its synthesis.
RTL Design of a CNN-Based FPGA Accelerator for Handwritten Digit Recognition
Vivek Rathi (Savitribai Phule Pune University), Vedant Kulkarni (Savitribai Phule Pune University), Harshal Ingle (Savitribai Phule Pune University), Mrs. P.S. Agnihotri (Savitribai Phule Pune University)
Abstract: Handwritten digit recognition plays a key role in areas like mail sorting, banking, and document processing. Software-based Convolutional Neural Networks (CNNs) achieve high recognition accuracy, but their computing power and energy needs limit their use in embedded systems. This paper presents the design and RTL-level simulation of a CNN-based hardware accelerator for handwritten digit recognition targeting a Xilinx Kintex-7 FPGA. The accelerator implements a modified LeNet-5 CNN architecture entirely in Verilog using fixed-point arithmetic. It consists of convolution layers followed by ReLU activation and max pooling, along with a fully connected output layer. The CNN model is trained offline using Python, and the trained and quantized weights and biases are converted to fixed-point representation and mapped directly into the RTL design. A streaming, line-buffer-based architecture is employed to efficiently generate convolution windows and enable continuous data flow through the network. The design is verified at the RTL level using cycle-accurate simulation with MNIST test images, ensuring functional correctness of all network layers. The proposed accelerator achieves a classification accuracy of 91% on 1,000 MNIST test images while utilizing 12,709 Slice LUTs and 238 DSP slices, with only 796 trainable parameters. These results demonstrate that the RTL-based CNN accelerator provides an effective trade-off between recognition accuracy and hardware resource utilization, making it suitable for embedded FPGA-based inference. Hardware implementation and on-board validation are planned as future work.