next up previous contents
Next: 3.6.2 The Curve-Calculator-Model Up: 3.6 Auxiliary Models Previous: 3.6 Auxiliary Models


3.6.1 The Arithmetic-Model

The arithmetic-model as shown in Figure 3.6 is a general purpose model which is used to perform arithmetic operations on the data presented at its input ports. It will usually be used in conjunction with the network-model. An arithmetic operator which computes the results for that output port has to be defined for each output port. Each operator may use the values of all input ports to compute its value. These operators are expressed in a LISP prefix notation. Input ports as well as output ports can either be of type float or bound-float as shown in Description 3.5. Example 3.3 depicts an arithmetic-model which computes the difference between the float values at its input ports vt and vt-nom, and delivers it at the output port vt-mismatch.
\begin{Figure}
% latex2html id marker 2566\centering
\includegraphics{fig/mode...
...tbf{arithmetic-model}{} performs
arithmetic \newline computations.}
\end{Figure}


\begin{Modeldesc}
% latex2html id marker 2816
\caption{
The \textbf{arithmetic-m...
...tit{Operator})\ ) \\
)\end{tabbing}\end{minipage}\end{flushleft}\end{Modeldesc}


\begin{Example}
% latex2html id marker 2828
\caption{
A sample \textbf{arithmeti...
...quad (vt-mismatch (- vt vt-nom))) \\
) \end{tabbing}\end{minipage}\end{Example}



Rudi Strasser
1999-05-27