
NOTES:
1. At any point in time the circuit is doing either A or B.
2. Delays through modules of each operation are given in the figure below.
3. The circuit must have registers on all inputs. No registers are needed on the outputs.
4. The delay through a register is 5ns.
5. Operation A occurs 70% of the time while operation B occurs 30% of the time.
What is the clock period that will result in highest overall performance?
And questions increasing in difficulty.





11 Reactions:
I don't see the relevance of the 70-30 division, as we have to take the critical path into account. What am I missing?
Also, looking from other angle. if 50ns is the period all the internal pipeline units (f,g,k) can put the data properly in next unit (g,h,l respectively) for the pipeline to function perfectly. If there is a output delay requirement from our critical path unit (i.e. h) then that delay will add up into the clock period.
for detail solution mail me
mr.saurabh.srivastava@gmail.com
Guys lets cross check
By 55 clock period (denoted by C5)
scheduling would be
Stages - 45(40+5) 25(20+5) 55(50+5)
C5 will take 3 cycle ok
Stage 35 , 25 (for operation B)
C5 will take 2 clock cycle
Total average time
55*(0.7*3+0.3*2)= 148.5
Now C3 clock with 35 period
Operation A 5 clock
Operation B 2 clock
Total average time
35*(0.7*5+0.3*2)= 143.5
Clear now
45 ns, due to f()+reg
or:
5 ns, the gcd of all times present, where we have to use additional logic to decide when to sample and when not.
If we are allowed 35 ns, for k()+reg, using 2 cycles at f() and h(), the percentages will be interesting, else not, but then again, 5 ns is even better, like perfect ;-)
Write a Comment!
links to this post!
(Blog this post!)