Forum Discussion
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- You certainly can get re^2 (re*re) and im^2(im*im) then you add both results. What is left is square root and that is the hard bit. You can use altera's square root ip or use a lookup table for that. Verilog should allow you to infer mults and adder but I am not sure if you can infer sqrt so I will go for ip instantiation. The cordic amp is far more popular as it requires very little resource but output is ready after some few iterations (6 or so depending on required accuracy) --- Quote End --- i don't have much time to complete it... however i'll try, hope that it won't be too complicated... thank you!