- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I am trying to get started with the hls compiler,
when I run the init_hls.bat I get the output below:-
I understand it can't find my Visual Studio, but should the i++ compiler stil work?
I can't seem to get any examples to compile,
regards
Konrad
C:\intelFPGA_lite\19.1\hls>init_hls.bat
Assuming current directory (C:\intelFPGA_lite\19.1\hls\) is root of i++
Will use C:\intelFPGA_lite\19.1\hls\..\quartus to find Quartus
for internal i++ use
INFO: Could not find files for the given pattern(s).
Will be using Modelsim at D:\Altera\intelFPGA_lite\17.1\modelsim_ase\win32aloem\
Will be using Modelsim at C:\intelFPGA_lite\19.1\modelsim_ase\win32aloem\
VisualStudio's link.exe is not on the path. Guessing its location.
Cannot find VisualStudio installation by looking at the environment.
If VisualStudio is installed, use VisualStudio Command Prompt to set all
required environment variables then rerun this script.
C:\intelFPGA_lite\19.1\hls>
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
btw, D:\Altera\ is where an older copy of Quartus is installed,
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community is where Visual Studio is
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Konrad,
Thank you for posting in Intel community forum and hope all is well.
Assuming you are having a windows environment, with visual studio already installed as mention.
Suspecting there might be some environment initialization problem, please do review the steps here.
Also can you please run the init_hls.bat and provide a screenshot of the output so that we can better understand the error.
Best Wishes
BB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I get the following when trying an example, this is my home computer where I have full administor rights, Windows 10
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ooops...administrator rights.
I am trying to learn this at home. At work I have a 4 year old project I did in Altium that needs updating. This is mostly VHDL with some Altera IP FIR filters, but uses the Altium c to hardware compiler to do floating point math. The math is just float multiply/divides for a fast ARC2TAN. This worked great with Altium, but they no longer support FPGA development.
regards
Konrad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Konrad,
Great, good to know that it is working now.
Please do let us know if there is any further clarification/doubts that we can help with.
Best Wishes
BB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
But as you can see from the second screen shot it is not working, the compiler comes up with permission errors.
Something is not set up correctly,
regards
Konrad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Konrad,
Apologies for the confusion here, the screenshot cmd was not running with adminstrator permission.
So are you saying that you are still getting the permission error after you have launch the cmd with admin rights?
Where is the HLS project location?
Can you also try to move the project to a more general directory (e.g. Documents) for compilation?
Hope that clarify.
Best Wishes
BB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The installation had left all folders as read-only and I reset them to full access read/write.
I now have a compile error:-
Regards
Konrad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Konrad,
Suspecting that the hls component are not able to detect the Visual studio installed.
Can you please try to running the init_hls.bat file in admin privileges command prompt and check/share on the output.
If the visual studio are not detected, would advise to reinstall in C drive if possible.
Please do let us know if that helps to clarify.
Best Wishes
BB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I do not know how to set the Visual Studio environment.
Visual studio is on my C:\ drive as a standard install (comunity free version)
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community
Regards
Konrad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have VS 2010 Pro available at work but not at home. I have installed HLS 21.2 PRO.
Does this need a license or is it OK with Quartus Lite?
From what I have read it seems the HLS Pro is OK without Quartus Pro.
Anyway, when I run the tools they are still pointing to the HLS 19.1 compiler. The init_ .bat ran OK.
regards
Konrad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Screen shot of the init_hls.bat
ps. I also have quartus 19.1 installed on my C:\ drive in the standard location...I opened and closed it prior to running to ensure it was the last version run, but the init_hls.bat seems to still pick up on the older version,
Regards
Konrad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OK it is working. What works for me is...
Run the DOS prompt as administrator
Run the init.hls.bat
Compile the file from the SAME DOS prompt...i.e. don't close the DOS prompt.
Re-run the init_hls.bat every time.
Regards
Konrad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Konrad,
Awesome! Thanks for sharing and good to know it is working now, with no further doubts, it will be transitioned to community support for further help on doubts in this thread, where we will no longer monitor this thread.
Thank you for the questions and as always pleasure having you here.
Best Wishes
BB
![](/skins/images/B7BA37F9CE4B52FF7CAE1FB0388839C8/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page