GATE CSE
First time here? Checkout the FAQ!
x
+1 vote
25 views

Please solve this problem 

asked ago in CO & Architecture by Junior (549 points) 1 10 | 25 views

Part a:

5 Stages each taking 1 clock cycles = Total time = 5 clock cycles to complete  

Now execution time = Number of instruction * Number of clock cycle * clock cycle time

                                = 5 *1nsec  [assume instrucion are infinite]

                                = 5nsec

Execution rate = 1/ execution time = 1/ 5nsec = 200 MIPs

Part b:

Here clock cycle for fetch cycle(1st stage) = 0.9 * 1 + 0.1 * 4 = 1.3

Here clock cycle for 2nd stage = 1

Here clock cycle for 3rd stage = 1

Here clock cycle for 4nd stage (load and store)  = (0.3 *3) + (0.7 * 1) = 1.6

Here clock cycle for 5th stage = 1

Total CPI = 1.3 + 1 + 1 + 1.6 + 1 = 5.9 

So execution rate = 1/ 5.9 nsec = 169.5 MIPs

 

 

Please log in or register to answer this question.



Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
Top Users Oct 2017
  1. Arjun

    23338 Points

  2. Bikram

    17048 Points

  3. Habibkhan

    7912 Points

  4. srestha

    6228 Points

  5. Debashish Deka

    5438 Points

  6. jothee

    4968 Points

  7. Sachin Mittal 1

    4772 Points

  8. joshi_nitish

    4286 Points

  9. sushmita

    3964 Points

  10. Rishi yadav

    3794 Points


Recent Badges

Popular Question user1234
Copy Editor Ayush Upadhyaya
Popular Question asu
Popular Question .
Popular Question makhdoom ghaya
Popular Question junaid ahmad
Notable Question learner_geek
Notable Question jothee
Popular Question jothee
Notable Question Jeffrey Jose
27,290 questions
35,142 answers
83,926 comments
33,231 users