Forum Discussion
Altera_Forum
Honored Contributor
11 years agoDividing numbers by constants without dividers?
Hi! I would like to divide a number by a set of constants (3, 5 or 7) and I have read in an old post that using a divider might be a waste of resources. I have also read that for simple divisio...
Altera_Forum
Honored Contributor
11 years ago --- Quote Start --- If you have trouble with timing, the problem is more likely the routing in and out of the DSP. If this is the case, just add extra registers in the pipeline in your code. But At 178MHz, I dont think you'll need them. --- Quote End --- Thanks for your reply :) Does that mean that the 18x18 DSP would be able to get the result in just one cycle? Why would I ever need to pipeline then? I thought it would take at least 2-3 cycles to get the first result and then it would be possible to have a result every cycle. I probably misunderstood something!