Openframe Statement
This statement opens a new frame to run concurrently with the calling ProcExec.
This statement has the following syntax:
[GhostExec_object =] openframe framename ([parameterlist])
[withclause];
The openframe statement opens a new frame in a separate OpenROAD thread that runs concurrently with the calling ProcExec.
Because the value of framename is a dynamic name, you can use an actual frame name or a variable that resolves to a frame name at runtime. If you use an actual frame name, OpenROAD resolves the reference at compile time. If you use a variable, OpenROAD resolves the reference at runtime. This difference in the timing of name resolution has an important consequence when the openframe statement is executed inside an included application.
You can send the GhostExec object reference of the calling GhostExec or FrameExec (the CurFrame variable) as a parameter to the opened frame so that it can communicate with the calling frame.
You may nest opened frames. That is, a called frame can call or open another frame, and so on. You also cannot use the openframe statement in an expression.
For more information about communicating between frames, see the Programming Guide.