Bloc Scicos
fr - eng


Horloge à fréquence multiples

\epsfig{file=M_freq.eps,height=90pt}

Contenu

Palette

Description

This blocks generates events at specific sample time of the simulation time. The sample time is given in the "Sample Time" field and the offset is given in the "Offset" field. This block has one event input, the number of event outputs depends on the number of different sample time. For exemple if the vector of sample time is [1 1 2] and the vector of offset is [0 .5 0] then the block has 7 outputs.
- The first output is activated when the simulation time is equal to a multiple of the first sample time plus the first offset
- The second output is activated when the simulation time is equal to a multiple of the second sample time plus the second offset.
- The third output is activated when we have both cases, first case and second case.
- The fourth output is activated when the simulation time is equal to a multiple of the third sample time plus the third offset.
- The fifth output is activated when we have both cases, first case and forth case.
- The sixth output is activated when we have both cases, second case and fourth case.
- The seventh output is activated when we have both cases, third case and forth case.
etc...
So the number of outputs is equal to 2**number of differents time values. Each of these time values is represented by a binary number associated to the output's number in decimal.

Boîte de dialogue

\begin{figure}\begin{center}
\epsfig{file=M_freq_gui.eps,width=220pt}
\end{center}\end{figure}

Propriétés par défaut

Fonction d'interface

Fonction de calcul

Voir aussi

Auteurs

Fady NASSIF INRIA