Bloc Scicos
fr - eng


SHIFT Décalage binaire

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

Contenu

Palette

Description

This block shifts the bits of the input signal. In this operation the digits are moved to the right or to the left. The user can choose the rule to shifts the bits. It can be normal or cycle by setting the "Shifttype" parameter to "0" or "1".
When the Shifttype is 0, an arithmetic shift is applied to the input signal. In this case, the bits that are shifted out of either end are discarded. Zeros are shifted in on the right, in the case of left shift; in the case of right shifts, copies of the sign bit is shifted in on the left.
When the "Shifttype" is 1,a circular shift is applied to the input signal. In this case, the bits are rotated as if the left and right ends of the register are joined. The value that is shifted in on the right during a left-shift is whatever values was shifted out on the left, and vice versa.

Boîte de dialogue

\begin{figure}\begin{center}
\epsfig{file=SHIFT_gui.eps,width=360pt}
\end{center}\end{figure}

Propriétés par défaut

Fonction d'interface

Fonction de calcul

Voir aussi

Auteurs

Fady NASSIF INRIA