Professional Documents
Culture Documents
Announcements
1
Class Material
Last lecture
SRAM
Todays lecture
Latches and flip-flops
Latches: Reading
Rabaey et al, Chapters 7 and 10
Chapter 10 in Chandrakasan et al, by Partovi
Stojanovic, Oklobdzija, JSSC 4/99
2
Latch vs. Flip-Flop
z Latch Flip-Flop (register)
stores data when stores data when
clock rises
clock is low
D Q D Q
Clk Clk
Clk Clk
D D
Q Q
3
Latch Pair vs. Flip-Flop
Performance metrics
Delay metrics
Delay penalty
Clock skew penalty
Inclusion of logic
Inherent race immunity
Power/Energy Metrics
Power/energy
PDP, EDP
Design robustness
7
Latches
4
Latches
Clk
Clk
D Q
D Q
Clk
Clk
Latches
10
Courtesy of IEEE Press, New York. 2000
5
TSPC - True Single Phase Clock Logic
M1 M1 M1 M1
Out Out
In M2 M2
In M2 M2
Out Out
In In
M3 M3 M3 M3
11
PUN
In
Static
Logic Out
PDN
12
6
Doubled TSPC Latches
Out
In
Out
13
7
DEC Alpha 21064
L1: L2:
15
16
8
DEC Alpha 21164
L1 Latch L2 Latch
18
9
Requirements for the Flip-Flop Design
High speed of operation:
Small Clk-Output delay
Small setup time
Small hold timeInherent race immunity
Low power
Small clock load
High driving capability
Integration of logic into flip-flop
Multiplexed or clock scan
Robustness
Crosstalk insensitivity
- dynamic/high impedance nodes are affected
19
Sources of Noise
10
Gate Isolation
Flip-Flop Robustness
Robustness of the storage node
Input isolation
Data stored statically, max resistance limit
Min capacitance limit
Preventing storage node exposure
22
11
Types of Flip-Flops
Latch Pair
(Master-Slave)
Pulse-Triggered Latch
L1 L2 L
Data Data
D Q D Q D Q
23
Flip-Flop Delay
z Sum of setup time and Clk-output delay is the true
measure of the performance with respect to the
system speed
z T = TClk-Q + TLogic + Tsetup+ Tskew
D Q Logic D Q
N
Clk Clk
12
Delay vs. Setup/Hold Times
350
300
Minimum Data-Output
250
Clk-Output [ps]
200
150
Setup Hold
100
50
0
-200 -150 -100 -50 0 50 100 150 200
Data-Clk [ps]
25
13
Master-Slave Latch Pairs
Vdd Vdd
Clk Clkb
Q
D
Clkb Clk
27
28
14
Master-Slave Latches
Vdd Vdd
Case 2: C2MOS
Ck Ckb
D Q
Ckb Ck
Clk Ck
Vdd Vdd
Ckb Ck
29
Y
D D
D X
D
D D
30
15
Pulse-Triggered Latches
31
Pulsed Latch
Kozu, ISSCC96
32
16
Intel/HP Itanium 2
Naffziger, ISSCC02
33
Pulse-Triggered Latches
Vdd
Clk
34
17
HLFF Operation
1-0 and 0-1 transitions at the input with 0ps setup time
35
Skew absorption
18
Pulse-Triggered Latches
AMD K-7
Pulse-Triggered Latches
Semi-Dynamic Flip-Flop (SDFF),
Sun UltraSparc III, Klass, VLSI Circuits98
Vdd Vdd
Q
Q
Clk
Pulse generator is dynamic, cross-coupled latch is added for robustness. Loses soft
edge on rising transition
Latch has one transistor less in stack - faster than HLFF, but 1-1 glitch exists
Small penalty for adding logic 38
19
Pulse-Triggered Latches
S
Q
Clk
Q
R
D
39
Pulse-Triggered Latches
Case 4: Sense-amplifier-based flip-flop, Matsui 1992.
DEC Alpha 21264, StrongARM 110
First stage is a sense amplifier,
precharged to high, when Clk = 0
After rising edge of the clock sense
amplifier generates the pulse on
S or R
The pulse is captured in
S-R latch
Cross-coupled NAND has different
propagation delays of rising and
falling edges
40
20
Sense Amplifier-Based Flip-Flop
21
Flip-Flop Performance Comparison
70
60
Total power [uW]
50
TG M-S
HLFF Original SAFF
40
30
mSAFF 2
20 C MOS
SDFF
10
0
100 150 200 250 300 350 400 450 500
Delay [ps]
43
22
Local Clock Gating
2
Q
CKI
1.2
0.85 0.85
DI 0.5
D
0.85
0.5 0.5
0.5
Pulse XNOR
Generator
45
Next Lecture
Timing
46
23