Professional Documents
Culture Documents
The design of combinational circuits starts from the verbal outline of the
problem and ends in a logic circuit diagram. The procedure involves the following
steps:
1. State the given problem completely and exactly
2. Interpret the problem, and determine the available input variables and
required output variables.
3. Assign a letter symbol to each input and output variables.
4. Design the truth table, which defines the required relations between
inputs and outputs.
5. Obtain the simplified Boolean expression for each output.
6. Draw the logic circuit diagram to implement the Boolean expression.
Binary Adder- Subtractor
The binary adder- subtractor is a combinational circuit that can perform the
operations of addition and subtraction with the binary numbers. The half adder
design is carried out first, from which the full-adder will be developed. The subtraction
circuit is included in a complementing circuit.
The combinational circuit that adds only two bits is called "half-adder". Figure 2
shows a block diagram of the half-adder.
Since there are two inputs (x and y), only four possible combinations of inputs can
be applied. These four possibilities and the resulting sums are shown in following
truth table
X
Y
C
S
0
0
0
0
0
1
0
1
1
0
0
1
1
1
1
0
S = x y = x' y + xy'
C = xy
Now, from these Boolean functions we can construct the logic circuit of the HalfAdder as shown in Figure 3.
To add numbers with more than one bit, we must provide a way for carries
between bit positions. This basic circuit for this operation is called a full adder. Full
adder is a combinational circuit that adds three bits and generates a sum and
carry. Figure 4 shows a block diagram of the full-adder.
x
y
z(Cin)
Cout
S
0
0
0
0
0
0
0
1
0
1
0
1
0
0
1
0
1
1
1
0
1
0
0
0
1
1
0
1
1
0
1
1
0
1
0
1
1
1
1
1
From the truth table, we can obtain the Boolean expression of C out & S
outputs as follows:
S=xyz
C = xy + yz + xz
Now, we can construct the full-adder circuit based on the simplified Boolean
expression of S and C outputs. Figure 5 shows the logic diagram of the full-adder.
The subtraction of two binary numbers can be done by taking the 2s complement
of the subtrahend and adding it to the minuend. The 2s complement can be