Static Sequential Circuits
Static Sequential Circuits
[Adapted from Prof. Mary Jane Irwin’s slides, Rabaey’s Digital Integrated
Circuits, Second Edition, ©2003 J. Rabaey, A. Chandrakasan, B. Nikolic]
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
useful when updates are infrequent (clock gating)
Dynamic storage
store state on parasitic capacitors
only hold state for short periods of time (milliseconds)
require periodic refresh
usually simpler, so higher speed and lower power
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
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 ET 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)
Power PC Flipflop
!clk clk
1D Q 0 1
0 1 1 0 1 0
clk !clk
!clk
Reduced Load MS ET 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
I1 I3
QM
D T1 T2 Q
I2 I4
!clk clk
reverse conduction
clk clk
!clk !clk
1-1 overlap
0-0 overlap