Simplification of Boolean Functions: Example 1
Simplification of Boolean Functions: Example 1
Example 1
= A + B.C
A A
B F
B F C
2
Draft notes or 22C: 040
Example 2
A + AB
= A.1 + A.B
= A. (1 + B)
= A. 1
= A
3
Draft notes or 22C: 040
B 0 1
0 1 1
BC
A 00 01 11 10
0 1
4
Draft notes or 22C: 040
A A
A.B B A+B
B A + B = A.B + A.B
5
Draft notes or 22C: 040
A A
6
Draft notes or 22C: 040
A A.B
B A
A A
A.B = A+B
7
Draft notes or 22C: 040
A B C F
0 0 0 0 A B = 1 only when there are an
0 0 1 1 odd number of 1’s in (A,B). The
0 1 0 1 same is true for A B C also.
0 1 1 0
1 0 0 1
1 0 1 0
1 1 0 0
1 1 1 1
1 A=A Why?
0 A=A
8
Draft notes or 22C: 040
Half Adder
A B S C
1 0 1 0
S=A B 1 1 0 1
C = A.B
9
Draft notes or 22C: 040
Full Adder
A Full 0 0 0 0 0
Adder
B 0 0 1 1 0
0 1 1 0 1
1 0 0 1 0
1 0 1 0 1
1 1 0 0 1
1 1 1 1 1
S=A B Cin
10
Draft notes or 22C: 040
Combinational circuits.
studied so far
Sequential circuits.
11
Draft notes or 22C: 040
Decoders
n
A typical decoder has n inputs and 2 outputs.
Enable A B D3 D2 D1 D0
D0 0 0 0 0 0 1
A D1 0 1 0 0 1 0
B D2 1 0 0 1 0 0
D3 1 1 1 0 0 0
D2 = A.B
12
Draft notes or 22C: 040
Encoders
n
A typical encoder has 2 inputs and n outputs.
D0 D1 D2 D3 A B
D0 1 0 0 0 0 0
D1 A 0 1 0 0 0 1
D2 B 0 0 1 0 1 0
D3 0 0 0 1 1 1
A = D1 + D3
B = D2 + D3
13
Draft notes or 22C: 040
Multiplexor
A 0 F S = 0, F = A
B 1 S = 1, F = B
A 2-to-1 mux
F = S. A + S. B
14
Draft notes or 22C: 040
B F
D0 D1 D2 D3
2-to-4 decoder
15
Draft notes or 22C: 040
Demultiplexors
0 X S = 0, X = A
A
1 Y S = 1, Y = B
So, X = S. A, and Y = S. B
16