Sequential Logic
Sequential Logic
References:
Adapted from: Digital Integrated Circuits: A Design
Perspective, J. Rabaey, Prentice Hall UCB
Principles of CMOS VLSI Design: A Systems Perspective,
N. H. E. Weste, K. Eshraghian, Addison Wesley
Outputs
Combinational
Logic
Registers
Clock or clocks
Outputs
Inputs
D
D
Logic
Logic
Registers
Clock
Storage Mechanisms
Positive feedback
Connect one or more output signals back to the input
Regenerative, signal can be held indefinitely, static
Charge-based
Use charge storage to store signal value
Need refreshing to overcome charge leakage, dynamic
Vi1
Vo1= Vi2
Vi2= Vo1
Vo2
Vi2=Vo1
Vi2=Vo1
Vi1=Vo2
Gain larger than 1 amplifies
the deviation from C
Vi1=Vo2
Gain less than 1 reduces
the deviation from A
SR-Flip Flop
NOR-based SR flip-flop, positive logic
Schematic
Logic Symbol
Characteristic table
Schematic
Logic Symbol
Forbidden state
Characteristic table
Schematic
Logic Symbol
Characteristic table
Other Flip-Flops
Toggle or T flip-flop
Delay or D flip-flop
Race Problem
A flip-flop is a latch if the gate is transparent while the
clock is high (low)
is high
Master-Slave Flip-Flop
One-Catching or Level-Sensitive
QM
QS
t pFF
t p,comb tsetup
CLK
tlogic,max, tlogic,min
comb.
logic
Register
D
T
t
thold
Register
D
D
Data
Stable
t
CLK
treg,max
tlogic,max
tsu
treg,max
Data
Stable
Data
Stable
thold
CLK
0
Q
D
___
CLK
1
D
CLK
CLK
CLK
D
QM
___
CLK
Load of only 2 transistors to clock signals
Passes a degraded high voltage of VDD VTn
Master
0
Q
1
QM
D
1
CLK
CLK
CLK
I3
T4
T2
I1
QM
T3
T1
I4
___
CLK
Setup Time: 3*tinv + ttx
CLK
(I1T1 I3I2)
___
CLK
CLK
D
I6
I5
(T3 I6)
VDD
S
M2
M4
Q
M6
M1
M3
M8
R
S
M5
M7
kn,M 78 VDD
2
VDD
8
V
Vtn DD
2
(W / L) M 78
k p ,M 4 VDD
(W / L) M 4
V
| Vtp | DD
2
(W / L) M 3
(W / L) M 7
2(W / L) M 78 2(W / L) M 3
(3.6 / 1.2)
2
VDD
8
Propagation Delay
PseudoNMOS
Inverter
inverter
M3-M4
(M5-M6)-M2
M12
M9
M11
M2
M4
Q
M6
M5
M1
M3
M8
M7
6-Transistor SR Flip-Flop
VDD
M2
M4
Q
Q
R
M1
M3
CMOS D Flip-Flop
VDD
D
Q
Q
Q
Q
Master-Slave D Flip-Flop
VDD
Q
Q
D
D
Master-Slave D Flip-Flop
VDD
Q
D
VDD
VDD
Q
D
Charge-Based Storage
D
In
Pseudo-static Latch
Layout of a D Flip-Flop
In
Q
In
Master-Slave Flip-Flop
D
A
In
B
A
In
t p12
2
Asynchronous Setting
D
1
A
In
-Set
2
CLK
D
T1
___
CLK
N1
I1
C1
N2
T2
I2
Q
CLK
C2
(0, 0) overlap
(1,1) overlap
CLK
t(0,0) overlap
___
CLK
thold
tT 1 tI 1 tT 2
t(1,1) overlap
A
In
Input
sampled
Output
Enabled
VDD
M2
M6
M4
M8
X
In
M3
CL1
M7
M1
-section
M5
-section
CL2
VDD
M2
M6
In
1
M3
M1
CL1
D
1
M7
CL2
M5
In1-3
VDD
PUN
PUN
M4
M8
X
In1-3
M3
PDN
CL1
M7
CL2
PDN
Tmin
t p,reg
tsetup ,reg
REG
Tmin, pipe
log
REG
REG
REG
b
t p,logic
Pipelined
REG
REG
log
b
Non-pipelined
REG
REG
Pipelining
t p,reg
VDD
VDD
out
In
F
C1
G
C2
C3
Example
VDD
VDD
VDD
In
Logic
Latch
=0
Precharge
Hold
=1
Evaluate
Evaluate
Logic
Latch
=0
Evaluate
Evaluate
=1
Precharge
Hold
NORA Logic
NORA data path consists of a chain of alternating
and modules
Dynamic-logic rule: single 0
1 (1
0) transition for
dynamic n-block ( p-block)
C2MOS rule:
If dynamic blocks are present, even number of static
inversions between a latch and a dynamic block
Otherwise, even number of static inversions between latches
Master-Slave Flip-flops
Further Simplication
Schmitt Trigger
Sizing of M3 and M4
VM+ = 3.5V
M1 and M2 are in saturation; M4 is in triode region
k1
VM
2
k2
VDD VM
2
| Vtp |
Vtn
VDD VM
2
VM- = 1.5V
M1 and M2 are in saturation; M3 is in triode region
k1
VM
2
Vtn
k5
VDD VM
2
Multivibrator Circuits
R
S
Bistable Multivibrator
flip-flop, Schmitt Trigger
T
Monostable Multivibrator
one-shot
Astable Multivibrator
oscillator
Transition-Triggered Monostable
In
DELAY
td
Out
td
T=2
tp
Relaxation Oscillator
T=2
(ln 3)
RC