Developer Guide

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

ID 785441
Date 6/24/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Debugging and Verifying Your Design

To debug and verify the functional correctness of your design, you have the following options:

  • Emulate your design through the Intel® FPGA Emulation Platform for OpenCL™ software and use a debugger like GDB or the Windows* Visual C++ debugger.

    For details, refer to Emulate and Debug Your Design.

  • Simulate your kernel in simulation software like Questa*-Intel® FPGA Edition. Simulation lets you evaluate how your kernel performs on the FPGA device without having to compile your design to hardware.

    During simulation, you can also capture signal waveforms to further debug your kernel.

    For details, refer to Evaluate Your Kernel Through Simulation.

Depending on whether you are targeting the FPGA emulator, simulator, or hardware, you must use the correct SYCL* device selector in the host code. You can also use the FPGA hardware device selector for simulation. To see how you can use a selector to specify the target device at compile time, refer to Device Selectors for FPGA.