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
At 10:09 PM 3/26/2005 -0500, Hiren Patel wrote:
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: [EMAIL PROTECTED]
------------
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
[EMAIL PROTECTED], http://ptolemy.eecs.berkeley.edu/~eal
---------------------------------------------------------------------------- Posted to the ptolemy-hackers mailing list. Please send administrative mail for this list to: [EMAIL PROTECTED]