2,125 views

2 Answers

1 votes
1 votes
In computer when we measure the performance of CPU in CPI that is clock per instructions..means how may clock cycles are needed to execute 1(single) instruction...

SO to get max output we have implemented pipelining...in which under idle condition CPI=1...means we are able to execute one instruction at one clock of CPU....for that we divide the COMPETE WORKING OF PC into modules like 

FETCH,DECODE,EXECUTE,WRITE-BACK...and we perform them in pipelining.....

While in actual implementation ..due to DATA dependence or branch instruction we failed to get CPI=1..and CPI increases to 2 or 2.5 or more as per dependency...
1 votes
1 votes
i found out this formula :

Pipeline CPI=Ideal Pipeline CPI +Structural Stalls + RAW Stalls  +WAR  Stalls+ WAW Stalls +Control Stalls

so ideal pipeline is a pipeline with no stalls in it.

Related questions

1 votes
1 votes
1 answer
1
Alina asked Dec 21, 2018
24,213 views
Non pipelined system takes 130ns to process an instruction . A program of 1000 instructions is executed in non pipelined system. Then same program is processed with proce...
2 votes
2 votes
4 answers
3
3 votes
3 votes
1 answer
4
khushtak asked Oct 19, 2015
13,497 views
A nonpipeline system takes 50 ns to process a task. The same task can be processed in a six segment pipeline with a clock cycle of 10 ns.  determine the speed up ratio o...