Question: Given 3 different instruction types - - - A , B , and C . Each type - A , B , and C instruction

Given 3 different instruction types --- A, B, and C. Each type-A, B, and C instruction takes
30ns,20ns, and 40ns to complete, respectively. An assembly program has 20 type-A,30 type-
B, and 50 type-C instructions.
(a) Assuming a single cycle datapath, how much time is required to execute the above
program?
(b) Assume a multi-cycle datapath with a clock cycle time of 20ns. How much time (in nano-seconds)
is required to complete the execution of this program?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!