Embedded system design course. draw the datapath for the following code that multiplies two polynomials. I just want the datapath please make sure its correct and you can use MyDrawing applecation to do it and i will give thumps up

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter6: Arrays
Section: Chapter Questions
Problem 15RQ
icon
Related questions
Question

Embedded system design course.

draw the datapath for the following code that multiplies two polynomials.
I just want the datapath please make sure its correct and you can use MyDrawing applecation to do it and i will give thumps up
int i, j;
int A[5], B[5], C[9];
while (1)
{
while (!go_i);
A[0] = A0 in;
A[1] = Al_in;
A[2] = A2_ in;
A[3] = A3_in;
A[4] = A4 in;
B[0] = B0 in;
B[1] = B1 in;
B[2] = B2_in;
B[3] = B3_in;
B[4] = B4 in;
%3D
%3D
%3!
for (i=0; i<9; i++)
{
C[i]=0;
for (i=0; i<5; i++)
{
for (j=0; j<5; j++)
C[i+j] += A[i] *B[j];
Transcribed Image Text:int i, j; int A[5], B[5], C[9]; while (1) { while (!go_i); A[0] = A0 in; A[1] = Al_in; A[2] = A2_ in; A[3] = A3_in; A[4] = A4 in; B[0] = B0 in; B[1] = B1 in; B[2] = B2_in; B[3] = B3_in; B[4] = B4 in; %3D %3D %3! for (i=0; i<9; i++) { C[i]=0; for (i=0; i<5; i++) { for (j=0; j<5; j++) C[i+j] += A[i] *B[j];
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Fundamentals of Computer System
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage