Finite state machine (summarizing)

In summary, the conversation is discussing the creation of a state diagram for an FSM with 1 serial input and 4 outputs. The FSM must react to a given table and the input/output relationship is shown as a function of the input bits. The conversation also suggests using a gate to achieve the desired output.
  • #1
axcelenator
33
0
Hello, I have an FSM which has 1 serial input and 4 outputs. The FSM must react to the table attaced in file.
I can see that if the input is(for example)4 the output is 7(+3).
I have to draw a state diagram(mealy). I can't solve it. Need some help
Thanks
 

Attachments

  • FSM.png
    FSM.png
    27.5 KB · Views: 448
Physics news on Phys.org
  • #2
I take it that arrow coming into the top is your clock.

Have you recognized the function being performed on the serial string?
If you haven't, look closely. What would you expect if you clocked in 1, 0, 1, 0?

Since the four outputs are a function of the four bits being clocked in, what do you need to do with those input bits?
Let's say that the input/output list looked like this:
0,0,0,0 => 0 0 0 0
0,0,0,1 => 0 0 0 1
0,0,1,0 => 0 0 1 0
0,0,1,1 => 0 0 1 1
0,1,0,0 => 0 1 0 0
... => ...
What kind of gate would do that for you?
 

Related to Finite state machine (summarizing)

What is a Finite State Machine?

A Finite State Machine (FSM) is a mathematical model used to represent a system that can exist in a finite number of states at any given time. It consists of a set of states, a set of inputs, a set of outputs, and a set of rules that dictate how the system transitions from one state to another in response to inputs.

What are the components of a Finite State Machine?

The components of a Finite State Machine include:

  • States: The distinct conditions that the system can be in.
  • Inputs: The events or stimuli that cause the system to transition from one state to another.
  • Outputs: The results or actions that occur when the system transitions to a new state.
  • Transitions: The rules or conditions that determine how the system moves from one state to another.

How is a Finite State Machine represented?

A Finite State Machine can be represented visually using a state diagram or graph, where each state is represented by a node and the transitions between states are represented by edges. It can also be represented using a table, where the rows correspond to states and the columns correspond to inputs, with each cell indicating the next state or output.

What is the purpose of a Finite State Machine?

The purpose of a Finite State Machine is to model and control systems that have a finite number of possible states. It is commonly used in computer science, engineering, and other fields to design and analyze systems that exhibit complex behavior.

What are the advantages of using a Finite State Machine?

Some potential advantages of using a Finite State Machine include:

  • It provides a clear and concise representation of a system's behavior.
  • It can help identify and prevent errors or unintended behavior.
  • It can be used to design and analyze complex systems in a systematic way.
  • It can be implemented in software using a variety of programming languages.

Similar threads

Replies
5
Views
3K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
2K
Replies
1
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
10
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
4
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
17
Views
5K
  • Engineering and Comp Sci Homework Help
Replies
14
Views
4K
  • Engineering and Comp Sci Homework Help
Replies
18
Views
8K
  • Engineering and Comp Sci Homework Help
Replies
31
Views
3K
  • Engineering and Comp Sci Homework Help
Replies
4
Views
1K
Back
Top