EE357-Nazarian-MidtemrII_SampleQ_Sol-Fall09

# EE357-Nazarian-MidtemrII_SampleQ_Sol-Fall09 - EE 357...

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

Sample Question Nazarian Fall 09 Solutions 1. Short Answer (25 pts.) a. 2 Same row, different banks 1 Same row, same bank 3 Different row, same bank b. single words /blocks c. c. 25 d. b. Least Recently Used e. b. 32 f. fully associative / is physically limited to a small size g. d. Polling /Interrupts h. d. Using the bit-wise OR operator (reg = reg | 0x01) 2. a. MAX MIPS for P1: 2E9 clocks / 1 CPI = 2000 MIPS MAX MIPS for P2: 4 E9 clocks / 2 CPI = 2000 MIPS b. CPI P1 = 4*.1 + 2*.2 + 1*.2 + 2*.5 = 2 CPI Exec time = IC * 2 CPI / 2 GHz CPI P2 = 2*.1 + 6*.2 + 4*.3 + 3*.4 = 3.8 CPI Exec time = 1.2 IC * 3.8 CPI / 4 Ghz P1 is faster c. Reduction of class A by 3 clocks means a reduction in average CPI from 2 to 1.7 Reduction of class D by 1 clock means a reduction in average CPI from 2 to 1.5 Reduction of class D is better d. Problem => Need to use Amdahl’s law with execution times not CPI or other ratios. Old ExecTime = 1.2IC * 3.8CPI / 4 Ghz

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 ]}

### Page1 / 2

EE357-Nazarian-MidtemrII_SampleQ_Sol-Fall09 - EE 357...

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

View Full Document
Ask a homework question - tutors are online