Intel® High Level Design
Support for Intel® High Level Synthesis Compiler, DSP Builder, OneAPI for Intel® FPGAs, Intel® FPGA SDK for OpenCL™
710 Discussions

'make fpga_sim' Errors in Getting Started with oneAPI

uniqueMR
New Contributor I
785 Views

Hi,

 

I'm getting started with oneAPI following oneAPI samples for FPGAs, and run into errors when 'make fpga_sim':

uniqueMR_0-1727754193554.png

 

The referred lines of the makefile are:

uniqueMR_1-1727754301549.png

uniqueMR_2-1727754336851.png

uniqueMR_3-1727754381277.png

 

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

0 Kudos
6 Replies
whitepau
Employee
733 Views

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:

https://www.intel.com/content/www/us/en/software-kit/826843/intel-quartus-prime-pro-edition-design-software-version-24-2-for-linux.html

 

Look under 'Individual Files' and select the Agilex™ 7 Device support files:

whitepau_0-1727800184350.png

 

0 Kudos
uniqueMR
New Contributor I
710 Views

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?

uniqueMR_0-1727822830378.png

 

I also checked my Quartus device files and found that both Agilex 7 device support and  Agilex common files had been installed.

uniqueMR_1-1727823763971.png

 

Do you have any other clues on resolving this issue? Thanks a lot.

 

Best regards,

Runlong

 

0 Kudos
whitepau
Employee
676 Views

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.

0 Kudos
uniqueMR
New Contributor I
618 Views

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:

uniqueMR_2-1727992544468.png

 

Below is how I configure the license file in ~/.bashrc:

uniqueMR_0-1727992270035.png

and also the content of my license file to make sure I get the proper one:

uniqueMR_1-1727992498678.png

I attach my current sim report to this thread. Are there any clues on further resolving this issue? Thanks a lot.

 

Best regards,

Runlong

0 Kudos
whitepau
Employee
590 Views

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.

0 Kudos
uniqueMR
New Contributor I
557 Views

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

0 Kudos
Reply