Docsity

Logic Simplification - Digital Logic Design - Lecture Slides, Slides of Digital Logic Design and Programming

Partial preview of the text

Download Logic Simplification - Digital Logic Design - Lecture Slides and more Slides Digital Logic Design and Programming in PDF only on Docsity!

Lecture No. 9

Boolean Algebra and Logic Simplification

Recap

 Commutative, Associative and Distributive

Laws

 Rules

 Demorgan’s Theorems

Examples

 Boolean Analysis of Circuit

 Evaluating Boolean Expression

 Representing results in a Truth Table

 Simplification of Boolean Expression into

SOP or POS form

 Representing results in a Truth Table

 Verifying two expressions through truth

tables

Analysis of Logic Circuits Example 1

A

B

C

D

Evaluating Boolean Expression & Truth Table  Conditions for o/p =  A=0, B=0, C=1 & D= Input Output A B C D F 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 1 1 1 0 1 0 0 0 0 1 0 1 0 0 1 1 0 0 0 1 1 1 0 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 0 1 1 1 1 0

Simplifying Boolean Expression  Simplifying by applying Demorgan’s theorem = A .B + A.B.C.D ( A.B).(A.B.C.D) ( A +B).(A.B.C.D ) ( A +B).(A.B.C.D ) ( A .A.B.C.D) + A.B.B.C. D A .B.C. D

Simplified Logic Circuit 7 3 4 A B C D

Simplified Logic Circuit

 Simplified expression is in SOP

form

 Simplified circuit

A .B.C. D

Analysis of Logic Circuits Example 2 4 5 1 2 6 A B C D

Evaluating Boolean Expression

 The expression

 Assume and

 Expression

 Conditions for output = 1 X=0 OR Y=

 Since

X=0 when A=1,B=0 or C=

 Since

Y=0 when C=1 and D=

( A. B.C).(C+D ) X = A.B. C Y = C +D X. Y X = A.B. C Y = C + D

Rewriting the Truth Table  Conditions for o/p =  (A=1,B=0 OR C=1) OR (C=1 AND D=0) Input Output A B C F 0 0 0 1 0 0 1 1 0 1 0 0 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 1

Simplifying Boolean Expression  Simplifying by applying Demorgan’s theorem ( A. B.C).(C+D)^ =^ ( A. B.C) + (C+D) ( A +B + C) + (C.D ) ( A +B + C) + (C.D ) A +B +C( 1 +D ) A +B + C

Simplified Logic Circuit

A

B

C

Simplified Logic Circuit

 Simplified expression is in POS

form representing a single Sum term

 Simplified circuit

A +B + C