Developer Guide
Intel oneAPI DPC++/C++ Compiler Handbook for Intel FPGAs
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-CA9A3121-B3CD-4222-8B31-CD70C476520D
Visible to Intel only — GUID: GUID-CA9A3121-B3CD-4222-8B31-CD70C476520D
Extracting the FPGA Hardware Configuration (.aocx) File from a Multiarchitecture Binary File
If you want to distribute your FPGA hardware configuration as part of a BSP to enable board initialization with the board variant supported by your kernel, extract the configuration from your multiarchitecture binary file (SYCL* executable).
To extract the configuration file, use the clang-offload-extract command:
- Determine the path to the clang-offload-extract command with the following command:
icpx --print-prog-name=clang-offload-extract
This command returns the full path to the clang-offload-extract command.
- Extract the FPGA hardware configuration file from the multiarchitecture binary with the following command:
<full_command_path>/clang-offload-extract --output <output_file_name>.aocx <sycl_executable>
Where:
- <full_command_path> is the full path to the clang-offload-extract command that you determined earlier.
- <output_file_name> is the file name that you want to give to the FPGA hardware configuration file.
- <sycl_executable> is the file name of the multiarchitecture binary file that contains the FPGA hardware configuration file that you want to extract.