Computer Organization and Assembly Language: Assignment 1 Solution, Assignments of Computer Architecture and Organization

it assignmnet about computer architecture for details about cpu performance equation and amdal's law example solved

Typology: Assignments

2019/2020

Uploaded on 06/16/2020

mosin92
mosin92 🇵🇰

5

(1)

1 document

1 / 3

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
CS-530: Computer Organization and Assembly Language @ ARID-UIIT, Assignment 1 Solution
Prepared by [email protected]
1
Solution: (3 Marks)
Ic = 100,000
Effective/Overall CPI = 45,000 × 1 + 32,000 × 2 + 15,000 × 2 + 8,000 × 2
100,000
CPI = 1.55
f = 40 MHz = 40 × 106 Hz
MIPS = 40 × 106
1.55 × 106
MIPS ≈ 25.81
𝜏 = 1
𝑓= 1
40 × 106 s
Execution Time, T = 100,000 × 1.55× 1
40 × 106 s
T = 3.875 ms
pf3

Partial preview of the text

Download Computer Organization and Assembly Language: Assignment 1 Solution and more Assignments Computer Architecture and Organization in PDF only on Docsity!

Prepared by [email protected] Solution: (3 Marks) Ic = 100, Effective/Overall CPI =

45 , 000 × 1 + 32 , 000 × 2 + 15 , 000 × 2 + 8 , 000 × 2

CPI = 1.

f = 40 MHz = 40 × 106 Hz MIPS =

40 × 106

1. 55 × 106

MIPS ≈ 25.8 1

40 × 10

6 s

Execution Time, T = 100,000 × 1.55×

40 × 106

s T = 3.875 ms

Prepared by [email protected] Solution: (7 Marks) a. (6 Marks) CPIA = 40/18 ≈ 2. MIPSA ≈ 90 Execution_TimeA = 18 × 106 × 40/18 × 1 / (200 × 106 ) s = 0.2 s CPIB = 46/24 ≈ 1. MIPSB ≈ 104. Execution_TimeB = 24 × 106 × 46/24 × 1 / (200 × 106 ) s = 0.23s b. (1 Mark) Although machine B has a higher MIPS than machine A, yet it requires a longer CPU time to execute the same set of benchmark programs.