Publication | Closed Access
Automatic code generation of convolutional neural networks in FPGA implementation
52
Citations
23
References
2016
Year
Unknown Venue
Convolutional Neural NetworkInherent ParallelismEngineeringHardware AlgorithmComputer ArchitectureParallel ComputingAutomatic Code GenerationCode GenerationComputer EngineeringComputer ScienceDeep LearningNeural Architecture SearchFpga DesignCode RepresentationComputer VisionHardware AccelerationProgram AnalysisConvolutional Neural NetworksDomain-specific AcceleratorParallel ProgrammingExecution Time
Convolutional neural networks (CNNs) have gained great success in various computer vision applications. However, state-of-the-art CNN models are computation-intensive and hence are mainly processed on high performance processors like server CPUs and GPUs. Owing to the advantages of high performance, energy efficiency and reconfigurability, Field-Programmable Gate Arrays (FPGAs) have been widely explored as CNN accelerators. In this paper, we propose parallel structures to exploit the inherent parallelism and efficient computation units to perform operations in convolutional and fully-connected layers. Further, an automatic generator is proposed to generate Verilog HDL source code automatically according to high-level hardware description language. Execution time, DSP consumption and performance are analytically modeled based on some critical design variables. We demonstrate the automatic methodology by implementing two representative CNNs (LeNet and AlexNet) and evaluate the execution time models by comparing estimated and measured values. Our results show that the proposed automatic methodology yields hardware design with good performance and saves much developing round time.
| Year | Citations | |
|---|---|---|
Page 1
Page 1