Visible to Intel only — GUID: GUID-9BAC34DE-5189-4533-B1E2-F3C88B3C1FE8
Visible to Intel only — GUID: GUID-9BAC34DE-5189-4533-B1E2-F3C88B3C1FE8
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.