Altera_Forum
Honored Contributor
8 years agoHello World opencl design example for Arria 10
I have been trying to compile hello_world example for Arria 10 device. For that I have downloaded Quartus Prime Pro and OpenCL SDK on my Centos but I am getting error while compiling the example. a10gx is listed in aoc --list-boards.
I am using following command to compile hello_world example. --- Quote Start --- aoc device/hello_world.cl -o bin/hello_world.aocx --report --board a10gx --- Quote End --- I am getting following error. --- Quote Start --- [nilesh.vora@AOCLDev hello_world]$ aoc device/hello_world.cl -o bin/hello_world.aocx --report --board a10gx -v aoc: Environment checks are completed successfully. You are now compiling the full flow!! aoc: Selected target board a10gx aoc: Running OpenCL parser.... aoc: OpenCL parser completed successfully. aoc: Compiling.... aoc: Linking with IP library ... +--------------------------------------------------------------------+ ; Estimated Resource Usage Summary ; +----------------------------------------+---------------------------+ ; Resource + Usage ; +----------------------------------------+---------------------------+ ; Logic utilization ; 17% ; ; ALUTs ; 9% ; ; Dedicated logic registers ; 9% ; ; Memory blocks ; 15% ; ; DSP blocks ; 0% ; +----------------------------------------+---------------------------; aoc: First stage compilation completed successfully. Error: Compiler Error, not able to generate hardware --- Quote End --- Strange part is that log file does not indicate any error. See attached log file. Please look at the version of OpenCL and Quartus. --- Quote Start --- [nilesh.vora@AOCLDev ~]$ aoc --version Intel(R) FPGA SDK for OpenCL(TM), 64-Bit Offline Compiler Version 16.1.2 Build 203 Copyright (C) 2017 Intel Corporation [nilesh.vora@AOCLDev ~]$ quartus_map --version Quartus Prime Analysis & Synthesis Version 16.1.2 Build 203 01/18/2017 SJ Standard Edition Copyright (C) 2017 Intel Corporation. All rights reserved. --- Quote End ---