Logo
All chapters
Volume II: Digital Logic  ›  Synchronous Sequential Logic

Analysis of Clocked Sequential Circuits

Given a sequential circuit, derive its state table, state diagram, and behavior.

PrevFlip-Flops
NextSynthesizable HDL Models

Description

The reverse-engineering of a clocked circuit into equations, a state table, and a diagram. You must predict exactly how an existing circuit behaves over time. Write flip-flop input equations → next-state equations → state table → state diagram.

  • Write each flip-flop's input equations from the logic.
  • Substitute into the characteristic equation → next-state equations.
  • Build the state table (present state + input → next state + output).
  • Draw the state diagram from the table.
  • Moore outputs depend on state only — labels sit on the state nodes.
  • Mealy outputs depend on state and input — labels sit on the transitions.
  • What: The reverse-engineering of a clocked circuit into equations, a state table, and a diagram.
  • Why: You must predict exactly how an existing circuit behaves over time.
  • How: Write flip-flop input equations → next-state equations → state table → state diagram.
  • Where: Verifying designs, reading legacy schematics, exam analysis problems.

At a glance

What

The reverse-engineering of a clocked circuit into equations, a state table, and a diagram.

Why

You must predict exactly how an existing circuit behaves over time.

How

Write flip-flop input equations → next-state equations → state table → state diagram.

Where

Verifying designs, reading legacy schematics, exam analysis problems.

When

Any time you need the behavior of a given sequential circuit.

Think of it like…

Analysis is like reading sheet music to predict the tune: the equations are the notes, the state diagram is the melody you can now hum before playing.

Analysis steps

  • Write each flip-flop's input equations from the logic.
  • Substitute into the characteristic equation → next-state equations.
  • Build the state table (present state + input → next state + output).
  • Draw the state diagram from the table.

Mealy vs Moore in analysis

  • Moore outputs depend on state only — labels sit on the state nodes.
  • Mealy outputs depend on state and input — labels sit on the transitions.

State table shape

Present stateInputNext stateOutput
S00S00
S01S10
S10S00
S11S11

The 5 Whys

  1. 1

    Why analyze? To know exactly how a built circuit behaves.

  2. 2

    Why next-state equations? They capture where the machine goes each clock.

  3. 3

    Why a state table? It enumerates every present-state/input case.

  4. 4

    Why a state diagram? A picture makes the behavior graspable.

  5. 5

    Root cause: equations → table → diagram is the bridge from gates to behavior.

Cheat sheet

Working principle

  • Write flip-flop input equations → next-state equations → state table → state diagram.
  • The reverse-engineering of a clocked circuit into equations, a state table, and a diagram.

Key facts

  • Write each flip-flop's input equations from the logic.
  • Moore outputs depend on state only — labels sit on the state nodes.

Why it exists

  • Root cause: equations → table → diagram is the bridge from gates to behavior.
PrevFlip-Flops
NextSynthesizable HDL Models