1 gate-level minimization although truth tables representation of a function is unique, it can be...
TRANSCRIPT
![Page 1: 1 Gate-level Minimization Although truth tables representation of a function is unique, it can be expressed algebraically in different forms The procedure](https://reader030.vdocuments.net/reader030/viewer/2022032518/56649ccf5503460f9499b449/html5/thumbnails/1.jpg)
1
Gate-level Minimization
Although truth tables representation of a function is unique, it can be expressed algebraically in different formsThe procedure of simplifying Boolean expressions (in 2-4) isdifficult since it lacks specific rules to predict the successive steps in the simplification process. Alternative: Karnaugh Map (K-map) Method.
Straight forward procedure for minimizing Boolean FunctionFact: Any function can be expressed as sum of minterms K-map method can be seen as a pictorial form of the truth table.
m0 m1
m2 m3
xy
'' yx yx'
'xy xy
0 1
1
0
y
x
Two-variable map
![Page 2: 1 Gate-level Minimization Although truth tables representation of a function is unique, it can be expressed algebraically in different forms The procedure](https://reader030.vdocuments.net/reader030/viewer/2022032518/56649ccf5503460f9499b449/html5/thumbnails/2.jpg)
2
xy
'' yx yx'
'xy xy
0 1
1
0
y
x
Two-variable K-MAP
xy
xyF 1
0 1
1
0
y
x
xy 0 1
1
0
y
x1 1 1
1
xyxyyx
mmmF
'' 3212
![Page 3: 1 Gate-level Minimization Although truth tables representation of a function is unique, it can be expressed algebraically in different forms The procedure](https://reader030.vdocuments.net/reader030/viewer/2022032518/56649ccf5503460f9499b449/html5/thumbnails/3.jpg)
3
xy 0 1
1
0
y
x 1 1
1
yxF 2
The three squares can be determined from the intersectionof variable x in the second row and variable y in the second column.
xy
'' yx yx'
'xy xy
0 1
1
0
y
x
Two-variable K-MAP
![Page 4: 1 Gate-level Minimization Although truth tables representation of a function is unique, it can be expressed algebraically in different forms The procedure](https://reader030.vdocuments.net/reader030/viewer/2022032518/56649ccf5503460f9499b449/html5/thumbnails/4.jpg)
4
Any two adjacent squares differ by only one variable. M5 is row 1 column 01. 101= xy’z=m5 Since adjacent squares differ by one variable (1 primed, 1 unprimed)
From the postulates of Boolean algebra, the sum of two minterms in adjacent squares can be simplified to a simple ANDFor example m5+m7=xy’z+xyz=xz(y’+y)=xz
Three-Variable K-Map
![Page 5: 1 Gate-level Minimization Although truth tables representation of a function is unique, it can be expressed algebraically in different forms The procedure](https://reader030.vdocuments.net/reader030/viewer/2022032518/56649ccf5503460f9499b449/html5/thumbnails/5.jpg)
5
2 3 4 5( , , , ) ' ' ' ' ' '
' ( ') '( ') ' '
F m m m m x yz x yz xy z xy z
x y z z xy z z x y xy
Example 1
Three-Variable K-Map
![Page 6: 1 Gate-level Minimization Although truth tables representation of a function is unique, it can be expressed algebraically in different forms The procedure](https://reader030.vdocuments.net/reader030/viewer/2022032518/56649ccf5503460f9499b449/html5/thumbnails/6.jpg)
6
Example 2
Three-Variable K-Map
)7,6,4,3(),,( zyxFSimplify:
m0 m1 m3 m2
m4 m5 m7 m6
'xz 'xzyz
![Page 7: 1 Gate-level Minimization Although truth tables representation of a function is unique, it can be expressed algebraically in different forms The procedure](https://reader030.vdocuments.net/reader030/viewer/2022032518/56649ccf5503460f9499b449/html5/thumbnails/7.jpg)
7
Three-Variable K-Map
)6,5,4,2,0(),,( zyxFExample 3
Simplify:
m0 m1 m3 m2
m4 m5 m7 m6
![Page 8: 1 Gate-level Minimization Although truth tables representation of a function is unique, it can be expressed algebraically in different forms The procedure](https://reader030.vdocuments.net/reader030/viewer/2022032518/56649ccf5503460f9499b449/html5/thumbnails/8.jpg)
8
Three-Variable K-Map
)6,4,2,0(),,( zyxFExample 3
Simplify:
m0 m1 m3 m2
m4 m5 m7 m6
![Page 9: 1 Gate-level Minimization Although truth tables representation of a function is unique, it can be expressed algebraically in different forms The procedure](https://reader030.vdocuments.net/reader030/viewer/2022032518/56649ccf5503460f9499b449/html5/thumbnails/9.jpg)
9
Example 4
Three-Variable K-Map
Given: BCCABBACACBAF '''),,(
(a) Express F in sum of minterms. (b) Find the minimal sum of products using K-Map
BCAABCAABC
CAB
BCABCACCBA
CBABCABBCA
')'(
'
''')'('
''')'('
)7,5,3,2,1(
''''''),,(
ABCCABBCABCACBACBAF(a)
![Page 10: 1 Gate-level Minimization Although truth tables representation of a function is unique, it can be expressed algebraically in different forms The procedure](https://reader030.vdocuments.net/reader030/viewer/2022032518/56649ccf5503460f9499b449/html5/thumbnails/10.jpg)
10
Three-Variable K-Map
Example 4 (continued) )7,5,3,2,1(),,( CBAF
m0 m1 m3 m2
m4 m5 m7 m6
![Page 11: 1 Gate-level Minimization Although truth tables representation of a function is unique, it can be expressed algebraically in different forms The procedure](https://reader030.vdocuments.net/reader030/viewer/2022032518/56649ccf5503460f9499b449/html5/thumbnails/11.jpg)
11
Three-variable K-Map: Observations
• One square represents one minterm a term of 3 literals
• Two adjacent squares a term of 2 literals
• Four adjacent squares a term of 1 literal
• Eight adjacent squares the function equals to 1
![Page 12: 1 Gate-level Minimization Although truth tables representation of a function is unique, it can be expressed algebraically in different forms The procedure](https://reader030.vdocuments.net/reader030/viewer/2022032518/56649ccf5503460f9499b449/html5/thumbnails/12.jpg)
12
Four-Variable K-Map
![Page 13: 1 Gate-level Minimization Although truth tables representation of a function is unique, it can be expressed algebraically in different forms The procedure](https://reader030.vdocuments.net/reader030/viewer/2022032518/56649ccf5503460f9499b449/html5/thumbnails/13.jpg)
13
Four-Variable K-Map
Example 5
'''' xzzwyF
Simplify F(w,x,y,z) = (0,1,2,4,5,6,8,9,12,13,14)
1
![Page 14: 1 Gate-level Minimization Although truth tables representation of a function is unique, it can be expressed algebraically in different forms The procedure](https://reader030.vdocuments.net/reader030/viewer/2022032518/56649ccf5503460f9499b449/html5/thumbnails/14.jpg)
14
Four-Variable K-Map
Example 6
'''''' CDACBDBF
Simplify F(A,B,C,D) =
'''
'''''''''
CBA
CABBCDACDBCBA Represented by 0001 or 0000
![Page 15: 1 Gate-level Minimization Although truth tables representation of a function is unique, it can be expressed algebraically in different forms The procedure](https://reader030.vdocuments.net/reader030/viewer/2022032518/56649ccf5503460f9499b449/html5/thumbnails/15.jpg)
15
![Page 16: 1 Gate-level Minimization Although truth tables representation of a function is unique, it can be expressed algebraically in different forms The procedure](https://reader030.vdocuments.net/reader030/viewer/2022032518/56649ccf5503460f9499b449/html5/thumbnails/16.jpg)
16
• Need to ensure that all Minterms of function are covered• But avoid any redundant terms whose minterms are already covered• Prime Implicant is product Term obtained by combining maximum possible number of adjacent squares• If a minterm in a square is covered by only prime implicant then ESSENTIAL PRIME IMPLICANT
Prime Implicants
Essential prime implicant BD and B’D’ Non Essential prime implicant CD, B’C, AD and AB’
![Page 17: 1 Gate-level Minimization Although truth tables representation of a function is unique, it can be expressed algebraically in different forms The procedure](https://reader030.vdocuments.net/reader030/viewer/2022032518/56649ccf5503460f9499b449/html5/thumbnails/17.jpg)
17
Four-variable K-Map: Observations
• One square represents one minterm a term of 4 literals
• Two adjacent squares a term of 3 literals
• Four adjacent squares a term of 2 literal
• Eight adjacent squares a term of 1 literal
• sixteen adjacent squares the function equals to 1
![Page 18: 1 Gate-level Minimization Although truth tables representation of a function is unique, it can be expressed algebraically in different forms The procedure](https://reader030.vdocuments.net/reader030/viewer/2022032518/56649ccf5503460f9499b449/html5/thumbnails/18.jpg)
18
![Page 19: 1 Gate-level Minimization Although truth tables representation of a function is unique, it can be expressed algebraically in different forms The procedure](https://reader030.vdocuments.net/reader030/viewer/2022032518/56649ccf5503460f9499b449/html5/thumbnails/19.jpg)
19
'AB CD BD
' 'F AB CD BD
Simplify the following Boolean function in:(a) sum of products (b) product of sums
( , , , ) (0,1,2,5,8,9,10)F A B C D Combining the one’s:
Combining the zero’s:
' ' ' ' ' 'F B D B C A C D
Taking the the complement:
( ') '
( ' ')( ' ')( ' )
F F
A B C D B D
SUM of PRODUCT and PRODUCT OF SUM
(a)
(b)
![Page 20: 1 Gate-level Minimization Although truth tables representation of a function is unique, it can be expressed algebraically in different forms The procedure](https://reader030.vdocuments.net/reader030/viewer/2022032518/56649ccf5503460f9499b449/html5/thumbnails/20.jpg)
20
SUM OF PRODUCT (SOP) PRODUCT OF SUM (POS)
SOP and POS gate implementation
![Page 21: 1 Gate-level Minimization Although truth tables representation of a function is unique, it can be expressed algebraically in different forms The procedure](https://reader030.vdocuments.net/reader030/viewer/2022032518/56649ccf5503460f9499b449/html5/thumbnails/21.jpg)
21
Draw the logic diagram for the following function: F = (a.b)+(b.c)
ab
c
F
Implementation of Boolean Functions
![Page 22: 1 Gate-level Minimization Although truth tables representation of a function is unique, it can be expressed algebraically in different forms The procedure](https://reader030.vdocuments.net/reader030/viewer/2022032518/56649ccf5503460f9499b449/html5/thumbnails/22.jpg)
22
• Implement a circuit– 2 Level– More than two level– SOP– POS
• Implement a circuit using OR and Inverter Gates only• Implement a circuit using AND and Inverter Gates
only• Implement a circuit using NAND Gates only• Implement a circuit using NOR Gates only
![Page 23: 1 Gate-level Minimization Although truth tables representation of a function is unique, it can be expressed algebraically in different forms The procedure](https://reader030.vdocuments.net/reader030/viewer/2022032518/56649ccf5503460f9499b449/html5/thumbnails/23.jpg)
23
NAND IMPLEMENTATION
![Page 24: 1 Gate-level Minimization Although truth tables representation of a function is unique, it can be expressed algebraically in different forms The procedure](https://reader030.vdocuments.net/reader030/viewer/2022032518/56649ccf5503460f9499b449/html5/thumbnails/24.jpg)
24
![Page 25: 1 Gate-level Minimization Although truth tables representation of a function is unique, it can be expressed algebraically in different forms The procedure](https://reader030.vdocuments.net/reader030/viewer/2022032518/56649ccf5503460f9499b449/html5/thumbnails/25.jpg)
25
TWO LEVEL
IMPLEMENT-ATION
F=AB+CDF=(A’B’)’+(C’D’)’
F=[(AB)’.(CD)’]’=AB+CD
![Page 26: 1 Gate-level Minimization Although truth tables representation of a function is unique, it can be expressed algebraically in different forms The procedure](https://reader030.vdocuments.net/reader030/viewer/2022032518/56649ccf5503460f9499b449/html5/thumbnails/26.jpg)
26
F(X,Y,Z)=(1,2,3,4,5,7) SUM OF PRODUCT
![Page 27: 1 Gate-level Minimization Although truth tables representation of a function is unique, it can be expressed algebraically in different forms The procedure](https://reader030.vdocuments.net/reader030/viewer/2022032518/56649ccf5503460f9499b449/html5/thumbnails/27.jpg)
27
COVERT AND TO NAND WITH AND INVER.
CONVERT OR TO NAND WITH INVERT OR. SINGLE BUBBLE WITH INVERTER
CHAPTER 4
![Page 28: 1 Gate-level Minimization Although truth tables representation of a function is unique, it can be expressed algebraically in different forms The procedure](https://reader030.vdocuments.net/reader030/viewer/2022032518/56649ccf5503460f9499b449/html5/thumbnails/28.jpg)
28
![Page 29: 1 Gate-level Minimization Although truth tables representation of a function is unique, it can be expressed algebraically in different forms The procedure](https://reader030.vdocuments.net/reader030/viewer/2022032518/56649ccf5503460f9499b449/html5/thumbnails/29.jpg)
29
![Page 30: 1 Gate-level Minimization Although truth tables representation of a function is unique, it can be expressed algebraically in different forms The procedure](https://reader030.vdocuments.net/reader030/viewer/2022032518/56649ccf5503460f9499b449/html5/thumbnails/30.jpg)
30
![Page 31: 1 Gate-level Minimization Although truth tables representation of a function is unique, it can be expressed algebraically in different forms The procedure](https://reader030.vdocuments.net/reader030/viewer/2022032518/56649ccf5503460f9499b449/html5/thumbnails/31.jpg)
31
![Page 32: 1 Gate-level Minimization Although truth tables representation of a function is unique, it can be expressed algebraically in different forms The procedure](https://reader030.vdocuments.net/reader030/viewer/2022032518/56649ccf5503460f9499b449/html5/thumbnails/32.jpg)
32
![Page 33: 1 Gate-level Minimization Although truth tables representation of a function is unique, it can be expressed algebraically in different forms The procedure](https://reader030.vdocuments.net/reader030/viewer/2022032518/56649ccf5503460f9499b449/html5/thumbnails/33.jpg)
33
![Page 34: 1 Gate-level Minimization Although truth tables representation of a function is unique, it can be expressed algebraically in different forms The procedure](https://reader030.vdocuments.net/reader030/viewer/2022032518/56649ccf5503460f9499b449/html5/thumbnails/34.jpg)
34
![Page 35: 1 Gate-level Minimization Although truth tables representation of a function is unique, it can be expressed algebraically in different forms The procedure](https://reader030.vdocuments.net/reader030/viewer/2022032518/56649ccf5503460f9499b449/html5/thumbnails/35.jpg)
35
![Page 36: 1 Gate-level Minimization Although truth tables representation of a function is unique, it can be expressed algebraically in different forms The procedure](https://reader030.vdocuments.net/reader030/viewer/2022032518/56649ccf5503460f9499b449/html5/thumbnails/36.jpg)
36
![Page 37: 1 Gate-level Minimization Although truth tables representation of a function is unique, it can be expressed algebraically in different forms The procedure](https://reader030.vdocuments.net/reader030/viewer/2022032518/56649ccf5503460f9499b449/html5/thumbnails/37.jpg)
37
![Page 38: 1 Gate-level Minimization Although truth tables representation of a function is unique, it can be expressed algebraically in different forms The procedure](https://reader030.vdocuments.net/reader030/viewer/2022032518/56649ccf5503460f9499b449/html5/thumbnails/38.jpg)
38
![Page 39: 1 Gate-level Minimization Although truth tables representation of a function is unique, it can be expressed algebraically in different forms The procedure](https://reader030.vdocuments.net/reader030/viewer/2022032518/56649ccf5503460f9499b449/html5/thumbnails/39.jpg)
39
![Page 40: 1 Gate-level Minimization Although truth tables representation of a function is unique, it can be expressed algebraically in different forms The procedure](https://reader030.vdocuments.net/reader030/viewer/2022032518/56649ccf5503460f9499b449/html5/thumbnails/40.jpg)
40
![Page 41: 1 Gate-level Minimization Although truth tables representation of a function is unique, it can be expressed algebraically in different forms The procedure](https://reader030.vdocuments.net/reader030/viewer/2022032518/56649ccf5503460f9499b449/html5/thumbnails/41.jpg)
41
![Page 42: 1 Gate-level Minimization Although truth tables representation of a function is unique, it can be expressed algebraically in different forms The procedure](https://reader030.vdocuments.net/reader030/viewer/2022032518/56649ccf5503460f9499b449/html5/thumbnails/42.jpg)
42
• SIMPLIFICATION WITH TABULATION METHOD DO IT ON BOARD
![Page 43: 1 Gate-level Minimization Although truth tables representation of a function is unique, it can be expressed algebraically in different forms The procedure](https://reader030.vdocuments.net/reader030/viewer/2022032518/56649ccf5503460f9499b449/html5/thumbnails/43.jpg)
43
![Page 44: 1 Gate-level Minimization Although truth tables representation of a function is unique, it can be expressed algebraically in different forms The procedure](https://reader030.vdocuments.net/reader030/viewer/2022032518/56649ccf5503460f9499b449/html5/thumbnails/44.jpg)
44