1.3.4. Vector Rotate Function
The rotation is a similarity rotation because the magnitude of the produced vector v0 is scaled up by the CORDIC specific constant K = 1.646760258121. The equations of the coordinates for vector v0 are:
- x0 = K(xcos(a)− ysin(a))
- y0 = K(xsin(a)+ ycos(a))
If you set the sign attribute to true for the x,y inputs for the function, the IP core restricts their range to [−1,1]. You provide the number of fractional bits. The input angle a is allowed in the range [−π,+π], and has the same number of fractional bits as the other inputs. You provide the output fractional bits and the total width of the output is w=F+3, signed.