syedshan
Advanced Member level 1
- Joined
- Feb 27, 2012
- Messages
- 463
- Helped
- 27
- Reputation
- 54
- Reaction score
- 26
- Trophy points
- 1,308
- Location
- Jeonju, South Korea
- Activity points
- 5,134
Hi all
This is kind of urgent since I made a terrible mistake in my design and was designing using the timing diagram, but did not made the state machine. Now the bugs are terrible and I cannot fix them. I do one fix the other thing occurs so I urgently will redesign using state machine.
Having said that. I have only undergrad state machine experience of only 1 or 2 programs and that too have long time ago. So please assist me in understanding few things although I looked
1. Are Mooore and Mealy machines interchangeable. Since my design would have inputs that WILL effect the states, but they are multiple inputs hence using MEALY machine can I have multuple inputs?
2. What if I use MOORE machine and give inputs to it as well...
3. can we have state machine inside state machine (of course while programing any thing we can do, but I ask this because is this normal practice for complex systems or is it never used)
I will also look for examples over web. Meanwhile if can, then please do reply.
I will appreciate
Bests
Shan
- - - Updated - - -
Moore Machine
Meale Machine
hence I am confused. as now I have understood my design output does not change instantly as the input changes but (i.e. as in Mealy) but input will affect the final output ofcourse. Hence combination of mealy and moore???
This is kind of urgent since I made a terrible mistake in my design and was designing using the timing diagram, but did not made the state machine. Now the bugs are terrible and I cannot fix them. I do one fix the other thing occurs so I urgently will redesign using state machine.
Having said that. I have only undergrad state machine experience of only 1 or 2 programs and that too have long time ago. So please assist me in understanding few things although I looked
1. Are Mooore and Mealy machines interchangeable. Since my design would have inputs that WILL effect the states, but they are multiple inputs hence using MEALY machine can I have multuple inputs?
2. What if I use MOORE machine and give inputs to it as well...
3. can we have state machine inside state machine (of course while programing any thing we can do, but I ask this because is this normal practice for complex systems or is it never used)
I will also look for examples over web. Meanwhile if can, then please do reply.
I will appreciate
Bests
Shan
- - - Updated - - -
Moore Machine
-- A Moore machine's outputs are dependent only on the current state. The output is written only when the state changes. (State transitions are synchronous.)
Meale Machine
A Mealy machine has outputs that depend on both the state and the inputs. When the inputs change, the outputs are updated immediately, without waiting for a clock edge. The outputs can be written more than once per state or per clock cycle.
hence I am confused. as now I have understood my design output does not change instantly as the input changes but (i.e. as in Mealy) but input will affect the final output ofcourse. Hence combination of mealy and moore???