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

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

View Full Document Right Arrow Icon
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
Background image of page 1

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

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 08/23/2009 for the course DEE 4641 taught by Professor Cwliu during the Fall '08 term at National Chiao Tung University.

Page1 / 2

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

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online