Forum Discussion
22 Replies
- Altera_Forum
Honored Contributor
Please post the full compile log and also the version of Quartus (quartus_map --version) and AOC (aoc --version) you are using alongside with your board model and BSP version.
Such error is generally caused by discrepancy between version of Quartus and AOC or between version of AOC and BSP. - Altera_Forum
Honored Contributor
--- Quote Start --- Please post the full compile log and also the version of Quartus (quartus_map --version) and AOC (aoc --version) you are using alongside with your board model and BSP version. Such error is generally caused by discrepancy between version of Quartus and AOC or between version of AOC and BSP. --- Quote End --- Thank you for reply! "quartus_map --version" cannot printf out quartus version. Most of time, complie result is right, so I think it's not the mismatch of Quartus and AOC version.Is it right? Because complie file has 14259 rows, so I cannot post it. At the end of file,it only says: "Error (23031): Evaluation of Tcl script import_compile.tcl unsuccessful Error: Quartus Prime Compiler Database Interface was unsuccessful. 1 error, 0 warnings Error: Peak virtual memory: 3734 megabytes Error: Processing ended: Tue Apr 18 07:42:37 2017 Error: Elapsed time: 05:29:19 Error: Total CPU time (on all processors): 12:40:38" I don't find any error message in other place of the file. - Altera_Forum
Honored Contributor
Attach the log as a file, you don't have to copy/paste it into the thread (use the "Advanced" reply mode). The actual error is somewhere else and you have to provide all of the file so that we can find it.
Also what message do you get when you run "quartus_map --version"? Maybe quartus_map is not in your PATH and that is why it doesn't work? You should either add it to your PATH or use the full path to the binary. Don't forget to provide the AOC version and your board BSP version. - Altera_Forum
Honored Contributor
--- Quote Start --- Attach the log as a file, you don't have to copy/paste it into the thread (use the "Advanced" reply mode). The actual error is somewhere else and you have to provide all of the file so that we can find it. Also what message do you get when you run "quartus_map --version"? Maybe quartus_map is not in your PATH and that is why it doesn't work? You should either add it to your PATH or use the full path to the binary. Don't forget to provide the AOC version and your board BSP version. --- Quote End --- Hi, I encounter the same problem today. quartus_map --version Version 13.0.0 Build 156 04/24/2013 SJ Full Version aoc --version Version 16.0.2 Build 222 I have multiple Quartus versions installed on my Windows 7 64-bit OS. Does anyone knows how should I change the quartus_map version on Windows 7? BTW, the current environment works for me for a long time. But when i trying to compile a new design today, I received this error. Thank you in advance! - Altera_Forum
Honored Contributor
This is really strange if you can actually compile using such vastly different versions of Quartus and AOC. Do you have multiple versions of Quartus installed on your machine? If that is the case, you can change the default version by modifying the PATH variable from the Environmental Variables. If not, make sure to install the latest versions from Altera's website and then correct your environmental variables. Make sure to fully read this document:
https://www.altera.com/en_us/pdfs/literature/hb/opencl-sdk/aocl_getting_started.pdf - Altera_Forum
Honored Contributor
--- Quote Start --- This is really strange if you can actually compile using such vastly different versions of Quartus and AOC. Do you have multiple versions of Quartus installed on your machine? If that is the case, you can change the default version by modifying the PATH variable from the Environmental Variables. If not, make sure to install the latest versions from Altera's website and then correct your environmental variables. Make sure to fully read this document: https://www.altera.com/en_us/pdfs/literature/hb/opencl-sdk/aocl_getting_started.pdf --- Quote End --- I have installed the latest version of AOC from Altera and set all the related user environment variables to point to that version. I attached my compilation log. - Altera_Forum
Honored Contributor
The log doesn't say much in your case, it seems Quartus is failing when it is trying to import the base design from the BSP. Is your BSP up-to-date? What board and BSP version are you using?
- Altera_Forum
Honored Contributor
--- Quote Start --- Attach the log as a file, you don't have to copy/paste it into the thread (use the "Advanced" reply mode). The actual error is somewhere else and you have to provide all of the file so that we can find it. Also what message do you get when you run "quartus_map --version"? Maybe quartus_map is not in your PATH and that is why it doesn't work? You should either add it to your PATH or use the full path to the binary. Don't forget to provide the AOC version and your board BSP version. --- Quote End --- When I run "quartus_map --version", it shows "bash: quartus_map: command not found...".How to add it to my PATH? Thank you! - Altera_Forum
Honored Contributor
--- Quote Start --- When I run "quartus_map --version", it shows "bash: quartus_map: command not found...".How to add it to my PATH? Thank you! --- Quote End --- Add this to your bashrc (Replace *install_folder* with correct path):PATH=$PATH:*install_folder*/quartus/bin - Altera_Forum
Honored Contributor
Thank you for the quick reply. The board I'm using is Gidel Proc10A X115 which has an Arria 10 FPGA on. The BSP is the most update to date one which supports the Quartus Prime version 16.0.2, which matches the Quartus version I'm using.