oneAPI FPGA workshop from Wednsday 24 April
Last wednsday I attended Intel OneAPI FPGA Workshop.
I was able to complete most of the lab exercises ok. Up to assigning pins, then time ran out and the vm was closed.
When I tried this lab on my on pc, I ran into an error early on in.
Lab Requirements:
Intel® oneAPI compiler v24.0
Intel® Quartus® Prime Pro Edition software v23.2
Questa* - Intel® FPGA Starter Edition
Intel® Arria® 10 SX SOC Development Kit
Visual Studio v2022 17.4.4
Visual Studio Code
Exercise
SYCL HLS Development Flow
I don't have the Arria 10 SOC development kit and have only visual studio 2019, which was accepted. I also didn't have Questa.
After setting the oneAPI environment (64bit) the following command is run
$ cmake -DFPGA_DEVICE=Arria10 .. -G “NMake Makefiles”
this works fine, then
$ nmake fpga_emu
this works fine, then
$ vector_add.fpga_emu.exe
this works fine, then
$ nmake report
this works fine, then
nmake fpga_sim
then I get an error described below.
Can anyone help?
I tried the 32bit version of the environment with no luck.
Error list:
D:\Documents\FPGA\altera\oneAPIWShop\SHD23_2\Learn\SYCL_HLS\Lab\GettingStarted\fpga_compile\Ex1\build>nmake
fpga_sim
Microsoft (R) Program Maintenance Utility Version 14.29.30148.0 Copyright (C) Microsoft Corporation. All rights reserved.
[ 50%] Linking CXX executable ..\vector_add.fpga_sim.exe
Intel(R) oneAPI DPC++/C++ Compiler for applications running on Intel(R) 64, Version 2024.1.0 Build 20240308 Copyright (C) 1985-2024 Intel Corporation. All rights reserved.
warning: -reuse-exe file
'D:/Documents/FPGA/altera/oneAPIWShop/SHD23_2/Learn/SYCL_HLS/Lab/GettingStarted/fpga_compile/Ex1/build/vector_add.fpga_sim'
not found; ignored
aoc: Compiling for Simulator.
Error: Simulation system generation FAILED.
Refer to
../vector_add.fpga_sim.prj/c:/Users/peter/AppData/Local/Temp/vector_add-335614-dccdba/logs/vector_add_fpga_sim.log
for details.
Error: failed to remove
c:/Users/peter/AppData/Local/Temp/vector_add-335614-dccdba due to Can't remove directory
c:/Users/peter/AppData/Local/Temp/vector_add-335614-dccdba: Permission denied
llvm-foreach:
icx-cl: error: fpga compiler command failed with exit code 1 (use -v to see invocation) NMAKE : fatal error U1077:
'I:\Software\Intel\oneAPI\compiler\latest\bin\icx-cl.exe' : return code '0x1'
Stop.
NMAKE : fatal error U1077: '"G:\Software\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\nmake.exe"'
: return code '0x2'
Stop.
NMAKE : fatal error U1077: '"G:\Software\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\nmake.exe"'
: return code '0x2'
Stop.
NMAKE : fatal error U1077: '"G:\Software\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\nmake.exe"'
: return code '0x2'
Stop.
D:\Documents\FPGA\altera\oneAPIWShop\SHD23_2\Learn\SYCL_HLS\Lab\GettingStarted\fpga_compile\Ex1\build>
That file could be removed without elevated permissions and the log dir was not there.