




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
Solutions to the midterm exam questions related to computer architecture, specifically instruction set architecture and registers sets. It includes explanations and calculations for various instruction formats and their consequences, as well as examples and sequences of instructions to replace old formats.
Typology: Exams
1 / 8
This page cannot be seen from the preview
Don't miss anything!
CS 152 D. Patterson & R. Yung Fall 1995
Question #1: Technology and p erformance [20 pts]
a) Calculate the average execution time for each instruction with an in nitely fast memory. Which is faster and by what factor? Show your work. [6 pts]
InstructionTime GaAS = (^) CloCPI ck rate = (^10002) MHz:^5 = 2.5 nanoseconds
InstructionTime CMOS = (^) CloCPI ck rate = (^2000) MHz:^75 = 3.75 nanoseconds
InstructionTime CMOS InstructionTime GaAS =^
3 : 75 2 : 5 =^1 :^5
So, the GaAS micropro cessor is 1.5 times faster than a CMOS micropro cessor.
Gr ading : 4 p oints for showing your work. 1 p oint for having correct instruction execution times. 1 p oint for having correct p erformance factor.
b) How many seconds will each CPU take to execute a 1 billion instruction program? [3 pts]
Gr ading : 1 p oint for showing your work. 2 p oints for having correct program execution times.
c) What is the cost of an untested GaAs die for this CPU? Rep eat the calculation for a CMOS die. Show your work. [7 pts]
dies/wafer =
(wafer diameter= 2 )^2
2 die area