Docsity

EMT solution chapter 3, Exercises of Electromagnetic Engineering

Toggle sidebar
bg1
CHAPTER 3
SIMPLIFICATION OF BOOLEAN FUNCTIONS
The Map Method
-The Karnaugh map method provides a simple, straightforward procedure for
minimizing Boolean expressions.
-The K-map minimization procedure obtains a minimal expression directly from a
truth table. The map is a diagram made up of squares containing 1s and/or 0s.
-The map presents a visual diagram of all possible ways a function may be
expressed in a standard form.
-By recognizing various patterns, the user can derive alternative algebraic expression
for the same function.
Two- And Three- Variable Maps
Minimization Procedure
1. Construct a K-map.
2. Find all groups of horizontal or vertical adjacent squares that contain 1.
a. Each group must be either rectangular or square with 2n squares.
b. Each group should be as large as possible.
c. Each 1 on the K-map must be covered at least once. The same 1 can be
included in several groups if necessary.
d. Nonessential groups are omitted. (A nonessential group does not contain a 1
that is not covered by any other group)
e. Adjacency applies to both vertical and horizontal borders.
3. Translate each group into a product term by eliminating any variable whose value
changes from cell to cell.
4. Sum all the product terms.
Note: Don't care conditions can be used to provide further simplification of the
representation of a function.
0
Two-variable map 0x’y’ x’y
xy’ Xy
m0m1
m2m3x { 1
y 1
pf3

Partial preview of the text

Download EMT solution chapter 3 and more Exercises Electromagnetic Engineering in PDF only on Docsity!

CHAPTER 3

SIMPLIFICATION OF BOOLEAN FUNCTIONS

The Map Method

  • The Karnaugh map method provides a simple, straightforward procedure for minimizing Boolean expressions.
  • The K-map minimization procedure obtains a minimal expression directly from a truth table. The map is a diagram made up of squares containing 1s and/or 0s.
  • The map presents a visual diagram of all possible ways a function may be expressed in a standard form.
  • By recognizing various patterns, the user can derive alternative algebraic expression for the same function. Two- And Three- Variable Maps Minimization Procedure
  1. Construct a K-map.
  2. Find all groups of horizontal or vertical adjacent squares that contain 1. a. Each group must be either rectangular or square with 2n^ squares. b. Each group should be as large as possible. c. Each 1 on the K-map must be covered at least once. The same 1 can be included in several groups if necessary. d. Nonessential groups are omitted. (A nonessential group does not contain a 1 that is not covered by any other group) e. Adjacency applies to both vertical and horizontal borders.
  3. Translate each group into a product term by eliminating any variable whose value changes from cell to cell.
  4. Sum all the product terms. Note : Don't care conditions can be used to provide further simplification of the representation of a function. 0 Two-variable map (^0) x’y’ x’y xy’ Xy m 0 m 1

m 2 m 3 x { 1

y 1

  • In the previous example there are four minterms for two variables. The 0’s and 1’s designate the values of variable x and y , respectively.
  • Variable x appears primed in row 0 and unprimed in row 1. Similarly, y appears primed in column 0 and unprimed in column 1.
  • Ex: let’s represent the function xy and the function x + y. A three-variable map m 0 m 1 m 3 m 2 m 4 m 5 m 7 m 6 00 01 11 10 y 0 x’y’z’ x’y’z x’yz x’yz’ x 1 xy’z’ xy’z xyz xyz’ z
  • There are 8 minterms for three binary variables (8 squares). The minterms are not arranged in a binary sequence; however, it is listed similar to Gray code.
  • Variables appear unprimed in the squares where it is = 1 and primed where it is equal to 0.
  • Any 2 adjacent squares in the map differ by only one variable, which is primed in one square and unprimed in the other.
  • Ex: m 5 and m 7 lie in two adjacent squares where y is primed m 5 in and unprimed in m 7.
  • Ex: simplify the Boolean function F (x, y, z) =  (2, 3, 4, 5) 00 01 11 10 1 1 x 1 1 1 F = x’y + xy’
  • There are cases where two cases are considered to be adjacent even though they don’t touch each other.
  • Ex: simplify the Boolean function F (x, y, z) =  (3, 4, 6,7) 00 01 11 10 1 x 1 1 1 1 = x’yz + xy’z’ + xyz + xyz’ = yz + xz’