DESIGN AND IMPLEMENTATION OF TWO-DIMENSIONAL CONVOLUTION ON PYNQ-Z2 FPGA DEVELOPMENT BOARD | Thắng | TNU Journal of Science and Technology

DESIGN AND IMPLEMENTATION OF TWO-DIMENSIONAL CONVOLUTION ON PYNQ-Z2 FPGA DEVELOPMENT BOARD

About this article

Received: 22/11/20                Revised: 25/12/20                Published: 11/01/21

Authors

Huynh Viet Thang Email to author, Danang University of Science and Technology – The University of Danang

Abstract


Two-dimensional (2D) convolution is a very important operation commonly used in the fields of image processing and convolution neural networks. In this paper, we designed and implemented a hardware module that performs two-dimensional convolution for use in high-speed image processing. The convolution module was developed using hardware description language VHDL, synthesized on Xilinx's PYNQ-Z2 development board, and packed into a hardware library for use in Python development environments for related applications. Evaluation results showed that using the designed two-dimensional convolution module could improve the performance of the convolution operation by a factor of up to 9 times compared with the performance of the software implementation. The design has shown its potential in implementing FPGA-based hardware designs for image processing, pattern recognition, and deep learning applications.

Keywords


FPGA; Hardware implementation image processing; 2D convolution; PYNQ; Python

References


[1] C. Ben, Implementation of 2D Convolution on FPGA, GPU and CPU, Imperial College Report, 2006.

[2] P. Stefania, M. Lanuzza, P. Corsonello, and G. Cocorullo, "A high-performance fully reconfigurable FPGA-based 2D convolution processor," Microprocessors and Microsystems, vol. 29, no. 8-9, pp. 381-391, 2005

[3] Y. Chen, T. Krishna, J. S. Emer, and V. Sze, "Eyeriss: An Energy-Efficient Reconfigurable Accelerator for Deep Convolutional Neural Networks," IEEE Journal of Solid-State Circuits, vol. 52, no. 1, pp. 127-138, Jan. 2017.

[4] TUL Technology Unlimited, “TUL PYNQ™-Z2 board”. [Online]. Available: http://www.tul.com.tw/ProductsPYNQ-Z2.html. [Accessed Nov. 21, 2020].

[5] PYNQ Overlay Tutorials. [Online]. Available: https://pynq.readthedocs.io/en/v2.5.1/pynq_overlays.html. [Accessed Nov. 21, 2020].

[6] Bishop, and W. David, "VHDL-2008 support library", 2011. [Online]. Available: https://github.com/FPHDL/fphdl. [Accessed Nov. 21, 2020].

[7] S. Gupta, A. Agrawal, K. Gopalakrishnan, and P. Narayanan, “Deep learning with limited numerical precision,” in Proceedings of the 32nd International Conference on International Conference on Machine Learning, 2015, vol. 37 (ICML’15). JMLR.org, pp. 1737-1746.


Refbacks

  • There are currently no refbacks.
TNU Journal of Science and Technology
Rooms 408, 409 - Administration Building - Thai Nguyen University
Tan Thinh Ward - Thai Nguyen City
Phone: (+84) 208 3840 288 - E-mail: jst@tnu.edu.vn
Based on Open Journal Systems
©2018 All Rights Reserved