Presentation is loading. Please wait.

Presentation is loading. Please wait.

CMPUT 329 - Computer Organization and Architecture II1 CMPUT329 - Fall 2003 TopicE: Clock Skew and Clock Gating José Nelson Amaral.

Similar presentations


Presentation on theme: "CMPUT 329 - Computer Organization and Architecture II1 CMPUT329 - Fall 2003 TopicE: Clock Skew and Clock Gating José Nelson Amaral."— Presentation transcript:

1 CMPUT 329 - Computer Organization and Architecture II1 CMPUT329 - Fall 2003 TopicE: Clock Skew and Clock Gating José Nelson Amaral

2 CMPUT 329 - Computer Organization and Architecture II2 Timing With Propagation Delays

3 CMPUT 329 - Computer Organization and Architecture II3 Clock Skew yClock signal may not reach all flip-flops simultaneously. yOutput changes of flip-flops receiving “early” clock may reach D inputs of flip-flops with “late” clock too soon.

4 CMPUT 329 - Computer Organization and Architecture II4 Clock Skew Reasons for slowness: (a) wiring delays (b) capacitance (c) incorrect design

5 CMPUT 329 - Computer Organization and Architecture II5 Clock-skew calculation  t ffpd(min) + t comb(min)  t hold  t skew(max) > 0 xFirst two terms are minimum time after clock edge for a D input to change xHold time is earliest time that the input may change xClock skew subtracts from the available hold-time margin xCompensating for clock skew: Longer flip-flop propagation delay Explicit combinational delays Shorter (even negative) flip-flop hold times

6 CMPUT 329 - Computer Organization and Architecture II6 Example of bad clock distribution

7 CMPUT 329 - Computer Organization and Architecture II7 Clock distribution in ASICs zThis is what a typical ASIC router will do if you don’t lay out the clock by hand.

8 CMPUT 329 - Computer Organization and Architecture II8 “Clock-tree” solution xOften laid out by hand xWide,fast metal (low R ==> fast RC time constant)

9 CMPUT 329 - Computer Organization and Architecture II9 Gating the clock yDefinitely a no-no xGlitches possible if control signal (CLKEN) is generated by the same clock xExcessive clock skew in any case.

10 CMPUT 329 - Computer Organization and Architecture II10 If you really must gate the clock...


Download ppt "CMPUT 329 - Computer Organization and Architecture II1 CMPUT329 - Fall 2003 TopicE: Clock Skew and Clock Gating José Nelson Amaral."

Similar presentations


Ads by Google