simplification of boolean algebra

26

Upload: mayannpolisticolnu

Post on 13-Dec-2014

6.527 views

Category:

Education


4 download

DESCRIPTION

report ni may ann

TRANSCRIPT

Page 1: simplification of boolean algebra
Page 2: simplification of boolean algebra

The map method provides a simple straight forward procedure for minimizing a Boolean function. This method maybe regarded either as a pictorial form or as an extension of Venn Diagram. The map method, first proposed by Vietch and modified by Karnaugh, is also known as “Vietch Diagram” or “Karnaugh Map”.

Page 3: simplification of boolean algebra

The map is a diagram made up of squares. Each square represents one minterm. Since any Boolean function can be a sum of minterms, it follows that a Boolean function can be graphically represented in a map by the areas function.

The map presents a visual diagram of all possible ways a function may be expressed in a standard form.

Page 4: simplification of boolean algebra

Here’s how to make the Karnaugh map of this truth table:

Begin by drawing the blank map:

A B F

0 0 0

0 1 1

1 0 1

1 1 1

0 1

0 A’B’

A’B

1 AB’ AB

AB

Page 5: simplification of boolean algebra

The first 1 output to appear is for the input of A=1 and B=0. The fundamental product for this is AB’.

Similarly, this table has an output 1 appearing for input of A=1 and B=1, and A=0 and B=1.Now, enter 1’s in the Karnaugh map to represent AB and A’B.

BA 0 1

0 1

1 1 1

Page 6: simplification of boolean algebra

The final step is to enter 0’s in the remaining spaces.

This will how the Karnaugh map looks in its final form.

0 1

0 0 1

1 1 1

BA

Page 7: simplification of boolean algebra

The truth table: The Karnaugh Map:

Begin by drawing a map consist of 8

squares.

0 1

00 A’B’C’

A’B’C

01 A’BC’ A’BC

11 ABC’ ABC

10 AB’C’ AB’C

CAB

Page 8: simplification of boolean algebra

NOTE: The binary combinations are not arranged in sequence. This order is not a binary progression; instead it follows the order of 00, 01, 11, and 10. The reason for this is, so that the map will show only one variable changing from complemented to uncomplemented form in adjacent rows.

Page 9: simplification of boolean algebra

Next, look for the outputs of 1. The fundamental products for these 1 outputs are A’BC’, ABC’, ABC. Enter these 1’s in the map.

The last step is to put 0’s in the remainingspaces.

Page 10: simplification of boolean algebra

Many MSI (Marketing Science Institute) circuits process binary words of 4 bits each. For this reason, logic circuits are often designed to handle 4 variables. This is the reason why four-variable map is the most important.

Page 11: simplification of boolean algebra

The truth table:

A B C D F

0 0 0 0 0

0 0 0 1 1

0 0 1 0 0

0 0 1 1 0

0 1 0 0 0

0 1 0 1 0

0 1 1 0 1

0 1 1 1 1

1 0 0 0 0

1 0 0 1 0

1 0 1 0 0

1 0 1 1 0

1 1 0 0 0

1 1 0 1 0

1 1 1 0 1

1 1 1 1 0

Page 12: simplification of boolean algebra

Begin again by drawing the blank map.

In the truth table, the output 1 corresponds to these fundamental products: A’B’C’D, A’BCD’, A’BCD, and ABCD’. Enter the output 1 to the map.

00 01 11 10

00 A’B’C’D’

A’B’C’D A’B’CD A’B’CD’

01 A’BC’D’ A’BC’D A’BCD A’BCD’

11 ABC’D’ ABC’D ABCD ABCD’

10 AB’C’D’ AB’C’D AB’CD AB’CD’

ABCD

00 01 11 10

00 1

01 1 1

11 1

10

CDAB

Page 13: simplification of boolean algebra

A five-variable map needs 32 squares and a six-variable map needs 64 squares. When the number of variables becomes large, the number of squares becomes excessively large and the geometry for combining adjacent squares becomes more involved.

Page 14: simplification of boolean algebra

Truth table for five-variable map.A B C D E F

0 0 0 0 0 1

0 0 0 0 1 0

0 0 0 1 0 1

0 0 0 1 1 0

0 0 1 0 0 1

0 0 1 0 1 0

0 0 1 1 0 1

0 0 1 1 1 0

0 1 0 0 0 0

0 1 0 0 1 1

0 1 0 1 0 0

0 1 0 1 1 0

0 1 1 0 0 0

0 1 1 0 1 1

0 1 1 1 0 0

0 1 1 1 1 0

A B C D E F

1 0 0 0 0 0

1 0 0 0 1 0

1 0 0 1 0 0

1 0 0 1 1 0

1 0 1 0 0 0

1 0 1 0 1 1

1 0 1 1 0 0

1 0 1 1 1 1

1 1 0 0 0 0

1 1 0 0 1 1

1 1 0 1 0 0

1 1 0 1 1 1

1 1 1 0 0 0

1 1 1 0 1 1

1 1 1 1 0 0

1 1 1 1 1 0

Page 15: simplification of boolean algebra

It consists of 2 four-variable maps with variables A, B, C, D, and E. The leftmost variable distinguishes between the two maps.

00 01 11 10

00 1 0 0 1

01 1 0 0 1

11 0 1 0 0

10 0 1 0 0

00 01 11 10

00 0 0 0 0

01 0 1 1 0

11 0 1 1 0

10 0 1 0 0

BCDE DE

BC

A=1

A=0

Page 16: simplification of boolean algebra
Page 17: simplification of boolean algebra

00

01

11

10

00 0 0 0 0

01 0 0 1 0

11 0 0 1 0

10 0 0 0 0

AB

CD CDAB 00 01 11 10

00 0 0 0 0

01 0 0 1 0

11 0 1 1 0

10 0 1 0 0

ABCD

00 01 11 10

00 0 0 0 0

01 0 0 1 1

11 0 1 0 0

10 0 1 0 0

00 01 11 10

00 0 0 0 0

01 0 0 1 1

11 0 0 0 0

10 0 0 0 0

CD CDAB AB

00

01

11

10

00 0 0 0 0

01 0 0 0 0

11 1 0 0 1

10 0 0 0 0

BA C

D E

Page 18: simplification of boolean algebra

As we move from the first 1 to the second 1, only one variable changes (e.g. A to A’) and the other three variables remain unchanged. Whenever this happens, eliminating the variable that changes is possible, therefore:

F=BCD

Page 19: simplification of boolean algebra

It is customary to encircle a pair of adjacent 1s for easy identification. This way, when you look at the map, you can tell at a glance that one variable and its complement can be dropped from the Boolean equation.

Figure B shows a pair of adjacent 1s that are horizontally adjacent. These 1s corresponds to the products A’BCD and A’BCD’. Notice that the only one variable changes from not complemented form – D to D’. All the other variables remain unchanged. Thus D can be dropped. The final product of

Page 20: simplification of boolean algebra

the encircled pairs is:

F = A’BC

If more than one pair exist on a Karnaugh map as in Figure 3.5 (c) and (d), you can OR the simplified products to get the Boolean equation. Therefore:

for (c) F = AC’D + A’BC And

for F = BC’D + A’CD

Page 21: simplification of boolean algebra

CDAB

00 01 11 10

00 0 0 1 0

01 0 0 1 0

11 0 0 1 0

10 0 0 1 0

CDAB

00 01 11 10

00 0 0 0 0

01 0 0 1 1

11 0 0 1 1

10 0 0 0 0

a b

Page 22: simplification of boolean algebra

A Quad is a group of four 1s that are end to end as shown in Figure A or in the form of a square as shown in figure B. When you see a quad, always encircle it because it leads to a simpler product. In fact, a quad means that two variables and their complements can be dropped from the Boolean equation.

Page 23: simplification of boolean algebra

To get the simplified equation…“A”

F=A’B’CD+A’BCD+ABCD+AB’CD

Therefore,F=CD

“B”F=A’BCD+ABCD+A’BCD’+ABCD’

Therefore,F=BC

Page 24: simplification of boolean algebra

An octet is a group of eight adjacent 1s like this:

Notice that in this map the three variables changed (ABC) and only A retains its value.

00 01 11 10

00 0 0 1 1

01 0 0 1 1

11 0 0 1 1

10 0 0 1 1

CDAB

Page 25: simplification of boolean algebra

F = A’B’CD A’BCD

ABCDAB’CD

+ A’B’CD’A’BCD’ABCD’AB’CD’

Therefore,F=C

Page 26: simplification of boolean algebra