Description
Points: : 30 points
Part I (4 points)
Textbook, pp 54-55, Exercises 1.2. Please fill your answers into the following table.
Match which of the eight ideas?
a.
b.
c.
d.
e.
f.
g.
h.
Part II (9 points)
Consider three different processors P1, P2, and P3 executing the same instruction set with the clock rates and CPIs given in the following table.
Processor Clock Rate CPI
P1 2 GHz 1.5
P2 1.5 GHz 1.0
P3 3 GHz 2.5
(1) Which processor has the highest performance?
(2) If the processors each execute a program in 10 seconds, find the number of cycles and the number of instructions.
(3) We are trying to reduce the time by 30% but this leads to an increase of 20% in CPI. What clock rate should we have to get this time reduction?
Show your work.
Part III (9 points)
Consider two different implementations of the same instruction set architecture. There are four classes of instructions, A, B, C, and D. The clock rate and CPI of each implementation are given in the following table.
Clock rate CPI Class A CPI Class B CPI Class C CPI Class D
P1 1.5 GHz 1 2 3 4
P2 2 GHz 2 2 2 2
(1) Given a program with 10^6 instructions divided into classes as follows: 10% class A, 20% class B, 50% class C and 20% class D, which implementation is faster?
(2) What is the global CPI for each implementation?
(3) Find the clock cycles required in both cases.
Show your work.
Part IV (8 points)
Assume you are in a company that will market a certain IC chip. The fixed costs, including R&D, fabrication and equipments, and so on, add up to $500,000. The cost per wafer is $6000, and each wafer can be diced into 2000 dies. The die yield is 50%. Finally, the dies are packaged and tested, with a cost of $14 per chip. The test yield is 50%; only those that pass the test will be sold to customers. If the retail price is 50% more than the cost, at least how many chips have to be sold to break even? Show your work.