Electrical – State Table & Karnaugh-map for Finite State Machine

karnaugh mapstate-machines

I am trying to create a Finite State Machine that is able to check if a number string is valid. For example, it would accept 3, 4.65 or 8.93e-10. So far I have created a transition table for the machine as follows:
TT

This is the state diagram of the machine:
FSM

I am having trouble understanding on how to create the state table that I can then use to create the Karnaugh-map for this machine. I understand that I would have to convert the state and transition values into their binary equivalent and then list the inputs and outputs for each state.

I would appreciate if someone could guide me in the process of creating a state table that can then be used to create a Karnaugh-map.

Best Answer

A state-transition table is very similar to a truth table for combinational logic. On the input side you have a column for each bit in the state encoding and for all of the inputs. So you need to pick a state encoding and understand what the other inputs will be. Your table must then have a row for every possible combination of the current state value and the input signals, although you can use "don't care" entries for the inputs in some cases.

On the output side of the state-transition table you show the required value of the state bits for the desired next state. At that point you can use the usual techniques for optimizing the logic implementation.