Professional Documents
Culture Documents
刘佳欣
liujiaxin@uestc.edu.cn
Outline
pIntroduction
pStatic Latches and Registers
pBistability Principle
pMultiplexer-Based Latches
pMaster-Slave Edge-Triggered Registers
pDynamic Latches and Registers
pDynamic Transmission-gate Edge Triggered Registers
pC2MOS Registers
pTrue Single-Phase Clocked Registers
pPipelining
2
Logic Circuits
p Combinational logic p Sequential logic
p Output depends on current p Output depends on current
inputs and previous inputs
3
Sequential Logic
I n p u O u t
C O M B
L O G I
C u r r tSt
ae
N e x
R e g i
Q D
C L K
4
Sequential Logic
q Latch and register are two types of typical sequential
logic, both in static and dynamic
q Name conventions
§ In our text:
– a latch is level sensitive
– a register is edge-triggered
5
Latch versus Register
q Latch q Register
level sensitive edge triggered
D Q D Q
Clk Clk
Clk Clk
D D
Q Q
6
Latches
P o s i veLatc h N e g
I n D Q O u t I n D Q O u
G G
C L K C L K
c l k c l k
I n I n
O u t O u t
O u Ot u t O u Ot u t
s t f a o l b l s tsIn f a o l
7
Latch versus Register: Timing
tD 2 Q
D Q D Q
C l k C l k
tC 2 Q tC 2 Q
Register Latch
8
Outline
pIntroduction
pStatic Latches and Registers
pBistability Principle
pMultiplexer-Based Latches
pMaster-Slave Edge-Triggered Registers
pDynamic Latches and Registers
pDynamic Transmission-gate Edge Triggered Registers
pC2MOS Registers
pTrue Single-Phase Clocked Registers
pPipelining
9
Static Latch
V i1 V o1 V i2 = V o2
V o2 V i1 =
Cross-coupled inverter pair
10
Static Latch
V o1 Vi2
V i1 V o1 V i2 = V o2
V i1 V o2
A
V i 2 = V o1
V o2 V i1 =
C
11
Bi-Stability & Meta-Stability
p C is meta-stable state
Ø Gain at C >>1
Ø A small disturbance at C will move the latch to A/B
12
Changing the State for a Flip Flop
p Flip Flop: Another name for bistable circuits
13
Outline
pIntroduction
pStatic Latches and Registers
pBistability Principle
pMultiplexer-Based Latches
pMaster-Slave Edge-Triggered Registers
pDynamic Latches and Registers
pDynamic Transmission-gate Edge Triggered Registers
pC2MOS Registers
pTrue Single-Phase Clocked Registers
pPipelining
14
Mux-Based Latches
15
Mux-Based Latches
16
Outline
pIntroduction
pStatic Latches and Registers
pBistability Principle
pMultiplexer-Based Latches
pMaster-Slave Edge-Triggered Registers
pDynamic Latches and Registers
pDynamic Transmission-gate Edge Triggered Registers
pC2MOS Registers
pTrue Single-Phase Clocked Registers
pPipelining
17
Master-Slave Register
D DATA
CLK STABLE t
tcq
Q DATA
STABLE t
160ps
180ps
22
Timing Constraints
CLK CLK
D T1 I1 T2 I3 Q
I2 I4
CLK CLK
24
Reduced Clock Load Master-Slave Register
CLK CLK
D T1 I1 T2 I3 Q
I2 I4
CLK CLK
25
Outline
pIntroduction
pStatic Latches and Registers
pBistability Principle
pMultiplexer-Based Latches
pMaster-Slave Edge-Triggered Registers
pDynamic Latches and Registers
pDynamic Transmission-gate Edge Triggered Registers
pC2MOS Registers
pTrue Single-Phase Clocked Registers
pPipelining
26
Static VS. Dynamic: Storage Mechanisms
C L K CLK
Q D Q
C L K
D CLK
C L K
27
Dynamic Edge-Triggered Register
28
Dynamic Edge-Triggered Register
• Timing constraint:
29
Making a Dynamic Latch Pseudo-Static
CLK Easily disturbed node
D Q
CLK
C L K
D D
Keeper
C L K
Robustness can be improved significantly !
30
Pseudo-Static Register
31
Outline
pIntroduction
pStatic Latches and Registers
pBistability Principle
pMultiplexer-Based Latches
pMaster-Slave Edge-Triggered Registers
pDynamic Latches and Registers
pDynamic Transmission-gate Edge Triggered Registers
pC2MOS Registers
pTrue Single-Phase Clocked Registers
pPipelining
32
Other Latches/Registers: C2MOS
p C2MOS: clock controlled MOS logic
0 0 1 1
0 0 1 1
34
Outline
pIntroduction
pStatic Latches and Registers
pBistability Principle
pMultiplexer-Based Latches
pMaster-Slave Edge-Triggered Registers
pDynamic Latches and Registers
pDynamic Transmission-gate Edge Triggered Registers
pC2MOS Registers
pTrue Single-Phase Clocked Registers
pPipelining
35
True Single-Phase Clocked Latches
p True Single-Phase Clocked (TSPC)
VD D VD D VD D VD D
O u t
I nC L K C L K I nC L K C L K
O u t
36
True Single-Phase Clocked Register
p Build register using two opposite latches
VD D VD D VD D VD D
O u t
I nC L K C L K I nC L K C L K
O u t
37
Outline
pIntroduction
pStatic Latches and Registers
pBistability Principle
pMultiplexer-Based Latches
pMaster-Slave Edge-Triggered Registers
pDynamic Latches and Registers
pDynamic Transmission-gate Edge Triggered Registers
pC2MOS Registers
pTrue Single-Phase Clocked Registers
pPipelining
38
Pipelining
39
Pipelined Computations
40
Thank you!