- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello!
I am trying to compile an OpenCL kernel called SimpleKernel.cl. Emulation and profiling work fine. I am stuck with the final aoc execution command. I have tried setting -board=a10gx and -board=a10gx_hostch (only two options) and always end up with the following error: aoc SimpleKernel.cl -v -board=a10gx_hostch aoc: Environment checks are completed successfully. aoc: If necessary for the compile, your BAK files will be cached here: /var/tmp/aocl/ You are now compiling the full flow!! aoc: Selected target board a10gx_hostch aoc: Running OpenCL parser.... aoc: OpenCL parser completed successfully. aoc: Optimizing and doing static analysis of code... aoc: Linking with IP library ... Checking if memory usage is larger than 100% aoc: First stage compilation completed successfully. Compiling for FPGA. This process may take a long time, please be patient. Error (18185): Your design contains IP components that must be regenerated. To regenerate your IP, use the Upgrade IP Components dialog box, available on the Project menu in the Quartus Prime software Error: Flow failed: ERROR: Current design not found Error: Quartus Prime Synthesis was unsuccessful. 4 errors, 0 warnings Error (23031): Evaluation of Tcl script import_compile.tcl unsuccessful Error: Quartus Prime Compiler Database Interface was unsuccessful. 1 error, 0 warnings Error: Compiler Error, not able to generate hardware I have already tried upgrading the IP blocks in Quartus Prime. Though the message log indicates that this was successful, I try running aoc again and end up with the same error. Then when I go back to Quartus, it states that I need to update the IP blocks again. All of the environmental variables are set exactly as outlined in the SDK manual, and the version (17.1.0 build 240) is consistent. Any suggestions on what to try next would be appreciated.Link Copied
7 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please attach the "quartus_sh_compile.log" file and also the output of "aoc --version" and "quartus_map --version".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
quartus_map --version
Quartus Prime Analysis & Synthesis Version 17.1.2 Build 304 01/31/2018 SJ Pro Edition Copyright (C) 2018 Intel Corporation. All rights reserved aoc --version Intel(R) FPGA SDK for OpenCL(TM), 64-Bit Offline Compiler Version 17.1.0 Build 240 Copyright (C) 2017 Intel Corporation The quartus_sh_compile.log is attached.
quartus_sh_compile.txt
(Virus scan in progress ...)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Update AOC to v17.1.2 and try again. If compilation still failed, post your "quartus_sh_compile" file again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How do I update AOC? Is there a specific file I need to download?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- How do I update AOC? Is there a specific file I need to download? --- Quote End --- Adjust your operating system and check the "Updates" tab: http://dl.altera.com/?edition=pro&platform=linux&download_manager=direct Download and install "intel fpga sdk for opencl pro edition v17.1 update 2".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It worked! On an off note, do you know if there are any OpenCV libraries that are supported for the Arria 10 board?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- On an off note, do you know if there are any OpenCV libraries that are supported for the Arria 10 board? --- Quote End --- I found this [abandoned] repository with some googling: https://github.com/hershg/opencv-fpga

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