Presentation is loading. Please wait.

Presentation is loading. Please wait.

Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Topics n Performance analysis of sequential machines.

Similar presentations


Presentation on theme: "Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Topics n Performance analysis of sequential machines."— Presentation transcript:

1 Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Topics n Performance analysis of sequential machines.

2 Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Unbalanced delays Logic with unbalanced delays leads to inefficient use of logic: long clock periodshort clock period

3 Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Signal skew Machine data signals must obey setup and hold times—avoid signal skew.

4 Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Clock skew Clock must arrive at all memory elements in time to load data.

5 Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Qualified clocks and skew n Logic in the clocking path introduces delay. n Delay can cause clock to arrive at latches at different times, violating clocking assumptions. n When designing qualification logic: –minimize and check skew; –sharpen clock edge.

6 Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Qualification skew example

7 Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Clock period n For each phase, phase period must be longer than sum of: –combinational delay; –latch propagation delay. n Phase period depends on longest path.

8 Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Unbalanced delays Logic with unbalanced delays leads to inefficient use of logic: long clock periodshort clock period

9 Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Flip-flop-based system performance analysis

10 Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Flip-flop-based system model n Clock signal is perfect (no rise/fall), period P. n Clock event on rising edge. n Setup time s. –Time from arrival of combinational logic event to clock event. n Propagation time p. –Time for value to go from flip-flop input to output. n Worst-case combinational delay C. –Time from output of flip-flop to input.

11 Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Clock parameters

12 Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Clock period constraint n P >= C + s + p. s p C

13 Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Clock with rise/fall

14 Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Rise/fall clock period constraint n P >= C + s + p + t r. s p C trtr

15 Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Min-max delays n Delays may vary: –Manufacturing variations. –Temperature variations. n Min/max delays compound over paths. –Delays within a chip are correlated. t

16 Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Latch system clock period n For each phase, phase period must be longer than sum of: –combinational delay; –latch propagation delay. n Phase period depends on longest path.

17 Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Latch-based system model

18 Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Two-phase timing parameters

19 Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Clock period constraint n Total clock period (both phases): –P >= C1 + C2 + 2s + 2p. n Each phase must meet timing for its own latch.

20 Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Latch-based system model

21 Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Advanced performance analysis n Latch-based systems always have some idle logic. n Can increase performance by blurring phase boundaries. Results in cycle time closer to average of phases.

22 Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Example with unbalanced phases One phase is much longer than the other:

23 Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Spreading out a phase Compute only part of long paths in one phase:

24 Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Spreading out a phase, cont’d. Use other phase for end of long logic block and all of short logic block:

25 Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Problems n Hard to debug—can’t stop the system. n Hard to initialize system state. n More sensitive to process variations.

26 Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Timing and glitches in FSMs n If inputs don’t change, can outputs glitch? DQ logic input output

27 Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Skew n Skew: relative delay between events. n Signal skew: most important for asynchronous, timing-dependent logic. n Clock skew: can harm any sequential system.

28 Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Signal skew Machine data signals must obey setup and hold times—avoid signal skew.

29 Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Signal skew example

30 Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Clock skew Clock must arrive at all memory elements in time to load data.

31 Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Clock skew example

32 Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Clock skew in system DQDQ logic 

33 Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Clock skew and qualified clocks

34 Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Clock skew analysis model s 12 =  1 –  2 s 21 =  2 –  1

35 Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Skew and clock period n Assume that each flip-flop operates instantaneously: –T >=  2 +  12 n If clock arrives at FF2 after FF1, then we have more time to compute. n Given clock period, determine allowable skew: –s 12 >= T +  2

36 Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Timing through logic n As skew increases, we have less time to get the signal through the logic.

37 Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Clock distribution n Often one of the hardest problems in clock design. –Fast edges. –Minimum skew.

38 Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Clock skew example 10 ps 20 ps 30 ps DQDQDQ DQ

39 Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Retiming Retiming moves registers through combinational logic:

40 Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Retiming properties n Retiming changes encoding of values in registers, but proper values can be reconstructed with combinational logic. n Retiming may increase number of registers required. n Retiming must preserve number of registers around a cycle—may not be possible with reconvergent fanout.


Download ppt "Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Topics n Performance analysis of sequential machines."

Similar presentations


Ads by Google