Unlock instant, AI-driven research and patent intelligence for your innovation.

Convolutional neural network accelerator based on FPGA and optimization method thereof

A convolutional neural network and accelerator technology, which is applied in the FPGA-based convolutional neural network accelerator and its optimization field, can solve the problems of unconsidered quantity mismatch and the forward inference speed of the convolutional neural network model, and achieves improved computing. Speed, increase processing speed, increase the effect of running speed

Pending Publication Date: 2022-03-15
西安电子科技大学重庆集成电路创新研究院
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The purpose of the present invention is to, aiming at the deficiencies in the above-mentioned prior art, provide a kind of FPGA-based convolutional neural network accelerator and its optimization method, to solve the problem of mismatching the number of various parallel computing units due to the lack of consideration in the prior art The problem that leads to the decline of the forward reasoning speed of the convolutional neural network model

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Convolutional neural network accelerator based on FPGA and optimization method thereof
  • Convolutional neural network accelerator based on FPGA and optimization method thereof
  • Convolutional neural network accelerator based on FPGA and optimization method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] In order to make the implementation process of the present invention clearer, the following will be described in detail in conjunction with the accompanying drawings.

[0034] The invention provides an FPGA-based convolutional neural network accelerator and an optimization method thereof. figure 1 A schematic diagram of an FPGA-based convolutional neural network accelerator is provided for the present invention.

[0035] The hardware of the convolutional neural network accelerator based on FPGA provided by the present invention includes FPGA and dynamic random access memory, wherein dynamic random access memory can be a kind of in dynamic random access memory such as DDR3, DDR4, SDRAM, specifically, The dynamic random access memory in the present invention adopts DDR3. like figure 1 As shown, the FPGA-based convolutional neural network accelerator provided by the present invention includes a program instruction storage unit, a program instruction decoding unit, a data...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to the technical field of neural network calculation, and particularly provides an FPGA-based convolutional neural network accelerator and an optimization method thereof. The invention discloses a convolutional neural network accelerator based on an FPGA (Field Programmable Gate Array). The accelerator comprises a program instruction storage unit, a program instruction decoding unit, a data control unit, a data buffer unit, a parameter buffer unit, an off-chip storage unit, a parallel processing unit, an image buffer unit, an image splicing unit and an off-chip storage unit. The invention discloses an optimization method of a convolutional neural network accelerator based on an FPGA (Field Programmable Gate Array). The optimization method comprises the following steps: step 1, acquiring clock cycles used by forward reasoning of forward reasoning instructions CNn of different operation types; 2, constructing the number of clock cycles used by forward reasoning once of the convolutional neural network; 3, constructing a hardware resource constraint expression; 4, constructing and solving a constrained optimization function F '; and 5, setting the number of 3 * 3 convolution units, 1 * 1 convolution units and pooling units according to the optimal solution of the optimization function F '.

Description

technical field [0001] The present application relates to the technical field of neural network computing, in particular, to an FPGA-based convolutional neural network accelerator and its optimization method. Background technique [0002] With the continuous development of neural networks, the network complexity is getting higher and higher, and the requirements for hardware computing capabilities are also increasing. As a general-purpose processor, the CPU can no longer meet the needs of practical applications. For this reason, research on the deployment of neural networks on hardware platforms has become a hotspot. Existing deep learning frameworks, such as PyTorch, Caffe, TensorFlow, etc., are all based on GPU for network acceleration. Although the GPU has powerful computing power, it has disadvantages such as high price, high power consumption, high noise, and large volume. FPGA has the advantages of low power consumption, customization, reconfigurability, small size, ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06N3/063G06N3/04G06N3/08G06N5/04
CPCG06N3/063G06N3/08G06N5/046G06N3/045
Inventor 李甫李旭超付博勋
Owner 西安电子科技大学重庆集成电路创新研究院