Forum Discussion
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- Oh, now I understand. How about Cordic algorithm? --- Quote End --- First try simple solution. If your required tone is 20MHz and your sampling clock is multiple of 20 e.g. 100MHz then all you need is a cycle of sine data of 100/20 = 5 data points. This can be implemented as basic logic with a counter to read them sequentially. If your sampling clock divides with fractional result then you need a larger LUT (possibly altera NCO ip). people use cordic to avoid multipliers at the expense of more logic.