User Guide
The function supports two configurations, depending on the sign attribute of a:
• If a is signed, the allowed input range is [-π,+π] and the output range for the sine
and cosine is [−1,1].
• If a is unsigned, the IP core restricts the input to [0,+π/2] and restricts the output
range to [0,1].
1.3.2. Atan2 Function
Computes the function atan2(y, x) from inputs y and x.
Figure 2. Atan2 Function
0
x
y
x
y
a
• If x and y are signed, the IP core determines the input range from the fixed-point
formats.
• The output range is [-π,+π].
1.3.3. Vector Translate Function
The vector translate function is an extension of the atan2 function. It outputs the
magnitude of the input vector and the angle a=atan2(y,x).
Figure 3. Vector Translate Function
0
x
y
x
y
q
v
r=K|v|
1. ALTERA_CORDIC IP Core User Guide
683808 | 2017.05.08
Send Feedback
ALTERA_CORDIC IP Core User Guide
5