Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
8 years ago

HelloWorld - compiler error, not able to generate hardware

Hello,

Recently I bought the DE1-SoC Board for trying OpenCL with it.

- I set up the environment variables like suggested in the "DE1SOC_OPENCL.pdf"

- I have a valid licence.

- I have downloaded the BSP for the Board

After trying to compile a .cl -File (the vector_add example from the intel site) with the command:

aoc device/vector_add.cl -o bin/vector_add.aocx --report --board de1soc_sharedonly

I get the error: Compiler Error, not able to generate hardware.

The .log file gave me following error-text:

...

info (21057): implemented 12069 device resources after synthesis - the final resource count might be different

info (21058): implemented 13 input pins

info (21059): implemented 45 output pins

info (21060): implemented 57 bidirectional pins

info (21061): implemented 10410 logic cells

info (21064): implemented 1528 ram segments

info (21065): implemented 1 plls

info (21071): implemented 1 partitions

info: quartus prime analysis & synthesis was successful. 0 errors, 65 warnings

info: peak virtual memory: 1136 megabytes

info: processing ended: mon may 15 07:23:33 2017

info: elapsed time: 00:00:32

info: total cpu time (on all processors): 00:00:31

error (281039): finished parallel synthesis of 1 partition(s). 1 partitions did not finish parallel synthesis because there were errors

error (281040): partition "system_acl_iface_hps_hps_io_border:border" did not complete synthesis due to errors

info (144001): generated suppressed messages file /home/developer/workspace/opencl_intel_tutorial/opencl_example_vector_soc/vector_add/bin/vector_add/top.map.smsg

error: quartus prime analysis & synthesis was unsuccessful. 2 errors, 581 warnings

error: peak virtual memory: 1575 megabytes

error: processing ended: mon may 15 07:26:48 2017

error: elapsed time: 00:04:42

error: total cpu time (on all processors): 00:04:56

error (293001): quartus prime full compilation was unsuccessful. 4 errors, 581 warnings

error: flow compile (for project /home/developer/workspace/opencl_intel_tutorial/opencl_example_vector_soc/vector_add/bin/vector_add/top) was not successful

error: error: error(s) found while running an executable. see report file(s) for error message(s). message log indicates which executable was run last.

error (23031): evaluation of tcl script /home/developer/intelfpga_lite/16.1/quartus/common/tcl/internal/qsh_flow.tcl unsuccessful

error: quartus prime shell was unsuccessful. 11 errors, 581 warnings

error: peak virtual memory: 806 megabytes

error: processing ended: mon may 15 07:26:49 2017

error: elapsed time: 00:04:50

error: total cpu time (on all processors): 00:05:04

Google said that that "Error: Peak virtual memory: 806 megabytes" means that i´m using to much logic elements, but its just the vector-add example so I´m quite confused.

I hope someone can point out whats the problem.

Thanks :)

13 Replies