Programming Guide


Compile a Kernel for Simulation

Before performing simulation, you must ensure that you have installed the Intel® Quartus Prime Pro Edition software on your system. For more information, refer to the Intel® oneAPI Toolkits Installation Guide and Intel® FPGA development flow webpage.
To compile a kernel for simulation, include the
option in your
command as shown in the following:
dpcpp -fintelfpga -Xssimulation fpga_compile.cpp
To enable collecting the waveform during the simulation, include the
option in your
command, where the optional
attribute specifies how many levels of hierarchy are logged. If you do not specify a value for the
attribute, all waveform signals are logged.
When simulating on Windows systems, you need the Microsoft linker and additional compilation time libraries. Verify the following settings:
  • The
    environment variable setting must include the path to the
    file in Microsoft Visual Studio.
  • LIB
    environment variable setting includes the path to the Microsoft compile-time libraries. The compile-time libraries are available with Microsoft Visual Studio.

Product and Performance Information


Performance varies by use, configuration and other factors. Learn more at