# HW2_sol - 1.51 Cost per die = 6000(1500 50 = 8 Cost per...

This preview shows pages 1–2. Sign up to view the full content.

1.51 Cost per die = 6000 / (1500 * 50%) = 8 Cost per chip = (cost per die + cost of packaging + cost of testing) = (8 + 10) / (90%) = 20 Price = Cost per chip * 140 % = 20 * 1.4 = 28 500,000 + 20 · x = 28 · x => x = 62500 (pcs) 1.52 To complete the specific task RISC – (2P instructions * 2T) = 4 PT CISC – (P instructions * 8T) = 8 PT Therefore, RISC is better 1.54 d = a * b + a * c = a * (b + c) Therefore, 1 multiplication and 1 addition => 11 ns 4.10 The average time consuming to run 1 instruction of C1, C2 and C3 in M1 and M2 are C1: TM1 = (0.4 * 2 + 0.4 * 3 + 0.2 * 5) / 6 = 3/6 TM2 = (0.4 * 1 + 0.4 * 2 + 0.2 * 2) / 3 = 3.2/6 speedup (I1/I2) = 3.2 / 3 = 1.0667 C2: TM1 = (0.4 * 2 + 0.2 * 3 + 0.4 * 5) / 6 = 3.4 / 6 TM2 = (0.4 * 1 + 0.2 * 2 + 0.4 * 2) / 3 = 3.2 / 6 speedup (I2/I1) = 3.4 / 3.2 = 1.0625 C3: TM1 = (0.5 * 2 + 0.25 * 3 + 0.25 * 5) / 6 = 3/6 TM2 = (0.5 * 1 + 0.25 * 2 + 0.25 * 2) / 3 = 3/6 The best compiler for both I1 and I2 is C3 Since the performance of I1 and I2 are the same to use their best compiler, and all the other criteria are identical, both I1 and I2 are no difference. To purchase I1, C1 and C3 are preferred To purchase I2, C3 is preferred 4.15 Execution times of P1 : P3 = 8:1, while P2:P3 = 2:1 => P1:P2:P3 = 8:2:1 The execution time for each computer: Computer A: 8 * 2 + 2 * 20 + 1 * 200 = 256

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern