Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
986 Views

channel depth

Hi, 

 

When I set channel depth,  

 

channel float ch __attribute__((depth(0))); 

 

when the depth is 0, how the compiler handles it ? What is the final depth of channel?  

 

Thanks!
0 Kudos
3 Replies
Altera_Forum
Honored Contributor I
37 Views

You can see the final depth of the channel in the area report. The compiler pretty much always increases the depth compared to what you set in the code, unless when you have a cycle of channels in which case the compiler will exactly use the depth that you set in your code. For depth(0), my understanding is that the channel will basically turn into a "wire".

Altera_Forum
Honored Contributor I
37 Views

 

--- Quote Start ---  

You can see the final depth of the channel in the area report. The compiler pretty much always increases the depth compared to what you set in the code, unless when you have a cycle of channels in which case the compiler will exactly use the depth that you set in your code. For depth(0), my understanding is that the channel will basically turn into a "wire". 

--- Quote End ---  

 

 

Hi, thanks for your reply! What's the name of "area report"?
Altera_Forum
Honored Contributor I
37 Views

Please refer to "Intel FPGA SDK for OpenCL Best Practices Guide, Section 2" for details of where the area report is located and how to use it.

Reply