- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm getting started with oneAPI following oneAPI samples for FPGAs, and run into errors when 'make fpga_sim':
The referred lines of the makefile are:
These are the steps I followed:
* git clone https://github.com/oneapi-src/oneAPI-samples.git
* cd ./oneAPI-samples/DirectProgramming/C++SYCL_FPGA/Tutorials/GettingStarted/fpga_compile
* mkdir build
* cd build
* cmake .. -DFPGA_DEVICE=Agilex7 -DPART=2
* make fpga_emu (succeed)
* make report (succeed)
* make fpga_sim (failed)
Does anyone have a clue? Thanks
Best,
Runlong
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Runlong.
What does it say in the vector_add_fpga_sim.log file?
Did you make sure to install the correct Quartus device files? This error often occurs if you didn't download the FPGA device files; there will be a note about missing Agilex™ 7 Device files in the log file.
You can download the Agilex™ 7 device support from the FPGA Software Download Center:
Look under 'Individual Files' and select the Agilex™ 7 Device support files:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi whitepau,
I checked the vector_add_fpga_sim.log file, and it reports some license issue. I've already configured the LM_LICENSE_FILE variable but without the other two (SALT_LICENSE_SERVER and MGLS_LICENSE_FILE). With my LM_LICENSE_FILE, I have full access to Quartus Prime Pro 24.1 with Agilex 7 device support. What should I do with the other two to support oneAPI workflow?
I also checked my Quartus device files and found that both Agilex 7 device support and Agilex common files had been installed.
Do you have any other clues on resolving this issue? Thanks a lot.
Best regards,
Runlong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for sharing the log file.
That appears to be a questa license issue. We have documentation here on how to get a 0-cost Starter Edition license: https://www.intel.com/content/www/us/en/docs/programmable/683472/24-2/and-software-license.html
We are working on getting the installer to handle the questa license for you in the future.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi whitepau,
I've generated the license for questa starter edition and configured the environmental variable in my ~/.bashrc, but it still reports the same issue:
Below is how I configure the license file in ~/.bashrc:
and also the content of my license file to make sure I get the proper one:
I attach my current sim report to this thread. Are there any clues on further resolving this issue? Thanks a lot.
Best regards,
Runlong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you able to launch questa from the command line? (i.e. using the vsim command)
Can you check your $PATH environment variable? I see that you installed both Questa FPGA edition and Questa FPGA Starter edition; if Questa FPGA edition (which is a paid tool) appears first in your $PATH, then the compiler will try to use it to generate your co-simulation EXE and then fail on license checkout, because the free license is only for Questa FPGA Starter Edition.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi whitepau,
The issue has been resolved. I uninstalled the FPGA edition and only reserved the starter edition, and then it worked. Thanks a lot!
Best,
Runlong

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page