Top Banner
Simplification Of Switching Functions [2] ©Loberg The goal of the simplification is to minimize the cost of realizing a function with physical circuit elements. In general, it is desirable to minimize the number of circuit elements and to make each element as simple as possible. Unsimplified two-level switching function has 4 variables, 13 literals and 5 product terms. Save silicon area in VLSI circuits or reduce the number of SSI-circuits in implementation. Two-level SOP function Reduce the number of product terms to reduce gate count. Minimize the number of literals in each product terms to minimize the number of gate inputs. Simplified switching function has 3 literals and 2 product terms (CD, B) and 3 variables. Simplification Goals 1 SSI 1-10 MSI 10-100 LSI 100-10 000 VLSI >100 000
33

Simplification Of Switching Functionsusers.jyu.fi/~loberg/FYSE410slides/FYSE410LECTURE4.pdf · Plotting Functions in Canonical Form on the Karnaugh map. B and A. If switching function

May 17, 2018

Download

Documents

tranhanh
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Simplification Of Switching Functionsusers.jyu.fi/~loberg/FYSE410slides/FYSE410LECTURE4.pdf · Plotting Functions in Canonical Form on the Karnaugh map. B and A. If switching function

Simplification Of Switching Functions

[2] ©Loberg

The goal of the simplification is to minimize the cost of realizing a function with physical circuit elements.

In general, it is desirable to minimize the number of circuit elements and to make each element as simple as possible.

Unsimplified two-level switching function has 4 variables, 13 literals and 5 product terms.

Save silicon area in VLSI circuits or reduce the number of SSI-circuits in implementation.

Two-level SOP function

Reduce the number of product terms to reduce gate count. Minimize the number of literals in each product terms to minimize the number of gate inputs.

Simplified switching function has 3 literals and 2 product terms (CD, B) and 3 variables.

Simplification Goals

1

SSI 1-10 MSI 10-100 LSI 100-10 000 VLSI >100 000

Page 2: Simplification Of Switching Functionsusers.jyu.fi/~loberg/FYSE410slides/FYSE410LECTURE4.pdf · Plotting Functions in Canonical Form on the Karnaugh map. B and A. If switching function

Simplification

Karnaugh Map method up to six variables Quine-McCluskey Tabular Minimization method Switching algebra

Three "paper and pencil" methods

©Loberg [2]

Simplification Of Switching Functions

2

Page 3: Simplification Of Switching Functionsusers.jyu.fi/~loberg/FYSE410slides/FYSE410LECTURE4.pdf · Plotting Functions in Canonical Form on the Karnaugh map. B and A. If switching function

Karnaugh map for variables B and A

All possible minterms for variables B and A are : m0 , m1 , m2 and m3 .

ABmABmABmABm

3

2

1

0

⋅=

⋅=

⋅=

⋅=

All possible maxterms for variables B and A are : M0 , M1 , M2 and M3 .

ABMABMABMABM

3

2

1

0

+=

+=

+=

+=

©Loberg

Simplification Of Switching Functions Simplification

3

Page 4: Simplification Of Switching Functionsusers.jyu.fi/~loberg/FYSE410slides/FYSE410LECTURE4.pdf · Plotting Functions in Canonical Form on the Karnaugh map. B and A. If switching function

All possible minterms for variables C, B and A are : m0 , m1 , m2 , .... and m7 .

All possible maxterms for variables C, B and A are : M0 , M1 , M2 , .... and M7 .

ABCmABCmABCmABCmABCmABCmABCmABCm

7

6

5

4

3

2

1

0

⋅⋅=

⋅⋅=

⋅⋅=

⋅⋅=

⋅⋅=

⋅⋅=

⋅⋅=

⋅⋅=

ABCMABCMABCMABCMABCMABCMABCMABCM

7

6

5

4

3

2

1

0

++=

++=

++=

++=

++=

++=

++=

++=

©Loberg [2]

Simplification Of Switching Functions Simplification Karnaugh map for variables C, B and A

4

Page 5: Simplification Of Switching Functionsusers.jyu.fi/~loberg/FYSE410slides/FYSE410LECTURE4.pdf · Plotting Functions in Canonical Form on the Karnaugh map. B and A. If switching function

ABCDmABCDmABCDmABCDmABCDmABCDm

ABCDmABCDmABCDmABCDmABCDmABCDmABCDmABCDmABCDmABCDm

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

⋅⋅⋅=⋅⋅⋅=

⋅⋅⋅=

⋅⋅⋅=

⋅⋅⋅=

⋅⋅⋅=

⋅⋅⋅=

⋅⋅⋅=

⋅⋅⋅=

⋅⋅⋅=

⋅⋅⋅=

⋅⋅⋅=

⋅⋅⋅=

⋅⋅⋅=

⋅⋅⋅=

⋅⋅⋅=

ABCDMABCDMABCDMABCDMABCDMABCDM

ABCDMABCDMABCDMABCDMABCDMABCDMABCDMABCDMABCDMABCDM

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

+++=

+++=

+++=

+++=

+++=

+++=

+++=

+++=

+++=

+++=

+++=

+++=

+++=

+++=

+++=

+++=

All possible maxterms for variables D, C, B and A .

All possible minterms for variables D, C, B and A .

©Loberg [2]

Simplification Of Switching Functions Simplification Karnaugh map for variables D, C, B and A

5

Page 6: Simplification Of Switching Functionsusers.jyu.fi/~loberg/FYSE410slides/FYSE410LECTURE4.pdf · Plotting Functions in Canonical Form on the Karnaugh map. B and A. If switching function

K-map for variables E , D , C , B and A. Alternative K-map format for five variables

©Loberg [2]

Simplification Of Switching Functions Simplification Karnaugh map for variables E, D, C, B and A

6

Page 7: Simplification Of Switching Functionsusers.jyu.fi/~loberg/FYSE410slides/FYSE410LECTURE4.pdf · Plotting Functions in Canonical Form on the Karnaugh map. B and A. If switching function

ABCDEmABCDEmABCDEmABCDEm

3

2

1

0

⋅⋅⋅⋅=

⋅⋅⋅⋅=

⋅⋅⋅⋅=

⋅⋅⋅⋅=

All possible minterms for variables E, D, C, B and A are : m0 , m1 , m2 , m3 , .... and m31 .

ABCDEmABCDEmABCDEmABCDEm

7

6

5

4

⋅⋅⋅⋅=

⋅⋅⋅⋅=

⋅⋅⋅⋅=

⋅⋅⋅⋅=

ABCDEmABCDEmABCDEm

10

9

8

⋅⋅⋅⋅=

⋅⋅⋅⋅=

⋅⋅⋅⋅=

ABCDEm

ABCDEmABCDEm

31

18

17

⋅⋅⋅⋅=

⋅⋅⋅⋅=

⋅⋅⋅⋅=

All possible maxterms for variables E, D, C, B and A are : M0 , M1 , M2 , M3 , ... and M31 .

ABCDEMABCDEMABCDEMABCDEM

3

2

1

0

++++=

++++=

++++=

++++=

ABCDEMABCDEMABCDEMABCDEM

7

6

5

4

++++=

++++=

++++=

++++=

ABCDEMABCDEMABCDEM

10

9

8

++++=

++++=

++++=

ABCDEM

ABCDEMABCDEM

31

18

17

++++=

++++=

++++=

©Loberg [2]

Simplification Of Switching Functions Simplification Karnaugh map for variables E, D, C, B and A

7

Page 8: Simplification Of Switching Functionsusers.jyu.fi/~loberg/FYSE410slides/FYSE410LECTURE4.pdf · Plotting Functions in Canonical Form on the Karnaugh map. B and A. If switching function

©Loberg [2]

Simplification Of Switching Functions Simplification Karnaugh map for variables F, E, D, C, B and A

8

Page 9: Simplification Of Switching Functionsusers.jyu.fi/~loberg/FYSE410slides/FYSE410LECTURE4.pdf · Plotting Functions in Canonical Form on the Karnaugh map. B and A. If switching function

All possible minterms for variables F, E, D, C, B and A are : m0 , m1 , m2 , m3 ... and m63 .

ABCDEFm

ABCDEFmABCDEFm

15

1

0

⋅⋅⋅⋅⋅=

⋅⋅⋅⋅⋅=

⋅⋅⋅⋅⋅=

ABCDEFm

ABCDEFmABCDEFm

31

17

16

⋅⋅⋅⋅⋅=

⋅⋅⋅⋅⋅=

⋅⋅⋅⋅⋅=

ABCDEFm

ABCDEFmABCDEFm

47

33

32

⋅⋅⋅⋅⋅=

⋅⋅⋅⋅⋅=

⋅⋅⋅⋅⋅=

ABCDEFm

ABCDEFmABCDEFm

63

49

48

⋅⋅⋅⋅⋅=

⋅⋅⋅⋅⋅=

⋅⋅⋅⋅⋅=

All possible maxterms for variables F, E, D, C, B and A are : M0 , M1 , M2 , . . and M63 .

ABCDEFM

ABCDEFMABCDEFM

15

1

0

+++++=

+++++=

+++++=

ABCDEFM

ABCDEFMABCDEFM

31

17

16

+++++=

+++++=

+++++=

ABCDEFM

ABCDEFMABCDEFM

47

33

32

+++++=

+++++=

+++++=

ABCDEFM

ABCDEFMABCDEFM

63

49

48

+++++=

+++++=

+++++=

©Loberg [2]

Simplification Of Switching Functions Simplification Karnaugh map for variables F, E, D, C, B and A

9

Page 10: Simplification Of Switching Functionsusers.jyu.fi/~loberg/FYSE410slides/FYSE410LECTURE4.pdf · Plotting Functions in Canonical Form on the Karnaugh map. B and A. If switching function

Suppose we have following Boolean function f1 which is given in canonical SOP form : ( ) ABABA,Bf1 ⋅+⋅= ( ) ( )∑= 2,0mA,Bf1

We have assumed that right side of variables (B, A) represent a ”least significant bit” and left side (B) represent a ”most significant bit”.

ABmABmABmABm

3

2

1

0

⋅=⋅=

⋅=

⋅=⇒

If we plot minterms (1’s) only on the K-map, then m0 and m2 are 1.

Plotting Functions in Canonical Form on the Karnaugh map

B and A

If switching function is expressed in canonical form, it may be readily plotted on a K-map. Each cell on the K-map corresponds to minterm/maxterm of the canonical form.

©Loberg [2]

Simplification Of Switching Functions Simplification

10

Page 11: Simplification Of Switching Functionsusers.jyu.fi/~loberg/FYSE410slides/FYSE410LECTURE4.pdf · Plotting Functions in Canonical Form on the Karnaugh map. B and A. If switching function

( ) ( ) ( ) ( ) ( )ABABMM3,1M2,0mA,Bf 311 +⋅+=⋅=== ∏∑

If we plot maxterms (0’s) only on the K-map, then M1 and M3 are 0. ABM

ABM

3

1

+=

+=

©Loberg [2]

Simplification Of Switching Functions Simplification Plotting Functions in Canonical Form on the Karnaugh map

B and A

11

Page 12: Simplification Of Switching Functionsusers.jyu.fi/~loberg/FYSE410slides/FYSE410LECTURE4.pdf · Plotting Functions in Canonical Form on the Karnaugh map. B and A. If switching function

If we plot all minterms (1) and maxterms (0) on the K-map, then the K-map corresponds directly to the truth table of the function f1 .

The truth table for the function f1 .

K-map for the function f1 .

©Loberg [2]

Simplification Of Switching Functions Simplification Plotting Functions in Canonical Form on the Karnaugh map

B and A

12

Page 13: Simplification Of Switching Functionsusers.jyu.fi/~loberg/FYSE410slides/FYSE410LECTURE4.pdf · Plotting Functions in Canonical Form on the Karnaugh map. B and A. If switching function

( ) ( )

( )( ) ( ) ( ) ( ) ( )ABCABCABCABCABC

MMMMM7,6,4,2,1MABCABCABC

mmm5,3,0mA,B,Cf

76421

5302

++⋅++⋅++⋅++⋅++=

⋅⋅⋅⋅==

⋅⋅+⋅⋅+⋅⋅=

++==

reference [2]

K-map for the function f2 .

The truth table for the function f2 .

©Loberg

Simplification Of Switching Functions Simplification Plotting Functions in Canonical Form on the Karnaugh map

C, B and A

13

Page 14: Simplification Of Switching Functionsusers.jyu.fi/~loberg/FYSE410slides/FYSE410LECTURE4.pdf · Plotting Functions in Canonical Form on the Karnaugh map. B and A. If switching function

( ) ( )( )∏

∑=

=

9,8,6,4,2,1M15,14,13,12,11,10,7,5,3,0mA,B,C,Df3

The truth table for the function f3 .

Minterms mi and maxterms Mj

K-map for the function f3 .

SOP and POS form of switching function f3 respectively.

©Loberg

Simplification Of Switching Functions Simplification Plotting Functions in Canonical Form on the Karnaugh map

D, C, B and A

14

Page 15: Simplification Of Switching Functionsusers.jyu.fi/~loberg/FYSE410slides/FYSE410LECTURE4.pdf · Plotting Functions in Canonical Form on the Karnaugh map. B and A. If switching function

( ) ( )( )∏

∑=

=

29,,24,21,,16,13,,1,0M31,30,23,22,15,14mA,B,C,D,Ef4

SOP and POS form of switching function f3 respectively.

The truth table for the function f4 .

K-map for the function f4 .

©Loberg

Simplification Of Switching Functions Simplification Plotting Functions in Canonical Form on the Karnaugh map

E, D, C, B and A

15

Page 16: Simplification Of Switching Functionsusers.jyu.fi/~loberg/FYSE410slides/FYSE410LECTURE4.pdf · Plotting Functions in Canonical Form on the Karnaugh map. B and A. If switching function

( ) ( )( )∏

∑=

=

63,,60,58,56,,44,42,40,,28,26,24,,13,12,10,8,,1,0M59,57,43,41,27,25,11,9mA,B,C,D,E,Ff5

119 m,m

2725 m,m

5957 m,m

4341 m,m

K-map for the function f5 .

©Loberg

Simplification Of Switching Functions Simplification Plotting Functions in Canonical Form on the Karnaugh map

F, E, D, C, B and A

16

Page 17: Simplification Of Switching Functionsusers.jyu.fi/~loberg/FYSE410slides/FYSE410LECTURE4.pdf · Plotting Functions in Canonical Form on the Karnaugh map. B and A. If switching function

Plotting Functions in Standard SOP/POS Form on the K-map

In canonical form the each product or sum term must contain all the variables, either complemented or uncomplemented.

In standard form each product/sum term may have any number of literals.

( ) BCABAA,B,Cf6 ⋅+⋅+=

( ) ( ) ( ) ACBCBAA,B,Cf7 ⋅+⋅++=

Standard SOP form

Standard POS form

©Loberg [2]

Simplification Of Switching Functions Simplification

17

Page 18: Simplification Of Switching Functionsusers.jyu.fi/~loberg/FYSE410slides/FYSE410LECTURE4.pdf · Plotting Functions in Canonical Form on the Karnaugh map. B and A. If switching function

Consider the following function f8(B,A), which is expressed as a standard sum of products.

ABAf8 ⋅+=

The first term represents the portion of the map where A = 0 (minterms m0 , m2).

The second term represents the portion of the map where A = 1 and B = 1 (minterm m3).

B is don’t care

©Loberg [2]

Simplification Of Switching Functions Simplification Plotting Functions in Standard SOP/POS Form on the K-map

Example

18

Page 19: Simplification Of Switching Functionsusers.jyu.fi/~loberg/FYSE410slides/FYSE410LECTURE4.pdf · Plotting Functions in Canonical Form on the Karnaugh map. B and A. If switching function

We can use K-map to make a conversion from standard SOP to canonical SOP form.

Minterms m0, m2 and m3 are covered only once.

Minterms (ones) plotted on the K-map.

( )∑=⋅+⋅+⋅= 3,2,0mABABABf8The canonical sum of product form for function f8 .

Variables B and A

©Loberg [2]

Simplification Of Switching Functions Simplification Plotting Functions in Standard SOP/POS Form on the K-map

19

Page 20: Simplification Of Switching Functionsusers.jyu.fi/~loberg/FYSE410slides/FYSE410LECTURE4.pdf · Plotting Functions in Canonical Form on the Karnaugh map. B and A. If switching function

( ) ABCCACDA,B,C,Df10 ++= Standard SOP

A and B are don’t care

D and B are don’t care

D is don’t care

Minterm m10 is covered twice.

©Loberg [2]

Simplification Of Switching Functions Simplification Plotting Functions in Standard SOP/POS Form on the K-map

Variables D, C, B and A

20

Page 21: Simplification Of Switching Functionsusers.jyu.fi/~loberg/FYSE410slides/FYSE410LECTURE4.pdf · Plotting Functions in Canonical Form on the Karnaugh map. B and A. If switching function

Standard POS ( ) ( )( )( )ACDABDCAD,C,B,Af10 +++++=

The complement of the function f10

Convert each 0 cell to a 1 cell and plot function in canonical or standard SOP form.

Maxterm M4 is covered twice.

©Loberg [2]

Simplification Of Switching Functions Simplification Plotting Functions in Standard SOP/POS Form on the K-map

Variables D, C, B and A

21

Page 22: Simplification Of Switching Functionsusers.jyu.fi/~loberg/FYSE410slides/FYSE410LECTURE4.pdf · Plotting Functions in Canonical Form on the Karnaugh map. B and A. If switching function

1. Each minterm on a K-map of n variables has n logically adjacent minterms.

Adjacent minterms : )m,m( 10

)m,m( 31

)m,m( 32

)m,m( 20

)BAAB(

)ABAB(

Five important points to keep in mind.

Guidelines for Simplifying Functions Using K-maps

©Loberg [2]

Simplification Of Switching Functions Simplification

22

Page 23: Simplification Of Switching Functionsusers.jyu.fi/~loberg/FYSE410slides/FYSE410LECTURE4.pdf · Plotting Functions in Canonical Form on the Karnaugh map. B and A. If switching function

Example :

)m,m( 02

)m,m( 32

)m,m( 62

)m,m( 102

)m,m( 513

)m,m( 913

)m,m( 1213

)m,m( 1513

Or

)m,m( 13

)m,m( 23

)m,m( 73

)ABCBAC(

)ABCBAC(

)CBABAC(

Example :

Adjacent minterms :

©Loberg [2]

Simplification Of Switching Functions Simplification

Five important points to keep in mind.

Guidelines for Simplifying Functions Using K-maps

23

Page 24: Simplification Of Switching Functionsusers.jyu.fi/~loberg/FYSE410slides/FYSE410LECTURE4.pdf · Plotting Functions in Canonical Form on the Karnaugh map. B and A. If switching function

2. Group squares in powers of 2 (2, 4, 8, 16, ..). Grouping 2n squares, eliminates n variables.

Eliminates one variable

C is eliminated

A is eliminated

C is eliminated

Eliminates two variables

A and B are eliminated

D and B are eliminated

©Loberg [2]

Simplification Of Switching Functions Simplification

Five important points to keep in mind.

Guidelines for Simplifying Functions Using K-maps

24

Page 25: Simplification Of Switching Functionsusers.jyu.fi/~loberg/FYSE410slides/FYSE410LECTURE4.pdf · Plotting Functions in Canonical Form on the Karnaugh map. B and A. If switching function

Simplification Of Switching Functions Simplification Guidelines for Simplifying Functions Using K-maps

Five important points to keep in mind.

Eliminates three variables

A , B and C are eliminated

©Loberg [2] 25

Page 26: Simplification Of Switching Functionsusers.jyu.fi/~loberg/FYSE410slides/FYSE410LECTURE4.pdf · Plotting Functions in Canonical Form on the Karnaugh map. B and A. If switching function

3. Group as many squares together as possible. The larger the group is, the fewer the number of literals in the resulting product term.

4. Make as few groups as possible to cover all the minterms of function. The fewer the groups, the fewer the number of product terms in the minimized function. Stop, when all minterms are used at least once. The minterm is covered when it is used at least once in groups.

5. Start grouping with those minterms which has fewest number of logically adjacent minterms.

©Loberg [2]

Simplification Of Switching Functions Simplification

Five important points to keep in mind.

Guidelines for Simplifying Functions Using K-maps

26

Page 27: Simplification Of Switching Functionsusers.jyu.fi/~loberg/FYSE410slides/FYSE410LECTURE4.pdf · Plotting Functions in Canonical Form on the Karnaugh map. B and A. If switching function

General Terminology

We must ensure that all the minterms of the function are covered when we combine squares. There are no minterms already covered by other terms.

A prime implicant is a product term obtained by combining the maximum possible number of adjacent squares in the map. If minterm in a square is covered by only one prime implicant, that prime implicant is said to be essential.

BA DC

00

00 01 11 10

01

11

10

1 1

1 1

1 1

1

1 1 1 1

BA DC

00

00 01 11 10

01

11

10

1 1

1 1

1 1

1

1 1 1 1

Essential Prime Implicants

Prime Implicants

CD⋅ AD ⋅ AB ⋅ BC ⋅

AC ⋅ AC ⋅

ABADACAC

BCADACAC

ABCDACAC

BCCDACACF

⋅+⋅+⋅+⋅=

⋅+⋅+⋅+⋅=

⋅+⋅+⋅+⋅=

⋅+⋅+⋅+⋅=

Four possible standard forms (SOP)

©Loberg [2]

Simplification Of Switching Functions Simplification

27

Page 28: Simplification Of Switching Functionsusers.jyu.fi/~loberg/FYSE410slides/FYSE410LECTURE4.pdf · Plotting Functions in Canonical Form on the Karnaugh map. B and A. If switching function

( ) ( )∑= 31,30,23,22,15,14,,,, ABCDEF

DCB

ECB

E=0

E=1

( ) ECBDCBABCDEF +=,,,,Minimized standard form (SOP)

Canonical form

Example with Five-Variable Map

Examples with K-maps

©Loberg

Simplification Of Switching Functions Simplification

28

BA

00

00 01 11 10

01

11

10

DC

E=0

1 1

0m 1m 3m 2m

4m 5m 7m 6m

12m 13m 15m 14m

8m 9m 10m11m

E=1

BA

00

00 01 11 10

01

11

10

DC

1 1

1 1

0m 1m 3m 2m

4m 5m 7m 6m

12m 13m 15m 14m

8m 9m 10m11m

Page 29: Simplification Of Switching Functionsusers.jyu.fi/~loberg/FYSE410slides/FYSE410LECTURE4.pdf · Plotting Functions in Canonical Form on the Karnaugh map. B and A. If switching function

Example with Six-Variable Map

FE = 00

FE = 01

FE = 11

FE = 10

BA DC 00

00 01

01 11

11

10

10

ACDF =

Simplified Boolean function f5 :

Minimized standard form (SOP)

( ) ( )∑= 59,57,43,41,27,25,11,9mA,B,C,D,E,Ff5

©Loberg

Simplification Of Switching Functions Simplification Examples with K-maps

29

Page 30: Simplification Of Switching Functionsusers.jyu.fi/~loberg/FYSE410slides/FYSE410LECTURE4.pdf · Plotting Functions in Canonical Form on the Karnaugh map. B and A. If switching function

( ) ( )( )∏

∑=15,14,13,12,11,7,6,4,3M

10,9,8,5,2,1,0mA,B,C,DF

1's marked in the squares (minterms) :

1098

5210

m,m,m,m,m,m,m

15141312

117643

M,M,M,M,M,M,M,M,M0's marked in the squares (maxterms) :

If the squares marked with 0's are combined, (and take reduced minterms) we obtain the simplified complemented function: F

( ) ACCDABABCDF ⋅+⋅+⋅=,,,

Applying DeMorgan's theorem we obtain simplified F in POS form.

( )( ) ( ) ( )( ) ( ) ( )ACCDAB

ACCDAB

ACCDABA,B,C,DFF

+⋅+⋅+=

⋅⋅⋅⋅⋅=

⋅+⋅+⋅==

If we take reduced maxterms,we obtain simplified function F.

©Loberg

Simplification Of Switching Functions Simplification Examples with K-maps

30

BA

00

00 01 11 10

01

11

10

DC

0 0

0

0

0 0

0

1 1 1

1

1 1 1

0 0

0m 1m 3m2m

4m 5m 7m 6m

12m 13m 15m 14m

8m 9m 10m11m

Page 31: Simplification Of Switching Functionsusers.jyu.fi/~loberg/FYSE410slides/FYSE410LECTURE4.pdf · Plotting Functions in Canonical Form on the Karnaugh map. B and A. If switching function

Gate implementation of the function ( ) ( )∑= 10,9,8,5,2,1,0,,, ABCDF

(standard SOP form)

(standard POS form)

ABDBCACF ⋅⋅+⋅+⋅=

( ) ( ) ( )ACCDABF +⋅+⋅+=

A

BD

C

A

F

A

B

D

C

A

F

©Loberg

Simplification Of Switching Functions Simplification Examples with K-maps

31

BA

00

00 01 11 10

01

11

10

DC

0 0

0

0

0 0

0

1 1 1

1

1 1 1

0 0

0m 1m 3m 2m

4m 5m 7m 6m

12m 13m 15m 14m

8m 9m 10m11m

BA

00

00 01 11 10

01

11

10

DC

0 0

0

0

0 0

0

1 1 1

1

1 1 1

0 0

0m 1m 3m 2m

4m 5m 7m 6m

12m 13m 15m 14m

8m 9m 10m11m

Page 32: Simplification Of Switching Functionsusers.jyu.fi/~loberg/FYSE410slides/FYSE410LECTURE4.pdf · Plotting Functions in Canonical Form on the Karnaugh map. B and A. If switching function

In practice, there are some applications where the function is not specified for certain combinations of the input variables.

For example, four-bit binary code for the decimal digits (0-9, P0 - P9).

Six unspecified outputs for some input (P10 - P15 ) combinations.

These don't care conditions can be used on a map to provide further simplification of the Boolean function.

Mark the don't care minterm with X in the K-map.

ACABDBCF ⋅+⋅⋅+⋅=

ACDABDBCF ⋅⋅+⋅⋅+⋅= (Simplified without X)

(Simplified with X)

©Loberg

Simplification Of Switching Functions Simplification Examples with K-maps

32

BA

00

00 01 11 10

01

11

10

DC

0 0

0

0

0 0

0

X 1 1

1

1 1 1

0 0

0m 1m 3m 2m

4m 5m 7m 6m

12m 13m 15m 14m

8m 9m 10m11m

Page 33: Simplification Of Switching Functionsusers.jyu.fi/~loberg/FYSE410slides/FYSE410LECTURE4.pdf · Plotting Functions in Canonical Form on the Karnaugh map. B and A. If switching function

33

The End