I want to design arctan function with VHDL for using in demodulator design. I need a division & arctan function block. I have two signals, assumed that sin(alpha) and cos(alpha) from previos blocks. I want to retrieve alpha with using division [sin(alpha)/cos(alpha) = tan(alpha)] and then arctan function. I found that it is possible to do that with cordic algortihm, but a bit confused. Do you have any recommendation, docs or sth. how to design division & arctan with cordic in vhdl?
Thanks in advance
An alternative implementation is to use a memory: the tangent is the address and the angle is the contents at that address. That will be practical for a lowish number of bits, but obviously not once the number of bits gets higher. It depends on how many bits resolution you need.