Unit 3
Unit 3
Unit 3
Circuits
A Design Perspective
Jan M. Rabaey
Anantha Chandrakasan
Borivoje Nikolic
Designing Sequential
Logic Circuits
November 2002
© Digital Integrated Circuits2nd
Sequential Circuits
Sequential Logic
Inputs Outputs
COMBINATIONAL
LOGIC
Current State
Next state
Registers
Q D
CLK
2 storage mechanisms
• positive feedback
• charge-based
In D Q Out In D Q Out
G G
CLK CLK
clk clk
In In
Out Out
Voltage
transfer
Cascaded Inverters Characteristics
Q 0 Q
1
D 0 D 1
CLK CLK
CLK
CLK
CLK
QM
CLK
QM
CLK
CLK
0 Q D
1 QM
1
QM
D 0 Q
CLK
CLK
I2 T2 I3 I5 T4 I6 Q
QM
D I1 T1 I4 T3
CLK
CLK CLK
D T1 I1 T2 I3 Q
I2 I4
CLK CLK
CLK CLK
(a) Schematic diagram
CLK
CLK
(b) Overlapping clock pairs
S R Q Q
S
Q
S Q 0 0 Q Q
1 0 1 0
R Q
0 1 0 1
Q
R 1 1 0 0
Forbidden State
VDD
M2 M4
Q
Q
CLK M6 M8 CLK
M1 M3
S M5 M7 R
CLK
CLK
D Q
Q
CLK
CLK
D
CLK
Preventive measures
•The data must be stable during the high-high overlap
period.
•Enough delay between the D input and node 2 ensuring
that new data sampled by the master stage does not
propagate through to the slave stage.
•Overlap constrains
– T_overlap 0-0– < tT1 + tI1 + tT2
– Thold > Toverlap1-1
© Digital Integrated Circuits2nd
Sequential Circuits
Other Latches/Registers: C2MOS
VDD VDD
M2 M6
CLK M4 CLK M8
X
D Q
CL1 CL2
CLK M3 CLK M7
M1 M5
Master Stage
M2 M6 M2 M6
0 M4 0 M8
X X
D Q D Q
1 M3 1 M7
M1 M5 M1 M5
Out
In1 In2
PUN
Q Q
In1
PDN
CLK Q
M3 M6 M9
Y
Q
D CLK X CLK
M2 M5 M8
CLK
M1 M4 M7
REG
a a
REG
REG
REG
REG
log Out CLK log Out
CLK
REG
REG
CLK CLK
Reference Pipelined
• Text