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

AOC compiler, Estimated Resource Usage report !!!!!!

Altera_Forum
Honored Contributor II
1,683 Views

Hello, 

 

I'm currently using the Arrow SocKit of Altera (http://www.altera.com/b/arrow-sockit.html). To do this, 

I'm using OpenCl instead of VHDL.  

 

Compiling the vectAdd example using the Alter Offline Compiler (AOC) was successfully completed without any errors. But, 

the point here is that I got an estimated resource usage which seems to me not efficient at all. 

 

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

; estimated resource usage summary ; 

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

; resource + usage ; 

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

; logic utilization ; 26% ; 

; dedicated logic registers ; 9% ; 

; memory blocks ; 24% ; 

; dsp blocks ; 0% ; 

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

aoc: first stage compilation completed successfully. 

aoc: setting up project for qxp preservation flow.... 

aoc: hardware generation completed successfully. 

 

the compiled kernel is the following: 

 

// acl kernel for adding two input vectors 

__kernel void vectoradd(__global const float *x,  

__global const float *y,  

__global float *restrict z) 

{ 

// get index of the work item 

int index = get_global_id(0); 

 

// add the vector elements 

z[index] = x[index] + y[index]; 

} 

 

could any one please explain me why this small kernel requires all these resources ? 

 

 

 

http://www.alteraforum.com/forum/attachment.php?attachmentid=9908&stc=1
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
539 Views

Those estimated resources include the board support package (all the interfaces and controllers needed to create an entire FPGA accelerator system) as well as your kernel. If you browse through some of the log files from your compilation you may find the resources for the kernel only, which on my system is very small. For such small designs the estimated resources are almost always dominated by the board support package.

0 Kudos
Reply