Applications of Combinational Circuits - Edited 2020
Applications of Combinational Circuits - Edited 2020
Applications of Combinational Circuits - Edited 2020
Example :
0+0 = 0 0+1 = 1
1+0 = 1 1+1 = 10 – the 1 represents a carry.
In the above addition of 1+1 the higher significant bit is called a
carry and the lower significant bit the sum.
Half Adder
Boolean expression for half adder:
՛ ՛
Sum = X Y + XY => X Y
Carry = XY
x y Carry Sum
0 0 0 0 X
Y
0 1 0 1
1 0 0 1
1 1 1 0
Full Adder
Facilitates addition in which there are three input bits
FA
Sum
Block diagram for full adder (FA) Y
C in C out
Sum = A B C
Carry = AB + AC + BC Block diagram for full adder (FA)
Exercise
1. Use two half adders to construct a full adder
May contain one or more enable lines which are used to control the
operation of the circuits
If they have enable lines they are called demultiplexers, and used to form
larger decoder circuits.
Decoders
3-to-8 line decoder (without enable)
Truth table
X Y Z D0 D1 D2 D3 D4 D5 D6 D7
0 0 0 1 0 0 0 0 0 0 0
0 0 1 0 1 0 0 0 0 0 0
0 1 0 0 0 1 0 0 0 0 0
0 1 1 0 0 0 1 0 0 0 0
1 0 0 0 0 0 0 1 0 0 0
1 0 1 0 0 0 0 0 1 0 0
1 1 0 0 0 0 0 0 0 1 0
1 1 1 0 0 0 0 0 0 0 1
Decoders
3-to-8 line decoder (without enable)
Circuit
Z
Exercise
1. Construct a 2 to 4 line decoder
Decoder with Enable Line
Some decoders may have an enable line
2 bit encoder
Multiplexer
Combinational circuit that selects binary data from one input line and
directs it to the output line.
Usually there are 2n input lines, where n represents the number of selection
lines.
The bit combination of the selection lines determine which input line is selected
Eg. with a 2-to-1 line multiplexer, if selection S is zero then I0 has the path to
output and if S is one I1 has the path to output (see diagram on the next slide).
2-to-1 Line Multiplexer
4-to-1 Line Multiplexer
Implementation of a Multiplexer
Multiplexer can be used to implement Boolean functions.
I0 I1 I2 I3
A’ 0 1 2 3
A 4 5 6 7
value
Implementation of a Multiplexer
7. Circle the minterms of the function corresponding to the
given expression.
F(A,B,C) = ∑(1, 3, 5, 6)
I0 I1 I2 I3
A’ 0 1 2 3
A 4 5 6 7
value
Implementation of a Multiplexer
8. Apply rules to get values:
None circled => value = 0
Both top and bottom circled => value = 1
I0 I1 I2 I3
A’ 0 1 2 3
A 4 5 6 7
value 0 1 A A’
Implementation of a Multiplexer
I0 I1 I2 I3
8. Draw and label the
A’ 0 1 2 3
circuit:
A 4 5 6 7
value 0 1 A A’
I0
1 I1
4 x 1 MUX
F
A I2
I3
BC
Select Lines
Exercise
Implement each of the following using both a
decoder and a multiplexer.
1. F(ABC) = ∑(1,2,4,5)
2. F(XYZ) = ∑(1,2,6,7)
3. F(ABCD) = ∑(0,1,3,4,8,9,15)