Visible to Intel only — GUID: GUID-B5A2B87B-FCEF-42E9-AAA0-2505E9E3D74C
Visible to Intel only — GUID: GUID-B5A2B87B-FCEF-42E9-AAA0-2505E9E3D74C
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.
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.