Skip to main content
QUICK REVIEW

[Paper Review] Comprehensive Evaluation of OpenCL-based Convolutional Neural Network Accelerators in Xilinx and Altera FPGAs

Ricardo Tapiador, Antonio Ríos-Navarro|arXiv (Cornell University)|Sep 29, 2016
Advanced Neural Network ApplicationsComputer Science12 references9 citations
TL;DR

This paper evaluates OpenCL-based convolutional neural network (CNN) accelerators on Xilinx and Altera FPGAs for a 5-layer CNN, comparing hardware resource usage, synthesis time, execution performance, and design portability. Xilinx offers faster synthesis and better resource utilization; Altera provides superior execution times, multi-platform support, and a mature toolchain, highlighting trade-offs between efficiency and performance in FPGA-based deep learning acceleration.

ABSTRACT

Deep learning has significantly advanced the state of the art in artificial intelligence, gaining wide popularity from both industry and academia. Special interest is around Convolutional Neural Networks (CNN), which take inspiration from the hierarchical structure of the visual cortex, to form deep layers of convolutional operations, along with fully connected classifiers. Hardware implementations of these deep CNN architectures are challenged with memory bottlenecks that require many convolution and fully-connected layers demanding large amount of communication for parallel computation. Multi-core CPU based solutions have demonstrated their inadequacy for this problem due to the memory wall and low parallelism. Many-core GPU architectures show superior performance but they consume high power and also have memory constraints due to inconsistencies between cache and main memory. FPGA design solutions are also actively being explored, which allow implementing the memory hierarchy using embedded BlockRAM. This boosts the parallel use of shared memory elements between multiple processing units, avoiding data replicability and inconsistencies. This makes FPGAs potentially powerful solutions for real-time classification of CNNs. Both Altera and Xilinx have adopted OpenCL co-design framework from GPU for FPGA designs as a pseudo-automatic development solution. In this paper, a comprehensive evaluation and comparison of Altera and Xilinx OpenCL frameworks for a 5-layer deep CNN is presented. Hardware resources, temporal performance and the OpenCL architecture for CNNs are discussed. Xilinx demonstrates faster synthesis, better FPGA resource utilization and more compact boards. Altera provides multi-platforms tools, mature design community and better execution times.

Motivation & Objective

  • To evaluate and compare OpenCL-based CNN accelerators on Xilinx and Altera FPGAs for real-time inference.
  • To analyze hardware resource utilization, synthesis time, and execution performance across both platforms.
  • To assess the maturity and practicality of OpenCL toolchains for FPGA-based deep learning workloads.
  • To identify platform-specific advantages in design productivity, performance, and resource efficiency.

Proposed method

  • Implementation of a 5-layer convolutional neural network using OpenCL on both Xilinx and Altera FPGAs.
  • Use of embedded BlockRAM in FPGAs to optimize memory hierarchy and reduce data movement.
  • Evaluation of synthesis time, resource utilization (LUTs, BRAMs, DSPs), and execution latency across multiple FPGA boards.
  • Comparison of OpenCL frameworks provided by Xilinx and Altera, focusing on code portability and toolchain maturity.
  • Benchmarking of inference performance under identical network architecture and input data.
  • Analysis of memory access patterns and parallelism efficiency in multi-processor FPGA configurations.

Experimental results

Research questions

  • RQ1How do Xilinx and Altera OpenCL frameworks compare in terms of synthesis time and resource utilization for CNN acceleration?
  • RQ2What are the performance differences in inference execution time between Xilinx and Altera FPGAs for a 5-layer CNN?
  • RQ3How do the two platforms differ in terms of design productivity, toolchain maturity, and available development resources?
  • RQ4To what extent do FPGA-optimized memory hierarchies improve CNN inference efficiency on both platforms?
  • RQ5Which platform offers better trade-offs between performance, power efficiency, and hardware resource usage for real-time CNN inference?

Key findings

  • Xilinx demonstrated faster synthesis times and better FPGA resource utilization, resulting in more compact and efficient hardware implementations.
  • Altera achieved lower execution times for the same CNN workload, indicating superior performance in inference throughput.
  • Altera provided a more mature toolchain and broader multi-platform support, enhancing development flexibility and scalability.
  • Both platforms leveraged embedded BlockRAM effectively to minimize memory bottlenecks and improve parallelism in CNN processing.
  • Xilinx boards were more compact, suggesting better area efficiency for the same computational load.
  • The OpenCL-based approach enabled portable code across both platforms, though performance varied significantly due to underlying architecture and toolchain differences.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.