Forum Discussion

uniqueMR's avatar
uniqueMR
Icon for New Contributor rankNew Contributor
2 years ago

'make fpga_sim' Errors in Getting Started with oneAPI

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

6 Replies

  • 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.

    • uniqueMR's avatar
      uniqueMR
      Icon for New Contributor rankNew Contributor

      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

  • 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:

    • uniqueMR's avatar
      uniqueMR
      Icon for New Contributor rankNew Contributor

      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