PROJECTENGRAM

SEQUENTIAL CIRCUIT - ANALYSIS

Sequential Circuit - Analysis

Tags: #◇Computer Science #◇CSARCH1 #◇Problem Solving #◇M5


◇Overview

Analysis of a synchronous sequential circuit entails determining its behavior from a given logic circuit, moving ultimately to its state diagram.
The maximum number of values an n-bit memory can store is 2^n. This is also the maximum number of states a sequential circuit with n flip-flops can have.

Steps to analyze:

  1. Solve for flip-flop input equations (if not given).
  2. Create the state transition table.
  3. Draw the state transition diagram.

◇Finite State Machines

Mealy Finite State Machine

  • Output is a function of both the present state and the input.
  • The state diagram shows both input and output values along the directed lines (e.g., input/output).
  • Outputs may change if inputs change during the clock cycle.
  • May produce momentary false values (glitches) due to combinational delays before the active clock edge.

Moore Finite State Machine

  • Output is a function of only the present state.
  • The state diagram usually shows the outputs inside the circles along with the state name. The directed lines only show the inputs.
  • Outputs are strictly synchronized with the clock.

◇Important Formulas

Flip-Flop Characteristic Tables

D Flip-Flop:

DQ(t+1)
00
11

T Flip-Flop:

TQ(t+1)
0Q(t)
1Q'(t)

JK Flip-Flop:

JKQ(t+1)
00Q(t)
010
101
11Q'(t)

SR Flip-Flop:

SRQ(t+1)
00Q(t)
010
101
11Indeterminate

◇Worked Examples

Example 1: D Flip-Flop Analysis

Given 2 D Flip-Flops (A, B); input: x, output: y.
Input equations:

  • DA = Ax + Bx
  • DB = A'x
  • y = (A+B)x' = Ax' + Bx'

Derive the State Table by evaluating DA and DB for every combination of A, B, and x, which gives the next states A(t+1) and B(t+1).

Example 2: JK Flip-Flop Analysis

Given 2 JK Flip-Flops (A, B); input: x.
Input equations:

  • JA = B
  • KA = Bx'
  • JB = x'
  • KB = A ⊕ x = Ax' + A'x

Determine next states using the JK characteristic table.

Example 3: T Flip-Flop Analysis

Given 2 T Flip-Flops (A, B); input: x, output: y.
Input equations:

  • TA = Bx
  • TB = x
  • y = AB

Determine next states using the T characteristic table. (This represents a Moore Machine where output y depends only on states A and B).

◇References & Navigation

CONFIRMATION // 理解度の確認

ACTIVE RECALL VERIFICATION

Select an answer to verify conceptual comprehension and reveal the technical rationale.

Q1

What is the maximum number of states a sequential circuit with n flip-flops can have?

Q2

What is the first step in analyzing a synchronous sequential circuit if the flip-flop input equations are not given?

Q3

What distinguishes a Mealy Finite State Machine from a Moore FSM?

Q4

In a Moore Finite State Machine, the output depends entirely on:

Q5

Where are outputs typically indicated in the state diagram of a Mealy machine?

Q6

In a Moore machine's state diagram, where are the outputs typically shown?

Q7

Why might the output of a Mealy machine have momentary false values (glitches)?

Q8

When analyzing a circuit with JK flip-flops, what is needed to determine the next state from the present state and inputs?

Q9

What is the characteristic equation for a T flip-flop?

Q10

Which of the following equations accurately represents a D flip-flop's behavior?

Sequential Circuit - Analysis | PROJECT ENGRAM