Altera_Forum
Honored Contributor
12 years agoFloating point modules MegaWizard question
Hello people!
I want to implement a small sinewave generator inside my Cyclone IV E using some of the floating point operations in the MegaWizard. I have two simple questions: First of all, should the input in the SINCOS module be in radians (0 - 2*pi) or in degrees (0 - 360)? And the second question is how does the output latency work? In time t=0 it takes the input and does calculations for the cycles required while neglecting input until it finishes, and then it takes the next input at cycle (t=0 + latency) again, or does it work in a queue taking all inputs sequentially? Thanks a lot in advance!