Developer Guide

Intel oneAPI DPC++/C++ Compiler Handbook for Intel FPGAs

ID 785441
Date 5/08/2024
Public
Document Table of Contents

Generate and View the FPGA Optimization Report

The FPGA optimization report can provide high-level details about your application performance even before you run an actual FPGA hardware image.

NOTE:

The report is generated by the Intel® oneAPI DPC++/C++ Compiler in the form of HTML pages that you can view in a web browser. For more information about using the FPGA optimization report for achieving best performance, refer to the Review the FPGA Optimization Report.

The FPGA code samples also include instructions for building and viewing the FPGA Optimization Report.

  1. Ensure that you are in the build directory in the VS Code terminal session.
  2. If you are compiling a C++SYCL FPGA code example (such as FPGA Template), you can run the following command to generate the report:
    • Linux::
      make report
    • Windows:
      nmake report
  3. Move to the compile_flow_report.prj/reports directory and locate the optimization report you generated.
    cd compile_flow_report.prj/reports
  4. Use the following command to launch the report in the Mozilla Firefox* browser:
    firefox report.html