Visible to Intel only — GUID: GUID-B278E56A-272E-4CF5-AD72-742D660E4A0C
Visible to Intel only — GUID: GUID-B278E56A-272E-4CF5-AD72-742D660E4A0C
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 -Xssimulation option in your icpx command as shown in the following:
icpx -fsycl -fintelfpga -Xssimulation fpga_compile.cpp
To enable collecting the waveform during the simulation, include the -Xsghdl[=<depth>] option in your icpx command, where the optional <depth> attribute specifies how many levels of hierarchy are logged. If you do not specify a value for the <depth> attribute, a depth of 1 is used by default. To log all waveforms, specify a depth of 0 (-Xsghdl=0).
When simulating on Windows systems, you need the Microsoft linker and additional compilation time libraries. Verify the following settings:
The PATH environment variable setting must include the path to the LINK.EXE 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.