Install Compiler Components for Altera FPGA Development Flows
To use the Intel® oneAPI DPC++/C++ Compiler for development flows that target Altera FPGA devices, install the FPGA Support Package for the Intel® oneAPI DPC++/C++ Compiler (often referred to as the “FPGA Support Package”). This package adds FPGA-specific support to the Intel® oneAPI DPC++/C++ Compiler to enable FPGA code development.
At a high level, the steps to install the compiler components for FPGA development are as follows:
Install compiler components in one of the following ways:
(optional) Additional Software Requirements for FPGA Development.
Obtain Compiler Components for FPGA Development
Installation Type |
Installation Packages Required |
---|---|
Online installation |
|
Offline installation |
|
Linux Package Manager |
|
Install Compiler Components with GUI
Online Installation
Start the GUI installer according to the instructions in Install with GUI.
In the online installer GUI, customize your installation and select the optional FPGA Support Package for the Intel® oneAPI DCP++/C++ Compiler component as follows:
Click Customize.
Expand Intel® oneAPI DCP++/C++ Compiler.
Under Optional, select FPGA Support Package for the Intel® oneAPI DCP++/C++ Compiler.
Offline Installation
Run the GUI installer for the Intel® oneAPI Base Toolkit according to the instructions in Install with GUI.
Run the GUI installer for the FPGA Support Package for the Intel® oneAPI Base Toolkit according to the instructions in Install with GUI.
Install Compiler Components with Command Line
Online Installation
Include the following option when you run the installation command (refer to Install with Command Line for details):
--components default:intel.oneapi.lin.compiler.fpga
For example, to silently install the Intel oneAPI Base Toolkit and FPGA support package, run the following command:
Root directory installation:
sudo sh ./intel-oneapi-base-toolkit-[version]_offline.sh -a --silent --eula accept --components default:intel.oneapi.lin.compiler.fpga
User directory installation:
sh ./intel-oneapi-base-toolkit-[version]_offline.sh -a --silent --eula accept --components default:intel.oneapi.lin.compiler.fpga
Offline Installation
For an offline installation, run separate commands to install the Intel® oneAPI Base Toolkit and the FPGA Support Package for the oneAPI DCP++/C++ Compiler.
For example, to silently install the Intel oneAPI Base Toolkit and FPGA Support Package, run the following commands:
Root directory installation:
sudo sh ./intel-oneapi-base-toolkit-[version]_offline.sh -a --silent --eula accept sudo sh ./intel-fpga-support-for-compiler-[version]_offline.sh -a --silent --eula accept
User directory installation:
sh ./intel-oneapi-base-toolkit-[version]_offline.sh -a --silent --eula accept sh ./intel-fpga-support-for-compiler-[version]_offline.sh -a --silent --eula accept
Install Compiler Components with Linux Package Managers
To install the required components with Linux package managers (APT/YUM/DNF/Zypper), follow the instructions in APT, YUM/DNF, and Zypper. The FPGA Support Package is not available in Conda, PIP, NuGet, Cloudera, or Spack.
Install the following packages:
intel-oneapi-base-toolkit
intel-oneapi-compiler-fpga
Additional Software Requirements for FPGA Development
Install Quartus® Prime Software.
The Quartus® Prime software is required only when compiling your design for FPGA simulation or generating an FPGA hardware image. Quartus® Prime software is not required when compiling your design for FPGA emulation or to obtain the FPGA Optimization Report.
Install FPGA Board Support Packages
Board support packages are required only when compiling to FPGA hardware as part of the FPGA acceleration flow. BSPs are not required for the SYCL* HLS flow.
Installation Topology Variations
When setting up your system, you can install the required components in a variety of topologies:
Set up a single system
In this method, you can use a single system acting as both the runtime and development system. Install the Intel oneAPI Base Toolkit, FPGA Support Package for the Intel® oneAPI DCP++/C++ Compiler, Intel® Quartus® Prime Software, and FPGA board support package on the same system.
Set up separate development and runtime systems
In this method, you install the custom platform/FPGA device on the runtime system and run only the design. On the development system, install the Intel® Quartus® Prime software to compile and generate the FPGA bitstream. Refer to Intel® Quartus® Prime Software, Install Intel® FPGA Board Packages sections for more information.
Set up a cloud on-premise
A cloud on-premise helps reduce the hardware cost necessary for development. In this workflow, you can set up two development systems, one for the FPGA development and the other for the Intel® Quartus® Prime software compilation. The runtime system can be different. After setting up your development systems, install the physical card on the runtime system. Refer to the Intel® oneAPI DPC++ /C++ Library System Requirements for FPGA requirements.
On the first development system with lower configurations (8 GB RAM), iterate over your designs using the emulation and report flow to verify code correctness. Install the Intel® oneAPI Base Toolkit and FPGA Support Package for the Intel® oneAPI DCP++/C++ Compiler packages on this system. For more information about emulation and report flow, refer to Types of SYCL* FPGA Compilation.
On the second development system with higher configurations (memory requirements dictated by the FPGA acceleration board or FPGA development kit that you use), install the Intel® Quartus® Prime Software. Perform Intel® Quartus® Prime compilation using either the hardware flow or the device link flow. For more information, refer to Types of SYCL* FPGA Compilation in the Intel oneAPI DPC++/C++ Compiler Handbook for Altera FPGAs.