Parallel executing FSMs as Hierarchical FSMs

Parallel executing FSMs as Hierarchical FSMs

Post by hire » Mon, 28 Mar 2005 12:09:55


Hackers,

I am trying to create a model with an FSM where one of the states is a refinement that should contain two FSMs that execute in parallel. Is there a way to do this with only the FSM domains using hierarchy? Otherwise, how would I go about modeling this if a combination of MoCs is required?

----------------------------------------------------------------------------
Posted to the ptolemy-hackers mailing list. Please send administrative
mail for this list to: XXXX@XXXXX.COM
 
 
 

Parallel executing FSMs as Hierarchical FSMs

Post by eal » Wed, 30 Mar 2005 00:48:50


Do the two FSMs communicate? If so, you need to specify
a model of computation, which means they should be inside a composite
with a director. E.g., using the SRDirector will give you semantics
similar to Statecharts.

If they do not communicate, and you just want to execute them sequentially,
then you can simply create two refinements to the current state, each of
which contains a state machine...

Edward



------------
Edward A. Lee
Professor, Chair of the EE Division, Associate Chair of EECS
231 Cory Hall, UC Berkeley, Berkeley, CA 94720
phone: 510-642-0253 or 510-642-0455, fax: 510-642-2845
XXXX@XXXXX.COM , http://www.yqcomputer.com/ ~eal


----------------------------------------------------------------------------
Posted to the ptolemy-hackers mailing list. Please send administrative
mail for this list to: XXXX@XXXXX.COM