User Guide

Table 9. Vector Translate Functions Signals
Name Direction Configurati
on
Range Details
x, y
Input Signed
input
Given by
w, F
Specifies the total width (w) and number fractional bits (F) of the
input. Provide the inputs in two’s complement form.
q
Output [−π,+π] Computes atan2(y,x) on a user-specified output fraction width F
q
.
The output has the width w
q
=F
q
+3 and is signed.
r
Given by
w, F
Computes K(x
2
+y
2
)
0.5
.
The total width of the output is w
r
=F
q
+3, or w
r
=F
q
+2 with scale
factor compensation.
The number of meaningful bits depends on the number of
iterations which depends on F
q
. The format of the output depends
on the input format.
MSB(M
OUT
)=MSB
IN
+2, or MSB(M
OUT
)=MSB
IN
+1 with scale factor
compensation
x, y
Input Unsigned
input
Given by
w,F
Specifies the total width (w) and number fractional bits (F) of the
input.
q
Output [0,+π/2]
Computes atan2(y,x) on an output fraction width F
q
. The output
has the width w
q
=F
q
+2 and is signed.
r
Given by
w,F
Computes K(x
2
+y
2
)
0.5
.
The total width of the output is w
r
=F
q
+3, or w
r
=F
q
+2 with scale
factor compensation.
MSB(M
OUT
)=MSB
IN
+2, or MSB(M
OUT
)=MSB
IN
+1 with scale factor
compensation.
Table 10. Vector Rotate Function Signals
Name Direction Configurati
on
Range Details
x, y
Input Signed
input
[1,1] Specifies the fraction width (F), total number of bits is w = F+2.
Provide the inputs in two’s complement form.
Unsigned
input
[0,1] Specifies the fraction width (F), total number of bits is w = F+1.
a
Input Signed
input
[−π,+π]
Number of fractional bits is F (provided previously for x and y),
total width is w
a
= F+3.
Unsigned
input
[0,+π] Number of fractional bits is F (provided previously for x and y),
total width is w
a
= F+2.
x0, y0
Output Signed
input
[2
0.5
,+2
0.
5
]K
Number of fractional bits F
OUT
, where w
OUT
= F
OUT
+3 or w
OUT
=
F
OUT
+2 with scale factor reduction.
Unsigned
input
1. ALTERA_CORDIC IP Core User Guide
683808 | 2017.05.08
ALTERA_CORDIC IP Core User Guide
Send Feedback
10