DLD Module 3-Sequential Circuit Design Lecture-6
DLD Module 3-Sequential Circuit Design Lecture-6
Module-3
Latches
Flip flops
Flip flop conversions
Finite State Machine – design using mealy and Moore state machines
Sequence detectors and generators design
Shift Registers
Counters-synchronous and asynchronous counters
Ring and Johnson counters
Lecture-6
State Reduction
State Assignment
Sequential Circuit Design: FSM Design
Textbooks
1. M.Morris Mano, Michael D Ciletti, Digital Design, 5th edition, Pearson Publishers, 2013.
2. R.P. Jain, “Modern Digital Electronics”, 4th edition, TMH.
References
1. M.Morris Mano, Charles R. Kime, Tom Martin, Logic and Computer Design Fundamentals, 4th edition,
Pearson Publishers.
2. C. H. Roth and L. L. Kinney, Fundamentals of Logic Design, 5th edition, Cengage Publishers.
Two sequential circuits may exhibit the same input–output behavior but have a different
number of internal states in their state diagram.
The reduction in the number of flip-flops in a sequential circuit is referred to as the state-
reduction problem which means procedures for reducing the number of states in a state
table, without changing external input–output requirements.
In order to design a sequential circuit with physical components, it is necessary to assign unique coded
binary values to the states.
For a circuit with m states, the codes must contain n bits, where 2n ≥ m.
For example, with three bits, it is possible to assign codes to eight states, denoted by binary numbers
000 through 111.
Consider the previous example, the state
table is having 5 states, we must assign
binary values to 8 states; the remaining
states are unused. Hence, unused are
treated as don’t-care conditions during the
design.
Design procedures or methodologies specify the hardware that will implement a desired
behavior.
Design of clocked sequential circuits is very much the opposite of the analysis.
The design of a clocked sequential circuit starts from a set of specifications and culminates
in a logic diagram or a list of Boolean functions from which the logic diagram can be
obtained.
The first step in the design of sequential circuits is to obtain a state table or an equivalent
representation, such as a state diagram.
Design Procedure:
1. From the word description and specifications of the desired operation, derive a state diagram for the
circuit.
2. Reduce the number of states if necessary (State reduction to reduce the number of Flip-flops).
3. Assign binary values to the states. (State Assignment)
4. Obtain the binary-coded state table.
5. Choose the type of flip-flops to be used.
6. Derive the simplified flip-flop input equations and output equations.
7. Draw the logic diagram.
Steps 4 through 7 in the design is accomplished by exact algorithms and is automated. This part of the
design procedure is known as synthesis.
Solution:
Here, two D flip-flops are used to represent the 4 states, and we label
their outputs as A and B. There is one input x and one output y.
The characteristic equation of the D flip-flop is
Q(t + 1) = DQ
which means that the next-state values in the state table specify the D input of the flip-flop.
State Assignment
The flip-flop input equations can be obtained directly from the next-state columns of A and B and
expressed in sum-of-minterms form
Q(t + 1) = DQ
DQ Q(t+1)