Compute sin(Jr/4) with a radix-4 CORDIC algorithm using an implementation
with carry-save adders and the following selection function:
5 14
2 if g <~[0]<-g
3 4
1 if g <~[0]<
4 2
o'0--
0 if-g <~[0]< g
7 5
-1 if-g <G[0]_< 8
_.1~ _< G[0] _< -
~ 2
if
1
and for j > 0,
21
2 if !~ < ~[jl < F
4 11
1 if g <~[j]<-g-
4 3
crj-- 0 if-g <~[j]<
5
-1 if -~ < ~[j] < -g
-2 if -~ <G[j] <_
__ 138
where w[j] = 2Jz[j] and ~[j] is the carry-save w[j] truncated to 3 fractional
bits.
Perform three iterations and determine the error. Determine the (variable) ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.