Sequential Circuit Design: Unit 4
Sequential Circuit Design: Unit 4
asia
UNIT 4
Sequential Circuit Design
Steps in the design process for sequential circuits
State Diagrams and State Tables
Examples
o 2. Formulation: Generate a state diagram and/or a state table from the statement of the
problem.
o 3. State Assignment: From a state table assign binary codes to the states.
o 4. Flip-flop Input Equation Generation: Select the type of flip-flop for the circuit and
generate the needed input for the required state transitions
o 5. Output Equation Generation: Derive output logic equations for generation of the
output from the inputs and current state.
o 6. Optimization: Optimize the input and output equations. Today, CAD systems are
typically used for this in real systems.
o 7. Technology Mapping: Generate a logic diagram of the circuit using ANDs, ORs,
Inverters, and F/Fs.
Moore machine: The outputs of the circuit depend only upon the current state of the circuit.
Mealy machine: The outputs of the circuit depend upon both the current state of the circuit and
the inputs.
jntuworldupdates.org Specworld.in
Smartzworld.com Smartworld.asia
o State A – the last input was a 0 and previous inputs unknown. Can also be the reset state.
o State B – the last input was a 1 and the previous input was a 0. The start of a new
sequence possibly.
o The notation Input/Output on the line or arc specifies the input that causes this transition
and the output for this change of state.
o Add a state C – Have detected the input sequence 11 which is the start of the sequence
jntuworldupdates.org Specworld.in
Smartzworld.com Smartworld.asia
Add a state D
o State D – have detected the 3rd input in the start of a sequence, a 0, now having 110.
From State D, if the next input is a 1 the sequence has been detected and a 1 is output.
jntuworldupdates.org Specworld.in
Smartzworld.com Smartworld.asia
jntuworldupdates.org Specworld.in
Smartzworld.com Smartworld.asia
jntuworldupdates.org Specworld.in
Smartzworld.com Smartworld.asia
A counter can count occurrences of events and can generate timing intervals for control purposes
jntuworldupdates.org Specworld.in
Smartzworld.com Smartworld.asia
jntuworldupdates.org Specworld.in
Smartzworld.com Smartworld.asia
Counters
• Counters are a specific type of sequential circuit.
• Like registers, the state, or the flip-flop values themselves, serves as the “output.”
Benefits of counters
• Counters can act as simple clocks to keep track of “time.”
• You may need to record how many times something has happened.
– Programs consist of a list of instructions that are to be executed one after another (for the
most part).
– The PC increments once on each clock cycle, and the next program instruction is then
executed.
jntuworldupdates.org Specworld.in
Smartzworld.com Smartworld.asia
A Three-Bit Up-Counter
Q1 is connected to clk, Q2 and Q3 are clocked by Q’ of the preceding stage (hence called
asynchronous or ripple counter
A Three-Bit Down-Counter
jntuworldupdates.org Specworld.in