Professional Documents
Culture Documents
Shift Register
Shift Register
Shift Register
Shift Register
Serial-in/Serial out Shift Register
Serial-in/Serial out Shift Register
Shift registers are available in IC form or can be constructed from discrete flip-
flops as is shown here with a five-bit serial-in serial-out register.
Each clock pulse will move an input bit to the next flip-flop. For example, a 1 is
shown as it moves across.
C C C C C
CLK
CLK
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Serial In - Serial Out
Shift Registers
A basic four-bit shift register can be constructed using four D flip-flops, as
shown below.
Serial In - Serial Out
Shift Registers
The operation of the circuit is as follows.
The register is first cleared, forcing all four outputs to zero.
The input data is then applied sequentially to the D input of the first
flip-flop on the left (FF0).
During each clock pulse, one bit is transmitted from left to right.
Assume a data word to be 1001.
The least significant bit of the data has to be shifted through the
register from FF0 to FF3.
Serial In - Parallel Out
Shift Registers
For this kind of register, data bits are entered serially in the
same manner as discussed in the last section.
The difference is the way in which the data bits are taken
out of the register.
Once the data are stored, each bit appears on its respective
output line, and all bits are available simultaneously.
A construction of a four-bit serial in - parallel out register is
shown below.
Serial In - Parallel Out
Shift Registers
For this kind of register, data
bits are entered serially in the
same manner as discussed in the
last section. The difference is
the way in which the data bits
are taken out of the register.
Once the data are stored, each
bit appears on its respective
output line, and all bits are
available simultaneously. A
construction of a four-bit serial
in - parallel out register is shown
below.
Serial In - Parallel Out
Shift Registers
In the animation
below, we can see how
the four-bit binary
number 1001 is shifted
to the Q outputs of the
register.
1 0 0 1
Parallel In –Serial Out
Shift Registers
Shift registers can be used to convert parallel data to
serial form. A logic diagram for this type of register is
shown:
G1 G5 G2 G6 G3 G7 G4
D D D D
C C C C