Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Synchronous Asynchronous
Clock
domain 2 Asynch. Chip C
Chip A channel
Clock
Clock Clock domain 4
domain 6 domain 5
Chip B
Clock Q
Transparent Latched
D-Type Register or Flip-Flop, Edge-Triggered
– data captured on rising edge of clock, held for rest of cycle
Clock
D Q
D
Clock Q
Clock Tsetup
D Thold
Q
TCQmin
Output undefined
TCQmax
• TCQmin/TCQmax
– propagation of DQ at clock edge
• Tsetup/Thold
– define window around rising clock edge during which data
must be steady to be sampled correctly
– either setup or hold time can be negative
6.375 Spring 2007 • L12 Clock and Power • 5
Edge-Triggered Timing Constraints
TPmin/TPmax
Combinational
Logic
CLK
Clock
Clock Skew
Difference in clock
arrival time at two
spatially distinct points
B
A A
Compressed
timing path
B
Skew
Compressed
timing path
Period A Period B
Clock Jitter
Difference in clock
period over time
Central Clock
Driver
Local
Clock
Variations in local clock load, Buffers
local power supply, local gate
length and threshold, local
temperature
H-Tree RC-Tree
Recursive pattern to
Each branch is
distribute signals uniformly individually routed to
with equal delay over area balance RC delay
6.375 Spring 2007 • L12 Clock and Power • 12
Clock Distribution Example
Active deskewing circuits in Intel Itanium
Active Deskew Circuits (cancels out systematic skew)
Phase Locked Loop (PLL)
Regional
Grid
1000 1000W
CPU?
Pentium® 4 proc
100
Power (Watts)
10
Pentium® proc
386
1 8086
8080
0.1
1970 1980 1990 2000 2010 2020
[ Source: Intel ] 6.375 Spring 2007 • L12 Clock and Power • 18
Power Dissipation Problems
• Example 1: Cellphone
– 3 Watt total power limit – any more and customers complain
– Battery life/size/weight are strong product differentiators
Subthreshold
Leakage
Short Circuit Current Fast edges keep to <10% of cap charging current
Cg Reff Cd Cg Reff Cd
Reduce Activity
– Clock gating so clock node of inactive logic doesn’t switch
– Data gating so data nodes of inactive logic doesn’t switch
– Bus encodings to minimize transitions
– Balance logic paths to avoid glitches during settling
Reduce Frequency
– Doesn’t save energy, just reduces rate at which it is consumed
– Lower power means less heat dissipation but must run longer
Clock
Enable
Latched Enable
Gated Clock
0
Shifter Adder
infrequently
Shift/Add Select
used
A
Shifter 1
B
0
Adder
8-bit adder/compare
+
– 40MHz at 5V, area = 530 km2
– Base power Pref
Chandrakasan et. al, IEEE JSSC 27(4), April 1992 6.375 Spring 2007 • L12 Clock and Power • 29
Voltage Scaling Example
Vdd
VDD VDD
Reff Reff
Cg Reff Cd Cg Reff Cd
GND GND
Reff Reff
Cg Cd Cg Cd
Reff Reff
GND GND
V G V G
Power Grid. Interconnected vertical and horizontal
V V
power bars. Common on most high-performance
G G
designs. Often well over half of total metal on upper
V V
thicker layers used for VDD/GND.
G G
V G V G
V G V G
Dedicated VDD/GND planes. Very expensive. Only
V V
used on Alpha 21264. Simplified circuit analysis.
G G
Dropped on subsequent Alphas.
V V
G G
V G V G