Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Valued Contributor III
1,371 Views

IP block eror

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.
0 Kudos
7 Replies
Highlighted
Valued Contributor III
32 Views

Please attach the "quartus_sh_compile.log" file and also the output of "aoc --version" and "quartus_map --version".

0 Kudos
Highlighted
Valued Contributor III
32 Views

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.
0 Kudos
Highlighted
Valued Contributor III
32 Views

Update AOC to v17.1.2 and try again. If compilation still failed, post your "quartus_sh_compile" file again.

0 Kudos
Highlighted
Valued Contributor III
32 Views

How do I update AOC? Is there a specific file I need to download?

0 Kudos
Highlighted
Valued Contributor III
32 Views

 

--- 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".
0 Kudos
Highlighted
Valued Contributor III
32 Views

It worked! On an off note, do you know if there are any OpenCV libraries that are supported for the Arria 10 board?

0 Kudos
Highlighted
Valued Contributor III
32 Views

 

--- 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
0 Kudos