Serial Adder: First Clock Pulse - Second Clock Pulse - Third Clock Pulse
Serial Adder: First Clock Pulse - Second Clock Pulse - Third Clock Pulse
The 4-bit serial adder consists of two shift right registers A and B, which stores the
number to be added serially. Full Adder adds the one pair of bits[(x) and(y)] and carry(z)
input at a time. A D-flip flop is used to store the carry output of the full adder (D) and output
of the D-flip flop is(Q) connected to the carry input of the full adder.
Consider the following example. Let the number (A₃A₂A₁A₀) be 0111 and
number(B₃B₂B₁B₀) be 0010, stored in shift registers A and B respectively. Also the carry
flip-flop has been initially cleared i.e, z = 0.
First Clock Pulse - A₀=1 and B₀ = 0 and z=0. Output of the full adder are S = 1 and C = 0.
Second Clock Pulse - A₁ = 1 and B₁ = 1 and z = 0, output of full adder are S=0 and Cout=1.
Third Clock Pulse - A₂ = 1 and B₂ = 0 and z= 1, (because the output of D flip flop during
second clock pulse is 1) output of full adder are S=0 and Cout=1.
Fourth Clock Pulse - A₃ = 0 and B₃ = 0 and z = 1, (because the output of D flip flop during
first clock pulse is 1) output of full adder are S=1 and Cout=0.
1. The first input (zeroth pin of multiplexer) is connected to the output pin of the
corresponding flip-flop.
2. The second input (first pin of multiplexer) is connected to the output of the very-
previous flip flop which facilitates the right shift.
3. The third input (second pin of multiplexer) is connected to the output of the very-next
flip-flop which facilitates the left shift.
4. The fourth input (third pin of multiplexer) is connected to the individual bits of the
input data which facilitates parallel loading.
The register operations performed for the various inputs of select lines are as follows:
REGISTER
S1 S0 OPERATION
0 0 No changes
0 1 Shift right
1 0 Shift left
1 1 Parallel load