D
David T. Ashley
Guest
Davy wrote:
http://www.cs.umd.edu/class/spring2003/cmsc311/Notes/Seq/fsm.html
Once you get beyond that, there are hierarchical state machines, timed
automata, etc. It depends on what you are trying to do with the model
(generate code, verify properties, both, neither, etc.).
The goal of most modeling frameworks is to allow enough modeling
richness that humans can understand the model, and allow enough
independence that models can be reused in other systems. That first one
is a losing battle--humans aren't good at understanding all possible
behaviors of stateful systems.
Generally, all state machines are equivalent regardless of the modeling
framework. There are algorithms to convert from various formalisms to
various other formalisms.
As far as the construction of software, the absolute minimization of
state is usually more important than the modeling framework. There is
much to say in that department, but you didn't ask.
State machine design is very important in embedded systems.
------------------------------------------------------------
David T. Ashley (dta@e3ft.com)
http://www.e3ft.com (Consulting Home Page)
http://www.dtashley.com (Personal Home Page)
http://gpl.e3ft.com (GPL Publications and Projects)
Generally state machines are divided into Mealy and Moore:Hi all,
I found there are transition and reaction in FSM/HSM. I only know there
is state transition in FSM. What's reaction mean? And what's there
difference?
BTW, I am studing Statecharts (or called Hierarchical State Machine,
i.e. HSM). Is it useful in software/hardware design?
Any suggestions are welcome!
Best regards,
Davy
http://www.cs.umd.edu/class/spring2003/cmsc311/Notes/Seq/fsm.html
Once you get beyond that, there are hierarchical state machines, timed
automata, etc. It depends on what you are trying to do with the model
(generate code, verify properties, both, neither, etc.).
The goal of most modeling frameworks is to allow enough modeling
richness that humans can understand the model, and allow enough
independence that models can be reused in other systems. That first one
is a losing battle--humans aren't good at understanding all possible
behaviors of stateful systems.
Generally, all state machines are equivalent regardless of the modeling
framework. There are algorithms to convert from various formalisms to
various other formalisms.
As far as the construction of software, the absolute minimization of
state is usually more important than the modeling framework. There is
much to say in that department, but you didn't ask.
State machine design is very important in embedded systems.
------------------------------------------------------------
David T. Ashley (dta@e3ft.com)
http://www.e3ft.com (Consulting Home Page)
http://www.dtashley.com (Personal Home Page)
http://gpl.e3ft.com (GPL Publications and Projects)