Forum Discussion
Altera_Forum
Honored Contributor
17 years agoHow to use altfp_sqrt with the Nios II?
Hi, for the reason of data processing I need the NiosII to calculate a floating point square root many times. The calculation without extra hardware block is to slow to meet the timing requirement...
Altera_Forum
Honored Contributor
16 years ago(I'm glad I found this thread. It's exactly what I'm trying to do right now. Now a couple of years later ...)
The custom instruction procedure kloocki describes worked for me too. But I have a question: The megawizard gives the option of picking 16 or 28 clocks to convert when single precision is selected. Does anyone know what the tradeoffs are when choosing between 16 and 28 clocks? That information isn't clear (maybe even not in there) in the FP Megafunctions user guide. Thanks, John Speth