Sequential Logic Circuits2
Sequential Logic Circuits2
The output of a sequential logic circuit is dependent not only on the present inputs, but
also on the past sequence of the inputs.
A sequential logic circuit must “remember” the past history of the inputs.
It does this using basic memory elements.
– Latches
– Flip-Flops
● Flip-Flop
– Clock input is edge sensitive.
SR Latch: Behavior
2
Page
Characteristic Equation: Q+ = D
SR Flip-Flop
9
Page
Characteristic Equation:
Q+ = J.Q' + K'.Q
T Flip-Flop
The Toggle (T) Flip-Flop has two inputs
– Clock (Ck) --- denoted by the small arrowhead
– Toggle (T)
● The T input controls the state change
– when T = 0, the state does not change (Q+ = Q)
– when T = 1, the state changes following an active clock edge (Q+ = Q')
● T Flip-Flops are often used in the design of counters.
10
Page
Building a T Flip-Flop
11
Page
• Obtain the truth table of the logic sequence for intended counter to be
• From the excitation table of the flip-flop, determine the next state logic.
• From the output state, use Karnaugh map for simplification to derive the circuit output
functions and the flip-flop output functions.
x
D Q A
D Q B
CLK Q
A(t+1) = DA
=Ax+Bx
B(t+1) = DB
= A’(t) x(t)
= A’ x
= (A + B) x’
Page
State Diagram
24
Page
J Q A
x K Q
J Q B JA = B KA = B x’
JB = x’ KB = A x
K Q
CLK
= A’B + AB’ + Ax
Present Next
input Flip Flop inputs
state state
A B X A B JA KA JB KB
0 0 0 0 1 0 0 1 0
0 0 1 0 0 0 0 0 1
0 1 0 1 1 1 1 1 0
0 1 1 1 0 1 0 0 1
1 0 0 1 1 0 0 1 1
1 0 1 1 0 0 0 0 0
1 1 0 0 0 1 1 1 1
1 1 1 1 1 1 0 0 0
25
Page
TA = A + B
TB = A’ + B
Q(next)= T’Q+TQ’
B(next) = TBB + TBB= (A+ B)B + (A+ B)B= ABB + AB+ BB
= 0 + AB+ 0= AB
26
Page