next up previous contents index
Next: 4.2.11 Connections Up: 4.2 Textual Syntax Previous: 4.2.9 Importation   Contents   Index

4.2.10 Ports

A PORT descriptor is used to specify a port of a model. Properties of the port are written on separate lines after the descriptor.

Properties name and type are obligatory and must be specified exactly once for each port. buffer is optional (not implemented currently).


Table 4.11: An example of the textual representation of ports
\begin{table}\begin{center}
\begin{minipage}{5.5cm}
\begin{verbatim}
STATECHAR...
...
O: [EVENT(''r.f'', i)]\end{verbatim}
\end{minipage} \end{center}
\end{table}


As an example, the model in Figure 4.13 is written as Table 4.11.


next up previous contents index
Next: 4.2.11 Connections Up: 4.2 Textual Syntax Previous: 4.2.9 Importation   Contents   Index
Thomas Huining Feng 2004-04-28