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

Code Gerneration for DSP

Hi. 

 

I have several operations on signed and unsigned long in my kernel, but only multiplication on signed long appears to use 8 DSP blocks. 

For example, division and modulo on long or unsigned long appear to produce costly logic instead of using DSP blocks. 

 

Is this expected behaviour in aoc version 16.0.X or an indicator for a bug in my code?
0 Kudos
2 Replies
Altera_Forum
Honored Contributor I
37 Views

I don't think this has anything to do with OpenCL. Chances are that Altera does not at all have IP Cores for long division/modulo operations that use DSPs; in fact, maybe it is not at all possible to use the DSPs for such operations.

Altera_Forum
Honored Contributor I
37 Views

Okay 

Thank you.
Reply