Forum Discussion
Altera_Forum
Honored Contributor
8 years agohow to share DSP correctly ?
16bit or 8bit multiply should only use 0.5 DSP. I have try to implement two char type MAC, and the result will be store into int type. The DSP usage should be 64x16/2=1024/2=512 and in repo...
Altera_Forum
Honored Contributor
8 years agoOh, that paper... That is not really an OpenCL design. They have coded pretty much everything in System Verilog, and then packaged it into an OpenCL kernel as an HDL library. The could do two 16-bit MULs per DSP since they were describing their computation in a low-level language, and that is also how they managed to achieve such high operating frequency. The paper from Intel, however, claims to describe the design purely in OpenCL.
And yes, the OpenCL report claims it is implementing 16-bit x 16-bit MUL, but as you saw yourself, it is still not actually capable of packing two such MULs into one DSP and after placement and routing, you still get only one MUL per DSP. That is why I think achieving such behavior in OpenCL might require bit masking.