Skip to content

VLSIFacts

Let's Program the Transistors

  • Home
  • DHD
    • Digital Electronics
    • Fault Tolerant System Design
    • TLM
    • Verification
    • Verilog
    • VHDL
    • Xilinx
  • Embedded System
    • 8085 uP
    • 8086 uP
    • 8051 uC
  • VLSI Technology
    • Analog Electronics
    • Memory Devices
    • VLSI Circuits
  • Interview
    • Interview Experience
    • Training Experience
    • Question Bank
  • Notifications
  • QUIZ
  • Community
  • Job Board
  • Contact Us

State Machine Synthesis

Posted on February 3, 2016June 17, 2025 By vlsifacts No Comments on State Machine Synthesis

State machine synthesis is a process of of boiling down a state machine to a digital logic circuit.

Steps in State Machine Synthesis

  1. Convert the description into state machine
  2. Find out the equivalent states and minimize the state machine
  3. Encode the states
  4. Chose a set of flipflops for state register
  5. Use the excitation table to arrive at the input specification of the combinational logic
  6. Synthesize the combinational logic

Let’s achieve the state machine realization of the following state diagram

A Mealy State Machine for Synthesis
A Mealy State Machine for Synthesis

Let’s assume that we have completed the first two steps mentioned above and achieved a minimized Mealy state machine as shown above. We would synthesize this state machine using T-Flipflops.

The next step is to encode the states. For 3 states:

State          Encoding

   A                     00

   B                     01

   C                     10

The state register will be the combination of 2 T Flipflops. Now we have to design the combinational logic which would generate the output and help generating the next state (NS).

Mealy State Machine Block Diagram
Mealy State Machine Block Diagram

Let’s draw the state transition table using the Excitation table of T flipflop

PS
Q2(t)  Q1(t)
X
Input
NS
Q2(t+1)  Q1(t+1)
Excite (T)
T2  T1
Y
Output
   0        0  0 0             1   0    1      1
   0        0  1 1             0   1    0      0
   0        1  0 0             0   0    1      0
   0        1  1 0             0   0    1      0
   1        0  0 0             0   1    0      1
   1        0  1 0             1   1    1      1

Now to realize the combinational logic we have to find out the Boolean expression for 3 output variables (of the above table) T2, T1 and Y in terms of 3 input variable Q2(t), Q1(t) and X.

T2T1
T2
T1
Y Boolean Expressions
 
Y
T2 = Q2(t) + Q1′(t)X

T1 = Q1(t) + Q2(t)X + Q2′(t)X’

Y = Q2(t) + Q1′(t)X’

 Let’s draw the respective circuit diagram for the given state machine.

Circuit diagram of synthesized State Machine

Spread the Word

  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on X (Opens in new window) X
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to email a link to a friend (Opens in new window) Email
  • Click to print (Opens in new window) Print

Like this:

Like Loading...

Discover more from VLSIFacts

Subscribe to get the latest posts sent to your email.

Related posts:

  1. Mealy Vs. Moore Machine
  2. Mealy to Moore and Moore to Mealy Transformation
  3. State Machine Diagram for Pattern Recognition / Sequence Detector
  4. Circuit Design of a Sequence Detector
DHD, Digital Electronics Tags:Circuit Realization of State machine, FSM, Mealy Machine, Moore Machine, State Machine Synthesis

Post navigation

Previous Post: Truth Tables, Characteristic Equations and Excitation Tables of Different Flipflops
Next Post: State Machine Diagram for Pattern Recognition / Sequence Detector

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Top Posts & Pages

  • Circuit Design of a 4-bit Binary Counter Using D Flip-flops
  • NAND and NOR gate using CMOS Technology
  • AND and OR gate using CMOS Technology
  • Step-by-Step Guide to Running Lint Checks, Catching Errors, and Fixing Them: Industrial Best Practices with Examples
  • How to Implement a Finite State Machine (FSM) in Verilog: Practical Examples and Best Practices

Copyright © 2025 VLSIFacts.

Powered by PressBook WordPress theme

%d