| Japanese | English |
Design Specification
1. Purpose2. Design enviroment
3. Principle
3-1. CORDIC method
3-2. Extension to \(-`\)
3-3. Algorithm
4. Design
4-1. Design of the updated
value \(_i\) and \(_i\)
4-2. Judgement of the angle \(z\)
by the angle \(\)
4-3. Determination of the
initialvalue \(x_0\)
4-5. Output example of the
value
5. Example to Level2
6. Challenge
7. Unit of measurement of the
circuit scale and speed
18th LSI Design ContestsEin Okinawa Design Specification - 3
3-1. CORDIC method([1])
The CORDIC, it is one way to compute the value of the elementary functions, the calculation is performed while rotating the (or coordinates) vector plane.
\(\) as the angle to be obtained finally, shows a schematic diagram of a method of determining the \(sin\) and \(cos\) in the CORDIC method in Figure 1. As shown in Figure 1, CORDIC method by repeating the process angle \(z\) is to approach the angle \(\), \(cos\) as the coordinates \(x\), is calculated as \(sin\) the coordinates \(y\). Also from Figure 1, there is a relationship, such as the following angle the \(z \).
To approaches the angle \(\), (1.1) shows that it will add to the angle \(Z\) angle \(A\). At this time, the angle between each of the relationship, such as the following.
As shown in (1.10), the angle \(z\) is closer to \(\) eventually. To determine \(sin, cos\) in this way. The following will describe the main principle of the CORDIC method.
Shows the how the angle \(z\) whether the angle \(\) closer to the CORDIC method in Figure 2. I to R the length of the line segment connecting the origin (\(x_i\), \(y_i\)) coordinates first. I and z the angle at that time. Coordinates (\(x_i\), \(y_i\)) and angle z_i+1 is expressed by the following equation.
Consider the update value \(\) to approximate to the angle \(\) the angle \(z\) here.
When defined by the equation (1.6), \(sin_i\) and \(cos_i\) can be expressed as follows.
By using (1.7), (1.8) equation, it can be expressed as follows: coordinate transformation \((x_(i+1),y_(i+1))\) to the point from \((x_i,y_i)\) point.
Similarly,
Then, how \(sin\) and \(cos\) or go is calculated as an example, or try to follow the process.
As shown in Figure 3CIt is assumed that the x-axis on the initial position of the vector will rotateCInitial coordinates point is \((x_0 ,y_0 (=0))\)DAssuming that \(z_n\),
In determining the initial value of \(x_0\) from (1.13) and (1.11), by obtaining the \(x_n\) and \(y_n\) coordinates after the rotation of \(n\) timesC \(sin\) and \(cos\) of the angle \(\) given can be determined as follows.
Attention must be paid to, It is assumed that the angle \(z_n\) approaches the angle \(\) by repeating n times the rotation, Assuming that the error \(\)C
As (1.16), there is an error occurs even after repeated \(n\) times.
Reference
[1] ؗRCwBASICvZ@xCRiЁC1984