Professional Documents
Culture Documents
Clock Tree Synthesis PDF
Clock Tree Synthesis PDF
Outputs
Combinational Logic
Inputs
Want to reuse
combinational logic
from cycle to cycle
Data Data
Ready
Acknowledge
Clock
Synchronous Asynchronous
Clock
domain 2 Asynch. Chip C
Chip A channel
Clock
Clock Clock domain 4
domain 6 domain 5
Chip B
Clock
D Q
D
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
CLK
Usually have local
inverter to
generate CLK
Optional
input buffer CLK Q
Q Optional
D’ output buffer
D
Parallel N and P transistors act as
CLK switch, called a “transmission gate”
Clock Tsetup
D Thold
Q TDQmin
TCQmin
TCQmax TDQmax
TCQmin/TCQmax
– propagation in→out when clock opens latch
TDQmin/TDQmax
– propagation in→out while transparent
– usually the most important timing parameter for a latch
Tsetup/Thold
– define window around closing clock edge during which data
must be steady to be sampled correctly
CLK
CLK
CLK
CLK Q
CLK
CLK
CLK
CLK Q
CLK
CLK
CLK
CLK Q
Hold time represents the race for clock to close the input
gate before next cycle’s data disturbs the stored value.
(Here we’re rooting for the clock signal)
CLK
CLK
CLK
CLK Q
Master Slave
CLK
D Q
Master Master Master
Transparent Latched Transparent
Slave Slave Slave
Latched Transparent Latched
CLK
CLK CLK
CLK CLK
CLK CLK
CLK CLK
Q
D
Can have true or
CLK CLK Q complementary
output or both
Clock Tsetup
D
Thold
TCQmin
TCQmax
TCQmin/TCQmax
– propagation in→out 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
TPmin/TPmax
Combinational
Logic
CLK
Clock
Distribution Variations in trace
Network length, metal width and
height, coupling caps
Difference in
Central clock arrival time
Clock is “clock skew”
Driver
Local
Clock
Variations in local clock Buffers
load, local power supply,
local gate length and
threshold, local
temperature
6.884 - Spring 2005 2/18/05 L06 – Clocks 17
Clock Grids
Uses much less power than grid, but has more skew
In practice, an approximate H-tree is used at the top
level (has to route around functional blocks), with local
clock buffers driving regions
Problem:
External Clock
Frequency
+/-
Phase Oscillator
Comparator Circuit
Generated Clock
External Clock
Frequency
+/-
Phase Oscillator
Comparator Circuit
Divide by N
GCLK
Regional Grid
Reference RCD
clock DSK
CLKP
CLKN
PLL
DSK
VCC/2
Main clock
DSK
RCD
DLCLK
OTB
TPmin/TPmax
Combinational
Logic
CLK1 CLK2