Chargement…
Chargement…
Barrel shifter combinatoire : décale i_data à gauche d'un nombre de positions choisi par i_shift (0 à 3). Les bits vacants à droite sont remplis par '0'.
Comportement (table de vérité) :
i_shift | o_data |
|---|---|
"00" | i_data |
"01" | i_data(2 downto 0) & '0' |
"10" | i_data(1 downto 0) & "00" |
"11" | i_data(0) & "000" |
*Aucune horloge, aucun reset : circuit 100 % combinatoire.*
i_datai_shifto_data