[Paper Review] A Comparison of High-Level Design Tools for SoC-FPGA on Disparity Map Calculation Example
This paper evaluates Vivado HLS and Altera SDK for OpenCL as high-level design tools for SoC-FPGA acceleration of disparity map computation. It demonstrates both tools enable rapid hardware accelerator development with significant time savings, though Vivado HLS offers finer control at the cost of greater hardware expertise, while OpenCL is more accessible but uses more FPGA resources for comparable performance.
Modern SoC-FPGA that consists of FPGA with embedded ARM cores is being popularized as an embedded vision system platform. However, the design approach of SoC-FPGA applications still follows traditional hardware-software separate workflow, which becomes the barrier of rapid product design and iteration on SoC-FPGA. High-Level Synthesis (HLS) and OpenCL-based system-level design approaches provide programmers the possibility to design SoC-FGPA at system-level with an unified development environment for both hardware and software. To evaluate the feasibility of high-level design approach especially for embedded vision applications, Vivado HLS and Altera SDK for OpenCL, representative and most popular commercial tools in market, are selected as evaluation design tools, disparity map calculation as targeting application. In this paper, hardware accelerators of disparity map calculation are designed with both tools and implemented on Zedboard and SoCKit development board, respectively. Comparisons between design tools are made in aspects of supporting directives, accelerator design process, and generated hardware performance. The results show that both tools can generate efficient hardware for disparity map calculation application with much less developing time. Moreover, we can also state that, more directives (e.g., interface type, array reshape, resource type specification) are supported, but more hardware knowledge is required, in Vivado HLS. In contrast, Altera SDK for OpenCL is relatively easier for software programmers who is new to hardware, but with the price of more resources usage on FPGA for similar hardware accelerator generation.
Motivation & Objective
- To evaluate the feasibility of high-level synthesis and OpenCL-based design for embedded vision applications on SoC-FPGA.
- To compare Vivado HLS and Altera SDK for OpenCL in terms of development efficiency, hardware performance, and resource utilization.
- To assess the trade-offs between hardware control and programmer accessibility in high-level design tools.
- To provide practical insights for selecting design tools in SoC-FPGA development workflows.
Proposed method
- Implemented disparity map calculation accelerators using Vivado HLS on a Zedboard.
- Implemented the same application using Altera SDK for OpenCL on a SoCKit development board.
- Evaluated both tools based on supported directives, development process complexity, and generated hardware performance.
- Measured performance and resource usage (LUTs, BRAMs, DSPs) for both accelerators.
- Used standard disparity map computation algorithms as the target application to ensure consistent comparison.
- Conducted comparisons across development time, resource consumption, and performance metrics.
Experimental results
Research questions
- RQ1How do Vivado HLS and Altera SDK for OpenCL compare in terms of development time and ease of use for SoC-FPGA design?
- RQ2What is the performance difference between accelerators generated by Vivado HLS and OpenCL for disparity map computation?
- RQ3How do the two tools differ in their support for hardware optimization directives such as interface types and array reshaping?
- RQ4What is the resource utilization overhead of OpenCL compared to HLS for similar performance?
- RQ5To what extent does prior hardware knowledge affect the effectiveness of each tool?
Key findings
- Both Vivado HLS and Altera SDK for OpenCL significantly reduce development time compared to traditional hardware-software co-design workflows.
- Vivado HLS supports more low-level directives (e.g., interface type, array reshape, resource type) but requires deeper hardware knowledge.
- Altera SDK for OpenCL is more accessible to software developers new to hardware, but consumes more FPGA resources for equivalent performance.
- The generated accelerators from both tools achieve efficient performance for disparity map calculation, validating the feasibility of high-level design for embedded vision.
- Vivado HLS offers better resource efficiency due to more precise control over hardware generation.
- OpenCL-based design abstracts hardware complexity at the cost of higher resource usage, indicating a trade-off between productivity and efficiency.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.