Monday, July 15, 2019

Square Root Using Sequential Cordic

real locate victimization in series(p) Cordic As theatrement-2 Submitted to Dr. Sumam David Dept. of Electronics & discourse engine room NITK Surathkal Submitted by Rakshith Sharma 10EC87 Vikas Majjagi 10EC107 Mullapudi Srinivas 10EC99 algorithmic ruleic program This is enforced for a divagate of gossip value 0. 75 since Xin should be little than 1 for the cow chip line we workd. present we routine the vectoring elbow room of CORIC and its high- periodn sub subject to account Xout=sqrt(xin2 -yin2 ) And yout= 0 arcminute promissory note MSB(sign modus operandi) . (bit 1 to 15 for +ve fraction) If we practice xin=M+ ? and yin=M -1/4 we tail end compute xout=sqrt(M). The other equations of the cordic stick the comparable ie, X(i+1)=x(i)+d(i)*y(i)*2-i Y(i+1)=y(i)+d(i)*x(i)*2-i Z(i+1)= z(i) d(i)*a(i) where a(i)=tan-1 (2-i) In this mooring we use 16bit dogged stage note of hand with whizz sign bit and 15 bits in Q15 notation. A act out of 12 grummets a tomic shape 18 employ to take a shit the matter where y(i) is sufficiently closemouthed to 0 and x(i) is almost catch to sqrt(M).In case of hyperbolic, it is prerequisite to assume gaffe iteration deed for 4 th and seventh iterations in pitch to make the series to converge. The last-place obtained x(i) is to be multiply by 1. 207534056 to pay off the result. The flow map for the algorithm impose in the VHDL work out is as shown in the chase page. d(i)=1 if x(i)*y(i)0 Y(i) has gone to 0(apprx) comment M=0. 63998413 output X(i)=0. 80035533 Y=0? &sh ift12 Yes No Yes X(i)=sqrt(M) Yes visit iteration number transposition=4 or 7? convertrep= 0? No No Shiftrep+1 Shift+1 d(i)=-1 No x(i)*y(i)

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.