Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Design a CORDIC System to be attached to a bus structure that will provide data

ID: 645007 • Letter: D

Question

Design a CORDIC System to be attached to a bus structure that will provide data and accept results. The data provided will be a single number, which is a value represented as a 32 bit fixed point value, scaled to be a number between +/- 1. Answers will be available in three registers. These answers are the terminal Z value, the final X value, and the final Y value.

Design a CORDIC System to be attached to a bus structure that will provide data and accept results. The data provided will be a single number, which is a value represented as a 32 bit fixed point value, scaled to be a number between +/- 1. Answers will be available in three registers. These answers are the terminal Z value, the final X value, and the final Y value. 2^{-i} X_{i} * Y_{i} +- Y_{i+1} = 2^{-i} Y{_{i}} * X{_{i}} +- X{_{i+1}} = alpha {_{i}} Z{_{i}} +- Z{_{i+1}} =

Explanation / Answer

#include
#include
#include
void main()
{
   double x1,x2,y1,y2,z1,z2,i,c,alpha=.5;

   clrscr();

   printf("Enter value for x1, y1, z1 ");
   scanf("%lf%lf%lf",&x1,&y1,&z1);

   z2= z1-alpha;
   x2= x1-y1*pow(2,-1);
   y2= y1-x1*pow(2,-1);

   printf(" %lf,%lf,%lf",z2,x2,y2);
   getch();
}