Computer Organization 2 . - RESPOND CORRECTLY part (a) AND part (b) WILL BE ENOU
ID: 3734925 • Letter: C
Question
Computer Organization 2. - RESPOND CORRECTLY part (a) AND part (b) WILL BE ENOUGH TO COMPLETE THIS TASK.. - Thank you.
If you do write your solutions by hand, please write clearly. You must show how you arrived at the answer and circle your final answer where applicable!
A person has decided to branch out into hardware design. Being new to the field, he's asking for your help in designing a pipeline of a new processor. Once the processor has been built, he's going to test it with a sample program that contains 108 instructions.
(a). If the new processor were a non-pipelined, single cycle design and each instruction took 740 ps to finish, how long would it take to execute the sample program?
(b). IF the new processor were a non-pipleined multi cycle design with the longest stage taking 130 ps to finish, how long would it take to execute the sample program?
Explanation / Answer
Solution:
a)
So the design is single cycled so in one cycle the instruction will be completed and to finish the whole program which contains 108 instructions
it will teak= 108*740 = 79920 ps
b)
The longest stage is taking 130 ps means it will take 130 ps to execute multicycle for 1 instruction
time is taken for 108 instructions = 108*130 = 14040 ps
speedup = 79920/14040 = 5.69230769231 (Although it wasn't asked in t the question I calculated it to give you an idea.)
I hope this helps if you find any problem. Please comment below. Don't forget to give a thumbs up if you liked it. :)
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.