ANALOG-AND-DIGITAL-INTEGRATED-CIRCUIT UNIT 4 Combinational-Circuit Unit 4
ANALOG-AND-DIGITAL-INTEGRATED-CIRCUIT UNIT 4 Combinational-Circuit Unit 4
3
4
Analysis procedure
• To obtain the output Boolean functions from a logic
diagram, proceed as follows:
1. Label all gate outputs that are a function of input variables with
arbitrary symbols. Determine the Boolean functions for each
gate output.
6
Example
F2 = AB + AC + BC; T1 = A + B + C; T2 = ABC; T3 = F2’T1;
F1 = T 3 + T 2
F1 = T3 + T2 = F2’T1 + ABC = A’BC’ + A’B’C + AB’C’ + ABC
7
Derive truth table from logic diagram
8
•Design procedure
• Problem is stated
• Identify the input and output variables
• Assign letter symbol to input and
output variable
• Construct the truth table
• Write Boolean expressions
• Write simplified Boolean expressions
• Draw the logic diagram
9
•Guidelines preferred for
combinational circuit while
choosing hardware
• Minimum number of gates with
minimum number of inputs
• Minimum number of
interconnections
10
Half Adder:
oThe most basic Arithmetic addition is
two bit addition
oA combinational circuit that performs
the arithmetic addition of two bits is ca
lled a half-adder.
Half-adder truth table and implementation
S = A`B+AB` = A⊕B C = AB
o To implement half adder using NAND gates; we require 5 NAND
gates.
12
0+1 = 1 +0 =1 S=1, C= 0
1+1 = 10 S=0, C=1
1+1+1 = 11 S=1, C=1
13
Implementation of Half-Adder
14
Limitations of Half Adder:
oThe reason it’s called half adder is that there is no
scope to add the carry bit from previous bit. This
is a major limitation of half adders
when used as binary adders especially in real time
scenarios which involves addition of multiple bits.
oTo overcome this limitation, full adders are
developed.
15
Full Adder:
o A full-adder is a combinational circuit that performs
the arithmetic sum of three input bits .
18
o Truth Table for Full Adder is:
19
o The Boolean Expression for a full adder is: in
Sum = (A⊕B) ⊕C
AB+AC in+BCin
= AB + AC in+BCin(A+A`)
= ABC in+AB+ACin+A`BCin
= AB(1+C in)+ACin+A`BCin
= AB+AC in+A`BCin
=AB+AC in(B+B`)+A`BCin
=ABC in+AB+AB`Cin+A`BCin
=AB(1+C in)+AB`Cin+A`BCin
=AB+AB`C in+A`BCin
=AB+C in(AB`+A`B) = AB+Cin(A⊕B)
Simplified Expressions
22
Another implementation
• Full-adder can also implemented with two half adders and
one OR gate
• S = z ⊕ (x ⊕ y)
= z’(xy’ + x’y) + z(xy’ + x’y)’
= xy’z’ + x’yz’ + xyz + x’y’z
C = z(xy’ + x’y) + xy = xy’z + x’yz + xy
23
Demultiplexer
D0
Demultiplexer D1
E
D2
D3
24
4-10. Multiplexers
S = 0, Y = I0 Truth Table S Y Y = S’I0 + SI1
S = 1, Y = I1 0 I0
1 I1
25
4-to-1 Line Multiplexer
26