Lecture 1
Lecture 1
Y’ Y
X’
X
We can reduce functions by circling 1’s in the K-
map
Each circle represents minterm reduction
Following circling, we can deduce minimized and-
or form.
Rules to consider
Every cell containing a 1 must be included at
least once.
The largest possible “power of 2 rectangle” must
be enclosed.
The 1’s must be enclosed in the smallest possible
number of rectangles.
Two variable maps:
a a
b 0 1 b 0 1
0 0 1 0 1 1
1 0 1 1 0 0
f=a g = b'
B 0 1
A
00 1
11 0
F=AB+A’B
Two-variable Map
m1 + m2 + m3 = x’y + xy’ + xy = x + y
Example: F(X,Y) = XY’ + XY
From the map, we see that
F (X,Y) = X.
Note: There are implied 0s in other boxes.
1 1 X
yz
By combining squares in powers of 2, we reduce
number of literals in a product term, reducing the
literal cost, thereby reducing the other two cost
criteria.
On a 3-variable K-Map:
◦ One square represents a minterm with three variables
◦ Two adjacent squares represent a product term with two
variables
◦ Four “adjacent” terms represent a product term with one
variables
◦ Eight “adjacent” terms is the function of all ones (logic 1).
Adjacent Squares
m0+m2 = XYZ + XYZ = XZ(Y+Y) = XZ
m4+m6 = XYZ + XYZ = XZ(Y+Y) = ZX
XY’ Z
b
bc 00 01 11 10
X
a bc
0 1
a 1 1 1 1
ac’
G (a,b,c) = bc + ac’
Example: Simplify
F(X, Y, Z) = X’Z + X’Y + XY’Z + YZ
F(X, Y, Z) = Σm (1, 2, 3, 5, 7)
z Y xy
YZ
• In general, as more squares X
00 01 11 10
0
are combined, we obtain a 1 1 1
literals.
Z
• Overlap is allowed.
F(x, y, z) = z + x y
Examples 3-1 and 3-2
Examples 3-3 and 3-4
One square represents
one minterm, giving a
term of three literals
• Two adjacent squares
represent a term of two
literals
• Four adjacent squares
represent a term of
one literal
Four-Variable Map
x
F = m(0,1,2,4,5,6,8,9,12,13,14)
F = Y’ + XZ’ + W’Z’
F = m(0,2,4,5,6,7,10,13,15)