Understanding State Machines: Converting Logic Problems into K Maps

  • Thread starter Thread starter orangeincup
  • Start date Start date
  • Tags Tags
    Digital Logic Map
Click For Summary

Discussion Overview

The discussion revolves around understanding the conversion of logic problems into state transition tables and K maps, specifically in the context of designing a sequential logic machine. Participants explore how to interpret a state transition table and the underlying principles of state machines.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification
  • Homework-related

Main Points Raised

  • One participant questions how a state transition table was created from the provided information, expressing familiarity with K maps and truth tables but uncertainty about the conversion process.
  • Another participant clarifies that the table in question is a state transition table, explaining that the state changes with new inputs and detailing how the output is represented.
  • A participant acknowledges understanding of the state transition table but seeks clarification on how the specific values were determined from the initial information.
  • One participant proposes rules for state transitions based on the input values, suggesting that the state reflects the count of ones in the input.
  • There is a repeated inquiry about whether the rules discussed are universally applicable to all state machines or specific to the current problem.
  • A later reply asserts that the principles of state machines are generally applicable, emphasizing the importance of understanding state transitions and their representation.

Areas of Agreement / Disagreement

Participants generally agree on the nature of state transition tables and their function within state machines. However, there remains uncertainty regarding the specific conversion process and whether the discussed rules apply universally to all state machines.

Contextual Notes

Some participants express limitations in understanding how the specific values in the state transition table were derived, indicating a potential gap in the information provided in the original problem.

orangeincup
Messages
121
Reaction score
0
So I was reading my book and I came across a table, I don't understand how they converted the problem into a table.
They're designing a sequential logic machine and it looks like they made a K map of something, but I don't know what they used. Can anyone explain how the book did this conversion? It doesn't explain anything about it. I understand K maps and truth tables and stuff, but I don't know what they used to create this k-map(if it even is one, I just noticed it said 00, 01, 11, 10 which usually means K map)
 

Attachments

  • dflip.png
    dflip.png
    132.7 KB · Views: 523
Physics news on Phys.org
Please remember to always use the formatting template for posts in the homework areas.

This is not a K-map. It's a state transition table. The state changes each time a new input (XY) is clocked into the "machine".

At any given time the machine sits in some state S, and when an input XY is clocked in it changes state according to the associated entry in the table. So for example if the machine was currently in state S2 and XY = 01 was clocked in, the machine would transition to state S3. The Z column represents the output that the machine presents to the world in a given state.
 
I was going to use the formatting but I don't think there's any equations involved with this(at least that I've used in digital logic), and the question itself is a picture

I understand what a state transition table is and how it works, what I don't know is how they created the table from just the information above

I understand Z is only 1 when the value is a multiple of 4, but how did they know to the actual values inside the table with just the information given?
S0 S1 S2 S3
S1 S2 S3 S2
S2 ...
S3 ...
 
If XY contains no ones, stay in the same state. If XY contains one one, increase the state by one step number. If XY contains two ones, increase the state by two step numbers. The state reflects the current count of ones.
 
Oh that makes more sense. Is that something I'm suppose to know for all state machines or is it something specific to this question?
 
orangeincup said:
Oh that makes more sense. Is that something I'm suppose to know for all state machines or is it something specific to this question?
Its the way state machines work in general, so it's important to know.

In a state machine the state itself reflects some "knowledge" of what has transpired in the past, and the machine transitions to new states by some set of rules associated with the current state and some input stimulus. There may be various ways to depict the state table, but they all boil down to a list of "where to go from here" when "something" occurs. The form presented in the problem is pretty economical in that regard.
 

Similar threads

  • · Replies 14 ·
Replies
14
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 12 ·
Replies
12
Views
9K
Replies
6
Views
2K
Replies
5
Views
4K
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
6K
Replies
1
Views
4K