Generally there are two formulas for finding out time taken by n jobs in a pipeline,
time for processing n jobs = time taken by 1 job + (n-1)*(time of the largest stage) - (1)
here n is the no. of jobs/instructions needed to be processed
and,
time for processing n jobs = (k + n - 1) * Tp - (2)
here,
k = total no. of segments of a pipeline
n = no. of jobs/instructions to be processed
Tp = Clock cycle time
Both give different timings / values. So which one should be used when??? Please help...
Thanks