Top Banner
1/28 Fundamentals of Logic Design Chap. 4 Applications of Boolean Algebra/ Minterm and Maxterm Expansions This chapter in the book includes: Objectives Study Guide 4.1 Conversion of English Sentences to Bool- ean Equations 4.2 Combinational Logic Design Using a Truth Table 4.3 Minterm and Maxterm Expansions 4.4 General Minterm and Maxterm Expansions 4.5 Incompletely Specified Functions 4.6 Examples of Truth Table Construction 4.7 Design of Binary Adders and Subtracters Problems CHAPTER 4
28

Applications of Boolean Algebra/ Minterm and …contents.kocw.net/KOCW/document/2015/sungkyunkwan/...1/28 Fundamentals of Logic Design Chap. 4 Applications of Boolean Algebra/ Minterm

Feb 09, 2020

Download

Documents

dariahiddleston
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: Applications of Boolean Algebra/ Minterm and …contents.kocw.net/KOCW/document/2015/sungkyunkwan/...1/28 Fundamentals of Logic Design Chap. 4 Applications of Boolean Algebra/ Minterm

1/28

Fundamentals of Logic Design Chap. 4

Applications of Boolean Algebra/

Minterm and Maxterm Expansions

This chapter in the book includes:

Objectives

Study Guide

4.1 Conversion of English Sentences to Bool-

ean Equations

4.2 Combinational Logic Design Using a Truth

Table

4.3 Minterm and Maxterm Expansions

4.4 General Minterm and Maxterm Expansions

4.5 Incompletely Specified Functions

4.6 Examples of Truth Table Construction

4.7 Design of Binary Adders and Subtracters

Problems

CHAPTER 4

Page 2: Applications of Boolean Algebra/ Minterm and …contents.kocw.net/KOCW/document/2015/sungkyunkwan/...1/28 Fundamentals of Logic Design Chap. 4 Applications of Boolean Algebra/ Minterm

2/28

Fundamentals of Logic Design Chap. 4

Objective

•Conversion of English Sentences to Boolean Equations

•Combinational Logic Design Using a Truth Table

•Minterm and Maxterm Expansions

•General Minterm and Maxterm Expansions

•Incompletely Specified Functions (Don’t care term)

•Examples of Truth Table Construction

•Design of Binary Adders(Full adder) and Subtracters

Page 3: Applications of Boolean Algebra/ Minterm and …contents.kocw.net/KOCW/document/2015/sungkyunkwan/...1/28 Fundamentals of Logic Design Chap. 4 Applications of Boolean Algebra/ Minterm

3/28

Fundamentals of Logic Design Chap. 4

4.1 Conversion of English Sentences to Boolean Equations

- Steps in designing a single-output combinational switching circuit

1. F is ‘true’ if A and B are both ‘true’ F=AB

1. Find switching function which specifies the desired behavior of the circuit

2. Find a simplified algebraic expression for the function

3. Realize the simplified function using available logic elements

Page 4: Applications of Boolean Algebra/ Minterm and …contents.kocw.net/KOCW/document/2015/sungkyunkwan/...1/28 Fundamentals of Logic Design Chap. 4 Applications of Boolean Algebra/ Minterm

4/28

Fundamentals of Logic Design Chap. 4

'' CDABZ

4.1 Conversion of English Sentences to Boolean Equations

1. The alarm will ring(Z) iff the alarm switch is turned on(A) and the door

is not closed(B’), or it is after 6PM(C) and window is not closed(D’)

2. Boolean Equation

3. Circuit realization

Page 5: Applications of Boolean Algebra/ Minterm and …contents.kocw.net/KOCW/document/2015/sungkyunkwan/...1/28 Fundamentals of Logic Design Chap. 4 Applications of Boolean Algebra/ Minterm

5/28

Fundamentals of Logic Design Chap. 4

ABCABCCABCABBCAf '''''

4.2 Combinational Logic Design Using a Truth Table

- Combinational Circuit with Truth Table

When expression for f=1

Page 6: Applications of Boolean Algebra/ Minterm and …contents.kocw.net/KOCW/document/2015/sungkyunkwan/...1/28 Fundamentals of Logic Design Chap. 4 Applications of Boolean Algebra/ Minterm

6/28

Fundamentals of Logic Design Chap. 4

BCAABCAABABBCAf '''

ABCABCCABCABBCAf '''''

4.2 Combinational Logic Design Using a Truth Table

Original equation

Simplified equation

Circuit realization

Page 7: Applications of Boolean Algebra/ Minterm and …contents.kocw.net/KOCW/document/2015/sungkyunkwan/...1/28 Fundamentals of Logic Design Chap. 4 Applications of Boolean Algebra/ Minterm

7/28

Fundamentals of Logic Design Chap. 4

BCACBBACBABAf )'()')((

'''''''' BCACBACBAf

)')(')(( CBACBACBAf

)')(')(( CBACBACBAf

4.2 Combinational Logic Design Using a Truth Table

- Combinational Circuit with Truth Table

When expression for f=0

When expression for f ’=1

and take the complement of f ‘

Page 8: Applications of Boolean Algebra/ Minterm and …contents.kocw.net/KOCW/document/2015/sungkyunkwan/...1/28 Fundamentals of Logic Design Chap. 4 Applications of Boolean Algebra/ Minterm

8/28

Fundamentals of Logic Design Chap. 4

4.3 Minterm and Maxterm Expansions

- literal is a variable or its complement (e.g. A, A’)

- Minterm, Maxterm for three variables

Page 9: Applications of Boolean Algebra/ Minterm and …contents.kocw.net/KOCW/document/2015/sungkyunkwan/...1/28 Fundamentals of Logic Design Chap. 4 Applications of Boolean Algebra/ Minterm

9/28

Fundamentals of Logic Design Chap. 4

ABCABCCABCABBCAf '''''

76543),,( mmmmmCBAf

)7,6,5,4,3(),,( mCBAf

4.3 Minterm and Maxterm Expansions

-Minterm expansion,

-Standard Sum of Product

- Minterm of n variables is a product of n literals in which each variable appears exactly

once in either true (A) or complemented form(A’), but not both. ( m0)

Page 10: Applications of Boolean Algebra/ Minterm and …contents.kocw.net/KOCW/document/2015/sungkyunkwan/...1/28 Fundamentals of Logic Design Chap. 4 Applications of Boolean Algebra/ Minterm

10/28

Fundamentals of Logic Design Chap. 4

)')(')(( CBACBACBAf

210),,( MMMCBAf

)2,1,0(),,( MCBAf

4.3 Minterm and Maxterm Expansions

- Maxterm of n variables is a sum of n literals in which each variable appears exactly

once in either true (A) or complemented form(A’) , but not both.( M0)

-Maxterm expansion,

-Standard Product of Sum

Page 11: Applications of Boolean Algebra/ Minterm and …contents.kocw.net/KOCW/document/2015/sungkyunkwan/...1/28 Fundamentals of Logic Design Chap. 4 Applications of Boolean Algebra/ Minterm

11/28

Fundamentals of Logic Design Chap. 4

)2,1,0(' 210 mmmmf

76543)7,6,5,4,3(' MMMMMMf

765437654376543 ''''')'(' MMMMMmmmmmmmmmmf

210210210 ''')'(' mmmMMMMMMf

76543),,( mmmmmCBAf

210),,( MMMCBAf

4.3 Minterm and Maxterm Expansions

- Minterm and Maxterm expansions are complement each other

Page 12: Applications of Boolean Algebra/ Minterm and …contents.kocw.net/KOCW/document/2015/sungkyunkwan/...1/28 Fundamentals of Logic Design Chap. 4 Applications of Boolean Algebra/ Minterm

12/28

Fundamentals of Logic Design Chap. 4

4.3 Minterm and Maxterm Expansions

-Example: Minterm expansion

Page 13: Applications of Boolean Algebra/ Minterm and …contents.kocw.net/KOCW/document/2015/sungkyunkwan/...1/28 Fundamentals of Logic Design Chap. 4 Applications of Boolean Algebra/ Minterm

13/28

Fundamentals of Logic Design Chap. 4

4.3 Minterm and Maxterm Expansions

-Example: Maxterm expansion

Page 14: Applications of Boolean Algebra/ Minterm and …contents.kocw.net/KOCW/document/2015/sungkyunkwan/...1/28 Fundamentals of Logic Design Chap. 4 Applications of Boolean Algebra/ Minterm

14/28

Fundamentals of Logic Design Chap. 4

4.4 General Minterm and Maxterm Expansions

7

0

77221100 ...i

iimamamamamaF

7

0

77221100 )())...()()((i

ii MaMaMaMaMaF

ai =1, minterm mi is present

ai =0, minterm mi is not present

ai =1, ai + Mi =1 , Maxterm Mi is not present

ai =0, Maxterm is present

- Minterm expansion for general function

- Maxterm expansion for general function

•General truth table

for 3 variables

•ai is either ‘0’ or ‘1’

Page 15: Applications of Boolean Algebra/ Minterm and …contents.kocw.net/KOCW/document/2015/sungkyunkwan/...1/28 Fundamentals of Logic Design Chap. 4 Applications of Boolean Algebra/ Minterm

15/28

Fundamentals of Logic Design Chap. 4

7

0

7

0

7

0

''']')(['i i

iiii

i

ii maMaMaF

7

0

7

0

7

0

)'()''(]'['i

ii

i

ii

i

ii MamamaF

12

0

12

0

)(

nn

i

ii

i

ii MamaF

12

0

12

0

)'(''

nn

i

ii

i

ii MamaF

4.4 General Minterm and Maxterm Expansions

All minterm which are not present in F are present in F ‘

All maxterm which are not present in F are present in F ‘

Page 16: Applications of Boolean Algebra/ Minterm and …contents.kocw.net/KOCW/document/2015/sungkyunkwan/...1/28 Fundamentals of Logic Design Chap. 4 Applications of Boolean Algebra/ Minterm

16/28

Fundamentals of Logic Design Chap. 4

12

0

2

12

0

1

nn

j

jj

i

ii mbfmaf

))((

12

0

12

0

12

0

12

0

12

0

21

nn nnn

i

iii

i j

jiji

j

jj

i

ii mbammbambmaff

)14,13,11,9,3,0( and )11,9,5,3,2,0( 21 mfmf

)11,9,3,0(21 mff

4.4 General Minterm and Maxterm Expansions

Example:

If i and j are different, mi mj = 0

Page 17: Applications of Boolean Algebra/ Minterm and …contents.kocw.net/KOCW/document/2015/sungkyunkwan/...1/28 Fundamentals of Logic Design Chap. 4 Applications of Boolean Algebra/ Minterm

17/28

Fundamentals of Logic Design Chap. 4

Conversion between minterm and maxterm expansions of F and F’

Conversion of forms

Application of Table4.3

Page 18: Applications of Boolean Algebra/ Minterm and …contents.kocw.net/KOCW/document/2015/sungkyunkwan/...1/28 Fundamentals of Logic Design Chap. 4 Applications of Boolean Algebra/ Minterm

18/28

Fundamentals of Logic Design Chap. 4

4.5 Incompletely Specified Functions

If N1 output does not generate all

possible combination of A,B,C, the output

of N2(F) has ‘don’t care’ values.

Truth Table with Don’t Cares

Page 19: Applications of Boolean Algebra/ Minterm and …contents.kocw.net/KOCW/document/2015/sungkyunkwan/...1/28 Fundamentals of Logic Design Chap. 4 Applications of Boolean Algebra/ Minterm

19/28

Fundamentals of Logic Design Chap. 4

BCCBAABCBCACBAF '''''''

ABBCBAABCABCBCACBACBAF '''''''''

BCBAABCBCACBACBAF ''''''''

4.5 Incompletely Specified Functions

Case 2: assign ‘1’ to the first X and ‘0’ to the second ‘X’

Finding Function:

The case 2 leads to the simplest function

Case 1: assign ‘0’ on X’s

Case 3: assign ‘1’ on X’s

Page 20: Applications of Boolean Algebra/ Minterm and …contents.kocw.net/KOCW/document/2015/sungkyunkwan/...1/28 Fundamentals of Logic Design Chap. 4 Applications of Boolean Algebra/ Minterm

20/28

Fundamentals of Logic Design Chap. 4

)6,1()7,3,0( dmF

)6,1()5,4,2( · DMF

Don’t Cares

4.5 Incompletely Specified Functions

Minterm expansion for incompletely specified function

Maxterm expansion for incompletely specified function

Page 21: Applications of Boolean Algebra/ Minterm and …contents.kocw.net/KOCW/document/2015/sungkyunkwan/...1/28 Fundamentals of Logic Design Chap. 4 Applications of Boolean Algebra/ Minterm

21/28

Fundamentals of Logic Design Chap. 4

4.6 Examples of Truth Table Construction

a b Sum

0 0 0 0 0+0=0

0 1 0 1 0+1=1

1 0 0 1 1+0=1

1 1 1 0 1+1=2

A B X Y

0 0 0 0

0 1 0 1

1 0 0 1

1 1 1 0

BAABBAYABX '',

Example 1 : Binary Adder

Page 22: Applications of Boolean Algebra/ Minterm and …contents.kocw.net/KOCW/document/2015/sungkyunkwan/...1/28 Fundamentals of Logic Design Chap. 4 Applications of Boolean Algebra/ Minterm

22/28

Fundamentals of Logic Design Chap. 4

4.6 Examples of Truth Table Construction

Example 2 : 2 bit binary Adder

Page 23: Applications of Boolean Algebra/ Minterm and …contents.kocw.net/KOCW/document/2015/sungkyunkwan/...1/28 Fundamentals of Logic Design Chap. 4 Applications of Boolean Algebra/ Minterm

23/28

Fundamentals of Logic Design Chap. 4

4.7 Design of Binary Adders and Subtracters

Parallel Adder for 4 bit Binary Numbers

Parallel adder composed of four full adders Carry Ripple Adder (slow!)

Page 24: Applications of Boolean Algebra/ Minterm and …contents.kocw.net/KOCW/document/2015/sungkyunkwan/...1/28 Fundamentals of Logic Design Chap. 4 Applications of Boolean Algebra/ Minterm

24/28

Fundamentals of Logic Design Chap. 4

4.7 Design of Binary Adders and Subtracters

Truth Table for a Full Adder

X Y Cin Cout Sum

0 0 0 0 0 0 0 1 0 1 0 1 0 0 1 0 1 1 1 0 1 0 0 0 1 1 0 1 1 0 1 1 0 1 0 1 1 1 1 1

Page 25: Applications of Boolean Algebra/ Minterm and …contents.kocw.net/KOCW/document/2015/sungkyunkwan/...1/28 Fundamentals of Logic Design Chap. 4 Applications of Boolean Algebra/ Minterm

25/28

Fundamentals of Logic Design Chap. 4

ininin

inininin

inininin

CYXCYXCYX

YCCYXYCCYX

XYCCXYYCXCYXSum

)'()('

)''()''('

''''''

XYXCYC

XYCXYCXYCCXYXYCYCX

XYCXYCCXYYCXC

inin

inininininin

ininininout

)'()'()'(

'''

4.7 Design of Binary Adders and Subtracters

Page 26: Applications of Boolean Algebra/ Minterm and …contents.kocw.net/KOCW/document/2015/sungkyunkwan/...1/28 Fundamentals of Logic Design Chap. 4 Applications of Boolean Algebra/ Minterm

26/28

Fundamentals of Logic Design Chap. 4

333333 ''' SBASBAV

4.7 Design of Binary Adders and Subtracters

When 1’s complement is used, the end-around carry is accomplished

by connecting C4 to C0 input.

Overflow(V) when adding two signed binary number

Page 27: Applications of Boolean Algebra/ Minterm and …contents.kocw.net/KOCW/document/2015/sungkyunkwan/...1/28 Fundamentals of Logic Design Chap. 4 Applications of Boolean Algebra/ Minterm

27/28

Fundamentals of Logic Design Chap. 4

Subtracters

2’s compleneted number

4.7 Design of Binary Adders and Subtracters

- Subtraction is done by adding the 2’s complemented number to be subtracted

Binary Subtracter using full adder

Page 28: Applications of Boolean Algebra/ Minterm and …contents.kocw.net/KOCW/document/2015/sungkyunkwan/...1/28 Fundamentals of Logic Design Chap. 4 Applications of Boolean Algebra/ Minterm

28/28

Fundamentals of Logic Design Chap. 4

Subtracters- using Full Subtracter

4.7 Design of Binary Adders and Subtracters

Truth Table for a Full Subtracter