Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16606 Discussions

Problem with compilation of vector_add example

Altera_Forum
Honored Contributor II
1,792 Views

Hello everyone. 

When running the command: 

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

 

I get the following message: 

aoc: Selected target board de5a_net_e1 

/home/vista_fpga/intelFPGA_pro/16.1/hld/board/de5a_net_e1/tests/vector_add/device/vector_add.cl:23:48: warning: declaring kernel argument with no 'restrict' may lead to low kernel performance 

__kernel void vector_add(__global const float *x,  

/home/vista_fpga/intelFPGA_pro/16.1/hld/board/de5a_net_e1/tests/vector_add/device/vector_add.cl:24:48: warning: declaring kernel argument with no 'restrict' may lead to low kernel performance 

__global const float *y,  

2 warnings generated. 

 

+--------------------------------------------------------------------+ 

; Estimated Resource Usage Summary ; 

+----------------------------------------+---------------------------+ 

; Resource + Usage ; 

+----------------------------------------+---------------------------+ 

; Logic utilization ; 19% ; 

; ALUTs ; 10% ; 

; Dedicated logic registers ; 10% ; 

; Memory blocks ; 11% ; 

; DSP blocks ; 5% ; 

+----------------------------------------+---------------------------; 

Error: Peak virtual memory: 871 megabytes 

Error: Processing ended: Fri Nov 10 15:27:49 2017 

Error: Elapsed time: 00:00:19 

Error: Total CPU time (on all processors): 00:01:01 

Error: ip-generate FAILED. 

Refer to vector_add/vector_add.log for details. 

 

 

In the vector_add.log file, the last lines are: 

 

Info: Generating kernel_system.qsys: 

Info: qsys-generate -syn --family="Arria 10" --part=10AX115N2F45E1SG kernel_system.qsys 

------------------------------------------------ 

 

while executing 

"qexec "qsys-archive --quartus-project=$project_name --rev=opencl_bsp_ip kernel_system.qsys"" 

(file "scripts/pre_flow_pr.tcl" line 134) 

------------------------------------------------ 

Error (23031): Evaluation of Tcl script scripts/pre_flow_pr.tcl unsuccessful 

Error: Quartus Prime Shell was unsuccessful. 1 error, 0 warnings 

Error: Peak virtual memory: 871 megabytes 

Error: Processing ended: Fri Nov 10 15:27:49 2017 

Error: Elapsed time: 00:00:19 

Error: Total CPU time (on all processors): 00:01:01 

 

My OS is Centos 7. 

 

Regards, 

Lancer
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
368 Views

As pointed out in this thread (https://www.alteraforum.com/forum/showthread.php?t=56560), Terasic's v16.1 BSP is broken. You can try reporting it to Terasic since nobody other than them can fix this.

0 Kudos
Altera_Forum
Honored Contributor II
368 Views

Hi HRZ, 

Shifting to v16.0 did solve the problem. Thank you! 

Ill contact Terasic and report them the bug.
0 Kudos
Altera_Forum
Honored Contributor II
368 Views

Hi, 

 

Need to take note that BSP version are specific to SDK version as well.  

 

Regards, 

CloseCL 

(This message was posted on behalf of Intel Corporation)
0 Kudos
Reply