1,456 views

1 Answer

1 votes
1 votes

 While fetching, 1 word will be fetched which take two cycles and while decoding phase remaining instruction is fetched which all will take 2cycle.

for ex:

  I1 :

IF : 1 word is fetch which require 2 cycle

ID: remaining 2 words are fetched which require 2cycle each =2*2=4

EX: Move instruction ,  nothing to execute = 0 cycle

WB: requires 2 cycle in every instruction

do similarly for other also.

Instruction IF ID EX WB
                     I1    2  4  0  2
                     I2    2  0  2  2
                     I3    2  4  0  2
                     I4    2  4  0  2

Total cycle required to execute the program is 31 cycles.

edited by

Related questions

1.5k
views
1 answers
2 votes
Satbir asked Dec 7, 2018
1,522 views
Consider a non-pipelined processor design which has a cycle time of 10ns and average CPI of 1.6. If each pipeline stage adds extra 20ps due to register setup delay ... cycles (these occurrences are disjoint). What is the new CPI ?(ans=2.05)
2.1k
views
2 answers
2 votes
Na462 asked Nov 7, 2018
2,128 views
1.6k
views
1 answers
0 votes
Na462 asked Jul 21, 2018
1,573 views
To execute an instruction by a 32-bit machine the following steps are carried out: Fetch, Decode,Execution, Memory access and Store, each of which ... an equivalent non pipeline processing system is ________.Ans. 4.8Please Explain Briefly
616
views
1 answers
2 votes