8. Sequential Circuits
8. Sequential Circuits
Contents
1. Combinational circuits Vs Sequential Circuits
2. Main Components of Sequential Circuits
3. Asynchronous vs Synchronous Sequential Circuits
4. Clock Signal
5. Synchronous Sequential Circuits types (4)
6. latch and flip-flop
7. Flip-flop
8. S-R, J-K, T, D Flip Flops
9. Flipflop Conversions
Sequential Circuits
• Sequential circuits are digital circuits in which the output will depend not only on the
current input, but also on the previous state of the output.
• Sequential circuits previous state stored in memory elements and use the previous state
information to determine their next state.
• Memory Elements: In RAM and other storage devices to keep data in a temporary hold.
• State Machines: Made use in control systems, communication processes, and different
digital devices for state control.
• Asynchronous Sequential Circuits do not use a • Synchronous sequential circuits, change in input can
clock signal but uses the pulses of the inputs. affect the memory elements only upon the activation
of the clock pulse. The memory units are clocked
• These Circuits operates using the input pulses that flip-flops.
means their output state changes with the change in
• These circuit will change its state for every clock
the input pulses.
pulse. Hence it is also called clocked sequential
• The change in input signals can affect the memory circuits.
element at any instant of time. These Circuits • In synchronous sequential circuits, the duration of the
respond to the change in the input immediately. output pulse is equivalent to the duration of the clock
pulse applied.
Sequential Circuits -Clock Signal
Clock Signal
• Synchronous sequential circuits have several inputs and several of outputs, and there is a
special signal (control or timing signal) which is commonly known as the clock signal.
• A clock signal is a periodic signal, and it has some portions are low (OFF time), and some
other portions are high (ON time). It has a points where the signal is going from high to
low and low to high.
• The ON time and OFF time need not be the same. When ON time and OFF time of the
clock signal are the same, then it is a square wave.
• Clock signal repeats with a certain time period, which will be equal to the sum of 'ON
time’ and 'OFF time’. Duty cycle is the ratio of ON time with Time period.
Synchronous Sequential Circuits
• The Synchronous Sequential Circuits can be further classified into two types:
1. Level Triggered Sequential Circuits.
2. Edge Triggered Sequential Circuits:
Positive (High) Level Triggering
Level
triggering
(Latches) Negative (Low) Level Triggering
Synchronous
Sequential
Positive(Rising) Edge Triggering
circuits
Edge
Triggering Negative(Falling) Edge Triggering
(Flip-flops)
Dual Edge Triggering
1. Level Triggered Sequential Circuits
• There are two levels present in the clock signal – the logic Low and the logic High.
• The circuit is only activated in the case of a level triggering whenever the clock pulse
happens to be at any particular level.
Positive Level Triggering
1. Positive Level Triggering: In this type of
triggering, the circuit gets change state when
it is high time in the clock cycle, i.e. when
the clock signal is high.
• Two major types of transitions occur in the case of edge triggering clock signals. i.e.,
transition either from Logic Low to Logic High (rising edge ) or Logic High to Logic
Low (falling edge).
Truth Table
CLK S R Qn+1 State
0 X X Qn No Change
1 0 0 Qn No Change
1 0 1 0 Reset
1 1 0 1 Set
Forbidden
1 1 1 Invalid
state
S-R Flip Flop
Characteristics (Excitation) Table
S R Q(n) Q(n+1)
0 0 0 0
0 0 1 1
0 1 0 0
0 1 1 0
1 0 0 1
1 0 1 1
1 1 0 X
Characteristics Equation: Q(n+1)=S+R′Q(t)
1 1 1 X
The main limitation is the undefined state when both S and R are 1, so practical circuits often avoid this
by adding additional logic to prevent this condition.
J-K Flip Flop
• The JK flip-flop overcomes limitation of the SR flip-flop by allowing toggling of states
without an invalid state, which makes it versatile for sequential logic designs.
• The operation of the JK flip-flop is similar to the SR flip-flop.
• If both J and K are high, then at the clock edge, the output will toggle from one state to
the other.
J K Q State
No
0 0 0
Change
0 1 0 Reset
1 0 1 Set
1 1 Toggles Toggle
J K Q(t) Q(t+1)
0 0 0 0
0 0 1 1
0 1 0 0
0 1 1 0
1 0 0 1
1 0 1 1
1 1 0 1
Characteristics Equation: Q(t+1)= JQ(t)′+K′Q(t) 1 1 1 0
• Operation of JK Flip-Flop: The behavior of a JK flip-flop depends on the values of J, K, and the clock
pulse. The state transition occurs at the active edge (either rising or falling) of the clock signal.
1. J = 0, K = 0 (No Change): When both J and K are 0, the flip-flop retains its previous state.
2. J = 0, K = 1 (Reset): The output Q is reset to 0, regardless of its previous state.
3. J = 1, K = 0 (Set): The output Q is set to 1, regardless of its previous state.
4. J = 1, K = 1 (Toggle): The output Q toggles to the opposite state with each clock pulse. If Q was 0, it
becomes 1, and if Q was 1, it becomes 0
T Qn Q n+1 Description
0 0 0 No change
0 1 1 No change
1 0 1 Toggle (0 to 1)
1 1 0 Toggle (1 to 0)