Is a K-map Sufficient for State Minimization in Digital Circuits?

  • Thread starter Thread starter jazzel70
  • Start date Start date
  • Tags Tags
    State
AI Thread Summary
A K-map can be used for output minimization in digital circuits, but it may not be sufficient for state minimization without first analyzing the state diagram. Drawing the state diagram helps determine if outputs directly correspond to states and if additional logic is necessary. The discussion highlights the importance of accounting for unused states, as they can cause the state machine to stall if not managed properly. It is suggested that unused states should transition back to valid states, ideally the reset state. Overall, a comprehensive approach that includes both state diagrams and K-maps is recommended for effective state minimization.
jazzel70
Messages
6
Reaction score
0
The problem is attached as a picture.

Should I just do a K-map for the output?

All I did was a K-map for the output but I don't think it works
 

Attachments

  • Screen Shot 2013-04-15 at 22.39.26.png
    Screen Shot 2013-04-15 at 22.39.26.png
    8.5 KB · Views: 469
Physics news on Phys.org
jazzel70 said:
The problem is attached as a picture.

Should I just do a K-map for the output?

All I did was a K-map for the output but I don't think it works

I would draw the state diagram first to see if the outputs map directly to states (or if more logic is needed), then use a K-Map to help with minimization.

How many states are in the table? How many bits will it take to encode those states? Are there any unused states left over? If so, you will need to handle that...
 
do you consider the present states when doing the state diagram?
 
jazzel70 said:
do you consider the present states when doing the state diagram?

Yes, you transition between the present state and the next state according to the table, based on the input value.
 
this is what i have done so far
 

Attachments

  • 2013-04-15 23.30.00.jpg
    2013-04-15 23.30.00.jpg
    40.1 KB · Views: 433
is there another way of minimising the number of states?
 
jazzel70 said:
is there another way of minimising the number of states?

The number of states is given in the problem statement. Well, you would also normally add the extra states into the diagram for the unused states (the problem calls for 6 states, which leaves 2 unused states). You cannot allow unused states in a real state machine, because that could cause the machine to stall forever if it ever gets into one of those states. You generally have the unused states have transitions back into the other states (preferably the Reset state).

But in this simpler problem, they don't seem concerned about the unused states. Do you have an initial implementation of the state diagram?
 
Back
Top