Static Sequential XI
Static Sequential XI
Sequential Logic
Inputs Outputs
Combinational
Logic
Current Next
Registers
State State State
clock
Timing Metrics
In D Q Out
clock
clock
In data
stable
tc-q time
Inputs Outputs
Combinational
Logic
Current Next
Registers
State State
State
T (clock period)
clock
Static storage
preserve state as long as the power is on
have positive feedback (regeneration) with an internal
connection between the output and the input
Dynamic storage
store state on parasitic capacitors
only hold state for short periods of time (milliseconds)
require periodic refresh
usually simpler, cheaper with higher density
Latches vs Flipflops
Latches
level sensitive circuit that passes inputs to Q when the clock is
high (or low) - transparent mode
input sampled on the falling edge of the clock is held stable
when clock is low (or high) - hold mode
Flipflops (edge-triggered)
edge sensitive circuits that sample the inputs on a clock
transition
- positive edge-triggered: 0 1
- negative edge-triggered: 1 0
built using latches (e.g., master-slave flipflops)
Positive and Negative Latches
In D Q Out In D Q Out
clock clock
clk clk
In In
Out Out
Review: The Regenerative Property
Vi1 Vo1 Vi2 Vo2
cascaded inverters
Vi2 = Vo1
S R Q !Q
S 0 0 Q !Q memory
!Q
1 0 1 0 set
0 1 0 1 reset
Q
R 1 1 0 0 disallowed
Review : Clocked D Latch
D
!Q
D Latch
Q
D Q
clock
clock
hold mode
MUX Based Latches
Change the stored value by cutting the feedback loop
feedback feedback
1 0
Q Q
D 0 D 1
clk clk
clk
!clk
input sampled
D (transparent mode)
clk
clk
D Latch
D Q
!clk
clk feedback
(hold mode)
PT MUX Based Latch Implementation
clk !Q
D Q
input sampled
(transparent mode)
!clk
Combinational
Logic B
B B’
Registers clk
State
D FF
D Q
0
1 Q clock
1
QM
D 0
clk clk
clk
Slave D
Master
I2 T2 I3 I5 T4 I6 Q
QM
I1 T1 I4 T3
D
clk
!clk
MS Timing Properties
3
Q
2.5
2 tsu = 0.21 ns
QM
1.5 tsetup
Volts
1 D clk
0.5
I2 out
0
3
Q
2.5
I2 out tsu = 0.20 ns
2
1.5 tsetup
Volts
1 D clk
0.5
QM
0
-0.5 fails
0 0.2 0.4 0.6 0.8 1
Time (ns)
Propagation Delay Simulation
2.5
-0.5
0 0.5 1 1.5 2 2.5
Time (ns)
Reduced Load MS FF
Clock load per register is important since it directly
impacts the power dissipation of the clock network
Can reduce the clock load (at the cost of robustness) by
making the circuit ratioed
clk !clk
I3
QM
D T1 T2 Q
I2 I4
!clk clk
reverse conduction
clk clk
!clk !clk
1-1 overlap
0-0 overlap
Example of Clock Skew Problems
X !clk Q
clk
P1 A P3 I3 I4 !Q
D I1 I2
B
P2 P4
!clk clk
P1 A P3 I3 I4 !Q
D I1 I2
B
P2 P4
clk2 clk1
dynamic
master transparent storage
slave hold
clk B
clk2
clk1
clk2
Ratioed CMOS Clocked SR Latch
off on on off
M2 M4
Q 1 0
1 0 !Q
off on off on
0 1 clk M6 M8 clk 0 1
M1 M3
on off off on
0 S M5 M7 R1
off on
Sizing Issues
1.5
so W/L5and6 > 3
!Q (Volts)
0.5
0
2 2.5 3 3.5 4
W/L5and6
W/L2and4 = 1.5m/0.25 m
W/L1and3 = 0.5m/0.25 m
6 Transistor CMOS SR Latch
clk clk
R S
clk
clk M2 M4
Q M6 S
M5 !Q
R
M1 M3
6T SRAM Cell
WL
WL M2 M4
Q M6
M5 !Q BL
BL
M1 M3