The Altera® HLS IP Gen Handbook provides guidance on leveraging the functionalities of data parallel C++ (DPC++) and the SYCL* cross-platform abstraction layer to optimize your design.
A good way to learn about SYCL* programming for Altera® FPGA devices is to work through the HLS Samples available on GitHub: HLS Samples.
For more information about SYCL* and programming in DPC++, refer to the following publications:
- SYCL* 2020 Specification by the Khronos* Group
The SYCL* specification provides detailed descriptions of SYCL* concepts and application programming interfaces (APIs).
- Data Parallel C++: Programming Accelerated Systems Using C++ and SYCL*
This free book teaches you how to accelerate C++ programs using data parallel programming that targets various device types, including FPGA devices.
This guide is organized into the following parts:
- Getting Started with the Altera® HLS IP Gen for Altera® FPGA Development
- A description of FPGA hardware concepts and how the Altera® HLS IP Gen compiler converts your code to an FPGA application:
- Altera® HLS IP Gen development flow:
- Altera® HLS IP Gen FPGA Development provides an overview of the FPGA development flow.
- Defining a Kernel for FPGAs provides coding guidelines for your kernel.
- Emulate Your Design provides information about how you can use the emulator to verify the functional correctness of your kernel.
- Simulate Your Design provides information about how you can use the simulator to verify the functional correctness of your kernel.
- Analyzing Your Design provides information about tools and techniques that you can use to analyze your kernel design without running the kernel on hardware. Use these tools and techniques to determine what parts of your kernel you can optimize or adjust before you compile your kernel for FPGA hardware.
- Integrate Your Design provides information about how to integrate an RTL IP core generated by the Altera® HLS IP Gen compiler into a larger FPGA design.
- Methods and features you can use to customize your kernel interface and optimize your kernel performance:
- Miscellaneous reference materials:
- FPGA Optimization Flags, Attributes, Pragmas, and Extensions describes a list of compiler optimization flags, attributes, pragmas, and extensions that allow you to customize the kernel compilation process.
- Libraries covers using libraries in your kernel and generating libraries from your kernel.
- Quick Reference is a cheat sheet of all FPGA-specific attributes, pragmas, and variables.