Академический Документы
Профессиональный Документы
Культура Документы
Types of Flip-Flops
Latch Pair (Master-Slave)
L1
Data D Q Clk Clk
Pulse-Triggered Latch
L2 L
Data Clk D Q Clk
D Q Clk
UC Berkeley EE241
B. Nikolic
Flip-Flop Delay
l
Sum of setup time and Clk-output delay is the only true measure of the performance with respect to the system speed T = TClk-Q + TLogic + Tsetup+ Tskew
D Q Clk
Logic
D Q N Clk
TClk-Q
UC Berkeley EE241
TLogic
TSetup
B. Nikolic
EE241
Setup
Hold
50
100
150
200
Master-Slave Latches
Positive setup times l Two clock phases:
l
Small penalty in delay for incorporating MUX l Some circuit tricks needed to reduce the overall delay
l
UC Berkeley EE241 B. Nikolic
EE241
Master-Slave Latches
Case 1: PowerPC 603 (Gerosa, JSSC 12/94)
Vdd Vdd
Clk
D
Clkb
Q
Clkb
Clk
UC Berkeley EE241
B. Nikolic
Clock load is high Low power Small clk-output delay, but positive setup
UC Berkeley EE241
B. Nikolic
EE241
Master-Slave Latches
Vdd Vdd
Case 2: C2MOS
Ck
D
Ckb
Q Ckb Ck
Vdd Clk
Vdd
Vdd
Vdd
Ck Ckb
Vdd Ck
Vdd
Feedback added for static operation Locally generated clock Poor driving capability Robustness to clock slope
UC Berkeley EE241
Ck
Ckb
B. Nikolic
Pulse-Triggered Latches
First stage is a pulse generator
generates a pulse (glitch) on a rising edge of the clock
Pulse generation results in a negative setup time Frequently exhibit a soft edge property Note: power is always consumed in the pulse generator
UC Berkeley EE241
B. Nikolic
EE241
Pulse-Triggered Latches
Case 1: Hybrid Latch Flip-Flop, AMD K-6 Partovi, ISSCC96
Vdd
Q Q
D Clk
UC Berkeley EE241
B. Nikolic
HLFF Operation
1-0 and 0-1 transitions at the input with 0ps setup time
UC Berkeley EE241
B. Nikolic
EE241
UC Berkeley EE241
B. Nikolic
EE241
UC Berkeley EE241
B. Nikolic
Pulse-Triggered Latches
Case 2: AMD K-7
UC Berkeley EE241
B. Nikolic
EE241
Pulse-Triggered Latches
Case 3: Semi-Dynamic Flip-Flop (SDFF), Sun UltraSparc III, Klass, VLSI Circuits98
Vdd Vdd
Q Q
D 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
UC Berkeley EE241 B. Nikolic
Pulse-Triggered Latches
Case 3: 7474, Texas Instruments64
S
Clk
Q R
D
UC Berkeley EE241 B. Nikolic
EE241
7474
Karnaugh maps for signals S and R
SR Clk, D 00 01 D 11 10 S DR S x x 1 1 1 0 0 Clk 0
R DS S 10 x 0 1 1
R 00 x x 01 1 1 11 1 1 10 1 1 Clk
D Clk, D
SR 00 x x x 01 1 1 0
R 11 1 1 0 10 1 1 Clk 1 Clk
00 01 11
S = Clk R D S
S
Clk
R = Clk S D R
Q
Q R
UC Berkeley EE241
B. Nikolic
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
UC Berkeley EE241
B. Nikolic
EE241
UC Berkeley EE241
B. Nikolic
200fF
Total power consumed Clk Q internal power Clock 200fF data power 50fF clock power Measured for four cases no activity (0000 and 1111) Delay is (minimum D-Q) maximum activity (0101010..) average activity (random sequence) Clk-Q + setup time
10
EE241
60 50 40 30 20 10 0 100
C MOS 80m
300 350 400 450 500
150
200
250
UC Berkeley EE241
Delay [ps]
B. Nikolic
Energy Consumption
Energy Breakup in TG-MS (PowerPC603)
Always consume
q
8%
Clocked Nodes
6fJ
Non-inverting Flops:
38%
Inverting Flops:
q
( - probability of D : 0-1)
UC Berkeley EE241
[Markovic]
B. Nikolic
11
EE241
Energy Dissipation
Comparison of Master Slave and Pulse-Triggered Flip-Flops
250 200
198 183
Energy [fJ]
57
TG FF
C2MOS
HLFF
SDFF
SAFF
UC Berkeley EE241
B. Nikolic
CKI
0.85
Q
0.85 0.5 0.85 1.2
D
0.5
DI
0.5
CKIB
CKIB
0.5
0.5
0.85
0.5
0.85
0.5
XNOR
CKIB
0.85
CP
0.5
CKI
UC Berkeley EE241
B. Nikolic
12