SlideShare a Scribd company logo
1 of 39
Digital Logic Design
IT101LGD
Prepared By
Asst. Lect. Mohammed Salim
Department of IT
1 LFU 2014
Contents
LFU 20142
1- Rules of Boolean algebra.
2- Demorgan's theorems.
3- Sum of Product (SOP).
4- Product of Sum (POS).
Introduction
LFU 20143
 Logic Simplification :
A simplified Boolean expression which uses the
fewest gates possible to implement a given
expression.
 Simplification methods:
 Boolean algebra(algebraic method)
 Karnaugh map(map method))
 Quine-McCluskey(tabular method)
Introduction
LFU 20144
Boolean Algebra: Mathematical tool to express
and analyze digital (logic) circuits
Laws of Boolean Algebra :
Rules of Boolean Algebra
LFU 20145
Rules of Boolean Algebra
LFU 20146
Rules of Boolean Algebra
LFU 20147
Basic Functions
Rules of Boolean Algebra
LFU 20148
 Boolean Addition
 Logical OR operation
Ex : Determine the values of A, B, C, and D that make the sum ‘0’
A+B’+C+D’
So all literals must be ‘0’ for the sum term to be ‘0’
A+B’+C+D’=0+1’+0+1’=0 A=0, B=1, C=0, and D=1
 Boolean Multiplication
 Logical AND operation
Ex : Determine the values of A, B, C, and D for AB’CD’=1
So all literals must be ‘1’ for the product term to be ‘1’
AB’CD’=10’10’=1 A=1, B=0, C=1, and D=0
Rules of Boolean Algebra
LFU 20149
Laws of Boolean Algebra
LFU 201410
 Commutative Law
the order of literals does not matter
 A + B = B + A
 A B = B A
Laws of Boolean Algebra
LFU 201411
 Associative Law
the grouping of literals does not matter
 A + (B + C) = (A + B) + C (=A+B+C)
 A(BC) = (AB)C (=ABC)
Laws of Boolean Algebra
LFU 201412
 Distributive Law
The distributive law is written for three variables as
follows: A(B + C) = AB + AC
Rules of Boolean Algebra
LFU 201413
 Below are the basic rules that are useful in
manipulating and simplifying Boolean expressions.
Rules 1 through 9 will be viewed in terms of their
application to logic gates. Rules 10 through 12 will be
derived in terms of the simpler rules and the laws
previously discussed.
Rules of Boolean Algebra
LFU 201414
 Rule 1: A + 0 = A
 A variable ORed with 0 is always equal to the
variable. If the input variable A is 1, the output
variable X is 1, which is equal to A. If A is 0, the
output is 0, which is also equal to A.
Rules of Boolean Algebra
LFU 201415
 Rule 2: A + 1 = 1
 A variable ORed with 1 is always equal to 1. A 1 on
an input to an OR gate produces a 1 on the output,
regardless of the value of the variable on the other
input.
Rules of Boolean Algebra
LFU 201416
 Rule 3: A . 0 = 0
 A variable ANDed with 0 is always equal to 0. Any
time one input to an AND gate is 0, the output is 0,
regardless of the value of the variable on the other
input.
Rules of Boolean Algebra
LFU 201417
 Rule 4: A . 1 = A
 A variable ANDed with 1 is always equal to the
variable. If A is 0 the output of the AND gate is 0. If A
is 1, the output of the AND gate is 1 because both
inputs are now 1s.
Rules of Boolean Algebra
LFU 201418
 Rule 5: A + A = A
 A variable ORed with itself is always equal to the
variable. If A is 0, then 0+ 0 = 0; and if A is 1, then 1
+ 1 = 1.
Rules of Boolean Algebra
LFU 201419
 Rule 6: A + A = 1
 A variable ORed with its complement is always equal
to 1. If A is 0, then 0 + 0 = 0 + 1 = 1. If A is l, then 1 +
1 = 1+ 0 = 1.
Rules of Boolean Algebra
LFU 201420
 Rule 7 : A . A = A
 A variable ANDed with itself is always equal to the
variable. If A = 0, then 0.0 = 0; and if A = 1. then 1.1
= 1.
Rules of Boolean Algebra
LFU 201421
 Rule 8 : A . A = 0
 A variable ANDed with its complement is always
equal to 0. Either A or A will always be 0: and when a
0 is applied to the input of an AND gate. The output
will be 0 also.
Rules of Boolean Algebra
LFU 201422
 Rule 9 : A = A
 The double complement of a variable is always
equal to the variable. If you start with the variable A
and complement (invert) it once, you get A. If you
then take A and complement (invert) it, you get A ,
which is the original variable.
Rules of Boolean Algebra
LFU 201423
 Rule 10: A + AB = A
 This rule can be proved by applying the distributive law,
rule 2, and rule 4 as follows:
 A + AB = A( 1 + B) Factoring (distributive law)
 = A . l Rule 2: (1 + B) = 1
 = A Rule 4: A . 1 = A
Rules of Boolean Algebra
LFU 201424
Rules of Boolean Algebra
LFU 201425
Demorgan's theorems
LFU 201426
 DeMorgan, a mathematician who knew Boole,
proposed two theorems that are an important part of
Boolean algebra. In practical terms. DeMorgan‘s
theorems provide mathematical verification of the
equivalency of the NAND and negative-OR gates
and the equivalency of the NOR and negative-AND
gates.
Demorgan's theorems
LFU 201427
 The first DeMorgan's theorems is stated as follows:
The complement of two or more ANDed variables is equivalent
to the OR of the complements of the individual variables. The
formula for expressing this theorem for two variables is:
 XY = X + Y
Demorgan's theorems
LFU 201428
 The second DeMorgan's theorem is stated as follows:
The complement of two or more ORed variables is
equivalent to the AND of the complements of the
individual variables, The formula for expressing this
theorem for two variables is
 X + Y = X Y
Demorgan's theorems
LFU 201429
Demorgan's theorems
LFU 201430
Demorgan's theorems
LFU 201431
Demorgan's theorems
LFU 201432
Ex: Apply DeMorgan’s theorems to (XYZ)’ and
(X+Y+Z)’
Sol: (XYZ)’=X’+Y’+Z’ and (X+Y+Z)’=X’Y’Z’
Ex : Apply DeMorgan’s theorems to :
(a) ((A+B+C)D)’ (b) (ABC+DEF)’ (c)
(AB’+C’D+EF)’
Sol:
(a) ((A+B+C)D)’= (A+B+C)’+D’=A’B’C’+D’
(b) (ABC+DEF)’=(ABC)’(DEF)’=(A’+B’+C’)(D’+E’+F’)
(c)
SIMPLIFICATION USING BOOLEAN
ALGEBRA
LFU 201433
 A simplified Boolean expression uses the fewest gates possible to
implement a given expression.
 Example, by using Boolean algebra techniques, simplify this expression:
AB + A(B + C) + B(B + C)
 Solution:
 Step 1: Apply the distributive law to the second and third terms in the
expression, as follows:
AB + AB + AC + BB + BC
 Step 2: Apply rule 7 (BB = B) to the fourth term.
AB + AB + AC + B + BC
 Step 3: Apply rule 5 (AB + AB = AB) to the first two terms.
AB + AC + B + BC
 Step 4: Apply rule 10 (B + BC = B) to the last two terms.
 AB + AC + B
 Step 5: Apply rule 10 (AB + B = B) to the first and third terms.
B+AC
 At this point the expression is simplified as much as possible, as shown in
next page
SIMPLIFICATION USING BOOLEAN ALGEBRA
LFU 201434
Simplification process by using Boolean Algebra
rules
SIMPLIFICATION USING BOOLEAN ALGEBRA
LFU 201435
Ex : Simplify the following Boolean expression
(AB’(C+BD)+A’B’)C
Sol:
(AB’C+AB’BD+A’B’)C=AB’CC+A’B’C=(A+A’)B’C=B
’C
Ex : Simplify the following Boolean expression
A’BC+AB’C’+A’B’C’+AB’C+ABC
Sol: (A+A’)BC+(A+A’)B’C’+AB’C=BC+B’C’+AB’C
=BC+B’(C’+AC)=BC+B’(C’+A)=BC+B’C’+AB’
Ex : Simplify the following Boolean expression
(AB +AC)’+A’B’C
Sol: (AB)’(AC)’+A’B’C=(A’+B’)(A’+C’)+A’B’C=A’+A’B’
+A’C’+B’C+A’B’C =A’(1+B’+C’+B’C)+B’C=A’+B’C’
Standard Form of Boolean Expressions
LFU 201436
 Boolean expression can be converted into one of 2
standard forms:
– The sum‐of‐products (SOP) form
Ex) AB+ABC, ABC+CDE+B’CD’
– The product‐of‐sums (POS) form
Ex) (A+B)(A+B+C), (A+B+C)(C+D+E)(B’+C+D’)
 Standardization makes the evaluation, simplification, and
implementation of Boolean expressions more systematic and
easier
 Product term = a term with the product (Boolean
multiplication) of literals
 Sum term = a term with the sum (Boolean addition) of
literals
The Sum-of-Products (SOP) Form
LFU 201437
The product‐of‐sums (POS) form
LFU 201438
LFU 201439
End of Chapter 4
 Note : Chapter 4 PowerPoint slides are quoted from Internet websites
and a variety of presentations.

More Related Content

What's hot

Chapter 2: Boolean Algebra and Logic Gates
Chapter 2: Boolean Algebra and Logic GatesChapter 2: Boolean Algebra and Logic Gates
Chapter 2: Boolean Algebra and Logic GatesEr. Nawaraj Bhandari
 
Chapter 2 Boolean Algebra (part 2)
Chapter 2 Boolean Algebra (part 2)Chapter 2 Boolean Algebra (part 2)
Chapter 2 Boolean Algebra (part 2)Frankie Jones
 
Boolean algebra simplification and combination circuits
Boolean algebra simplification and combination circuitsBoolean algebra simplification and combination circuits
Boolean algebra simplification and combination circuitsJaipal Dhobale
 
FYBSC IT Digital Electronics Unit II Chapter I Boolean Algebra and Logic Gates
FYBSC IT Digital Electronics Unit II Chapter I Boolean Algebra and Logic GatesFYBSC IT Digital Electronics Unit II Chapter I Boolean Algebra and Logic Gates
FYBSC IT Digital Electronics Unit II Chapter I Boolean Algebra and Logic GatesArti Parab Academics
 
Digital systems logicgates-booleanalgebra
Digital systems logicgates-booleanalgebraDigital systems logicgates-booleanalgebra
Digital systems logicgates-booleanalgebraelfeds916
 
BOOLEAN ALGEBRA AND LOGIC GATE
BOOLEAN ALGEBRA AND LOGIC GATE BOOLEAN ALGEBRA AND LOGIC GATE
BOOLEAN ALGEBRA AND LOGIC GATE Tamim Tanvir
 
All About Boolean Algebra DLD.
All About Boolean Algebra DLD.All About Boolean Algebra DLD.
All About Boolean Algebra DLD.Zain Jafri
 
boolean algebra and logic simplification
boolean algebra and logic simplificationboolean algebra and logic simplification
boolean algebra and logic simplificationUnsa Shakir
 
Lec5 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Boo...
Lec5 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Boo...Lec5 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Boo...
Lec5 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Boo...Hsien-Hsin Sean Lee, Ph.D.
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebramdaglis
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebragavhays
 
B sc cs i bo-de u-ii logic gates
B sc cs i bo-de u-ii logic gatesB sc cs i bo-de u-ii logic gates
B sc cs i bo-de u-ii logic gatesRai University
 
Boolean algebra.pptx
Boolean algebra.pptxBoolean algebra.pptx
Boolean algebra.pptxMhhh7
 
simplification of boolean algebra
simplification of boolean algebrasimplification of boolean algebra
simplification of boolean algebramayannpolisticoLNU
 

What's hot (20)

Chapter 2: Boolean Algebra and Logic Gates
Chapter 2: Boolean Algebra and Logic GatesChapter 2: Boolean Algebra and Logic Gates
Chapter 2: Boolean Algebra and Logic Gates
 
Logic Equation Simplification
Logic Equation SimplificationLogic Equation Simplification
Logic Equation Simplification
 
Chapter 2 Boolean Algebra (part 2)
Chapter 2 Boolean Algebra (part 2)Chapter 2 Boolean Algebra (part 2)
Chapter 2 Boolean Algebra (part 2)
 
Boolean algebra simplification and combination circuits
Boolean algebra simplification and combination circuitsBoolean algebra simplification and combination circuits
Boolean algebra simplification and combination circuits
 
FYBSC IT Digital Electronics Unit II Chapter I Boolean Algebra and Logic Gates
FYBSC IT Digital Electronics Unit II Chapter I Boolean Algebra and Logic GatesFYBSC IT Digital Electronics Unit II Chapter I Boolean Algebra and Logic Gates
FYBSC IT Digital Electronics Unit II Chapter I Boolean Algebra and Logic Gates
 
Digital systems logicgates-booleanalgebra
Digital systems logicgates-booleanalgebraDigital systems logicgates-booleanalgebra
Digital systems logicgates-booleanalgebra
 
BOOLEAN ALGEBRA AND LOGIC GATE
BOOLEAN ALGEBRA AND LOGIC GATE BOOLEAN ALGEBRA AND LOGIC GATE
BOOLEAN ALGEBRA AND LOGIC GATE
 
All About Boolean Algebra DLD.
All About Boolean Algebra DLD.All About Boolean Algebra DLD.
All About Boolean Algebra DLD.
 
07 boolean algebra
07 boolean algebra07 boolean algebra
07 boolean algebra
 
boolean algebra and logic simplification
boolean algebra and logic simplificationboolean algebra and logic simplification
boolean algebra and logic simplification
 
Lec5 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Boo...
Lec5 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Boo...Lec5 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Boo...
Lec5 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Boo...
 
Boolean Algebra DLD
Boolean Algebra DLDBoolean Algebra DLD
Boolean Algebra DLD
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
 
B sc cs i bo-de u-ii logic gates
B sc cs i bo-de u-ii logic gatesB sc cs i bo-de u-ii logic gates
B sc cs i bo-de u-ii logic gates
 
boolean algebra
boolean algebraboolean algebra
boolean algebra
 
Boolean algebra.pptx
Boolean algebra.pptxBoolean algebra.pptx
Boolean algebra.pptx
 
simplification of boolean algebra
simplification of boolean algebrasimplification of boolean algebra
simplification of boolean algebra
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
Boolean algebra and Logic gates
Boolean algebra and Logic gatesBoolean algebra and Logic gates
Boolean algebra and Logic gates
 

Viewers also liked

Boolean Algebra and Logic Smiplification
Boolean Algebra and Logic SmiplificationBoolean Algebra and Logic Smiplification
Boolean Algebra and Logic Smiplificationsamantha rathnayake
 
Logical expression and logical operators
Logical expression and logical operatorsLogical expression and logical operators
Logical expression and logical operatorsSuneel Dogra
 
Mixing Source and Bytecode: A Case for Compilation By Normalization (OOPSLA 2...
Mixing Source and Bytecode: A Case for Compilation By Normalization (OOPSLA 2...Mixing Source and Bytecode: A Case for Compilation By Normalization (OOPSLA 2...
Mixing Source and Bytecode: A Case for Compilation By Normalization (OOPSLA 2...lennartkats
 
Introduction to digital logic
Introduction to digital logicIntroduction to digital logic
Introduction to digital logicKamal Acharya
 
Normalization 1
Normalization 1Normalization 1
Normalization 1Gagan Deep
 
Logical and Conditional Operator In C language
Logical and Conditional Operator In C languageLogical and Conditional Operator In C language
Logical and Conditional Operator In C languageAbdul Rehman
 
K Map Simplification
K Map SimplificationK Map Simplification
K Map SimplificationRamesh C
 
BOOLEAN ALGEBRA
BOOLEAN ALGEBRA BOOLEAN ALGEBRA
BOOLEAN ALGEBRA Shaik Aman
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebraGagan Deep
 
CBSE XII Boolean Algebra
CBSE XII Boolean AlgebraCBSE XII Boolean Algebra
CBSE XII Boolean AlgebraGuru Ji
 
LinkedIn SlideShare: Knowledge, Well-Presented
LinkedIn SlideShare: Knowledge, Well-PresentedLinkedIn SlideShare: Knowledge, Well-Presented
LinkedIn SlideShare: Knowledge, Well-PresentedSlideShare
 

Viewers also liked (13)

Boolean Algebra and Logic Smiplification
Boolean Algebra and Logic SmiplificationBoolean Algebra and Logic Smiplification
Boolean Algebra and Logic Smiplification
 
Logical expression and logical operators
Logical expression and logical operatorsLogical expression and logical operators
Logical expression and logical operators
 
Mixing Source and Bytecode: A Case for Compilation By Normalization (OOPSLA 2...
Mixing Source and Bytecode: A Case for Compilation By Normalization (OOPSLA 2...Mixing Source and Bytecode: A Case for Compilation By Normalization (OOPSLA 2...
Mixing Source and Bytecode: A Case for Compilation By Normalization (OOPSLA 2...
 
gujju
gujjugujju
gujju
 
presentation
presentationpresentation
presentation
 
Introduction to digital logic
Introduction to digital logicIntroduction to digital logic
Introduction to digital logic
 
Normalization 1
Normalization 1Normalization 1
Normalization 1
 
Logical and Conditional Operator In C language
Logical and Conditional Operator In C languageLogical and Conditional Operator In C language
Logical and Conditional Operator In C language
 
K Map Simplification
K Map SimplificationK Map Simplification
K Map Simplification
 
BOOLEAN ALGEBRA
BOOLEAN ALGEBRA BOOLEAN ALGEBRA
BOOLEAN ALGEBRA
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
CBSE XII Boolean Algebra
CBSE XII Boolean AlgebraCBSE XII Boolean Algebra
CBSE XII Boolean Algebra
 
LinkedIn SlideShare: Knowledge, Well-Presented
LinkedIn SlideShare: Knowledge, Well-PresentedLinkedIn SlideShare: Knowledge, Well-Presented
LinkedIn SlideShare: Knowledge, Well-Presented
 

Similar to Digital logic mohammed salim ch4

Ch3 Boolean Algebra.ppt
Ch3 Boolean Algebra.pptCh3 Boolean Algebra.ppt
Ch3 Boolean Algebra.pptzorogoh2
 
Boolean Algebra.pdf
Boolean Algebra.pdfBoolean Algebra.pdf
Boolean Algebra.pdfssusere02873
 
Lecture 05-Logic expression and Boolean Algebra.pptx
Lecture 05-Logic expression and Boolean Algebra.pptxLecture 05-Logic expression and Boolean Algebra.pptx
Lecture 05-Logic expression and Boolean Algebra.pptxWilliamJosephat1
 
Basic theorems and properties of boolean algebra
Basic theorems and properties of boolean algebraBasic theorems and properties of boolean algebra
Basic theorems and properties of boolean algebraHanu Kavi
 
Boolean Algebra Terminologies.pdf
Boolean Algebra Terminologies.pdfBoolean Algebra Terminologies.pdf
Boolean Algebra Terminologies.pdfShivarkarSandip
 
Boolean Algebra - R.D.Sivakumar
Boolean Algebra - R.D.SivakumarBoolean Algebra - R.D.Sivakumar
Boolean Algebra - R.D.SivakumarSivakumar R D .
 
Computer Architecture & Organization
Computer Architecture & OrganizationComputer Architecture & Organization
Computer Architecture & OrganizationNANDINI SHARMA
 
Boolen Algebra Lecture Notes.pdf
Boolen Algebra Lecture Notes.pdfBoolen Algebra Lecture Notes.pdf
Boolen Algebra Lecture Notes.pdfnyamuonatinashe
 
Digital electronics
Digital electronicsDigital electronics
Digital electronicsnanishajieha
 
Boolean Logic.pptx
Boolean Logic.pptxBoolean Logic.pptx
Boolean Logic.pptxakshat205573
 
Presentation COMPUTER final.pptx
Presentation COMPUTER final.pptxPresentation COMPUTER final.pptx
Presentation COMPUTER final.pptxAbhishekSah56
 
Boolean Algebra Presentation
Boolean Algebra PresentationBoolean Algebra Presentation
Boolean Algebra PresentationJoshuaFernandes40
 

Similar to Digital logic mohammed salim ch4 (20)

DLD PRESENTATION1.pptx
DLD PRESENTATION1.pptxDLD PRESENTATION1.pptx
DLD PRESENTATION1.pptx
 
Ch3 Boolean Algebra.ppt
Ch3 Boolean Algebra.pptCh3 Boolean Algebra.ppt
Ch3 Boolean Algebra.ppt
 
Boolean Algebra.pdf
Boolean Algebra.pdfBoolean Algebra.pdf
Boolean Algebra.pdf
 
Boolean algebra r009
Boolean algebra   r009Boolean algebra   r009
Boolean algebra r009
 
Lecture 05-Logic expression and Boolean Algebra.pptx
Lecture 05-Logic expression and Boolean Algebra.pptxLecture 05-Logic expression and Boolean Algebra.pptx
Lecture 05-Logic expression and Boolean Algebra.pptx
 
Basic theorems and properties of boolean algebra
Basic theorems and properties of boolean algebraBasic theorems and properties of boolean algebra
Basic theorems and properties of boolean algebra
 
boolean-algebra.pdf
boolean-algebra.pdfboolean-algebra.pdf
boolean-algebra.pdf
 
Boolean Algebra Terminologies.pdf
Boolean Algebra Terminologies.pdfBoolean Algebra Terminologies.pdf
Boolean Algebra Terminologies.pdf
 
BOOLEAN
BOOLEANBOOLEAN
BOOLEAN
 
Boolean Algebra - R.D.Sivakumar
Boolean Algebra - R.D.SivakumarBoolean Algebra - R.D.Sivakumar
Boolean Algebra - R.D.Sivakumar
 
Computer Architecture & Organization
Computer Architecture & OrganizationComputer Architecture & Organization
Computer Architecture & Organization
 
Boolen Algebra Lecture Notes.pdf
Boolen Algebra Lecture Notes.pdfBoolen Algebra Lecture Notes.pdf
Boolen Algebra Lecture Notes.pdf
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
Digital electronics
Digital electronicsDigital electronics
Digital electronics
 
Dld (1)
Dld (1)Dld (1)
Dld (1)
 
Boolean Logic.pptx
Boolean Logic.pptxBoolean Logic.pptx
Boolean Logic.pptx
 
Presentation COMPUTER final.pptx
Presentation COMPUTER final.pptxPresentation COMPUTER final.pptx
Presentation COMPUTER final.pptx
 
Chapter 2.pdf
Chapter 2.pdfChapter 2.pdf
Chapter 2.pdf
 
B sc ii sem unit 2(b) ba
B sc ii sem unit 2(b) baB sc ii sem unit 2(b) ba
B sc ii sem unit 2(b) ba
 
Boolean Algebra Presentation
Boolean Algebra PresentationBoolean Algebra Presentation
Boolean Algebra Presentation
 

Recently uploaded

SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsAndrey Dotsenko
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsPrecisely
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfjimielynbastida
 

Recently uploaded (20)

Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power Systems
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdf
 

Digital logic mohammed salim ch4

  • 1. Digital Logic Design IT101LGD Prepared By Asst. Lect. Mohammed Salim Department of IT 1 LFU 2014
  • 2. Contents LFU 20142 1- Rules of Boolean algebra. 2- Demorgan's theorems. 3- Sum of Product (SOP). 4- Product of Sum (POS).
  • 3. Introduction LFU 20143  Logic Simplification : A simplified Boolean expression which uses the fewest gates possible to implement a given expression.  Simplification methods:  Boolean algebra(algebraic method)  Karnaugh map(map method))  Quine-McCluskey(tabular method)
  • 4. Introduction LFU 20144 Boolean Algebra: Mathematical tool to express and analyze digital (logic) circuits Laws of Boolean Algebra :
  • 5. Rules of Boolean Algebra LFU 20145
  • 6. Rules of Boolean Algebra LFU 20146
  • 7. Rules of Boolean Algebra LFU 20147 Basic Functions
  • 8. Rules of Boolean Algebra LFU 20148  Boolean Addition  Logical OR operation Ex : Determine the values of A, B, C, and D that make the sum ‘0’ A+B’+C+D’ So all literals must be ‘0’ for the sum term to be ‘0’ A+B’+C+D’=0+1’+0+1’=0 A=0, B=1, C=0, and D=1  Boolean Multiplication  Logical AND operation Ex : Determine the values of A, B, C, and D for AB’CD’=1 So all literals must be ‘1’ for the product term to be ‘1’ AB’CD’=10’10’=1 A=1, B=0, C=1, and D=0
  • 9. Rules of Boolean Algebra LFU 20149
  • 10. Laws of Boolean Algebra LFU 201410  Commutative Law the order of literals does not matter  A + B = B + A  A B = B A
  • 11. Laws of Boolean Algebra LFU 201411  Associative Law the grouping of literals does not matter  A + (B + C) = (A + B) + C (=A+B+C)  A(BC) = (AB)C (=ABC)
  • 12. Laws of Boolean Algebra LFU 201412  Distributive Law The distributive law is written for three variables as follows: A(B + C) = AB + AC
  • 13. Rules of Boolean Algebra LFU 201413  Below are the basic rules that are useful in manipulating and simplifying Boolean expressions. Rules 1 through 9 will be viewed in terms of their application to logic gates. Rules 10 through 12 will be derived in terms of the simpler rules and the laws previously discussed.
  • 14. Rules of Boolean Algebra LFU 201414  Rule 1: A + 0 = A  A variable ORed with 0 is always equal to the variable. If the input variable A is 1, the output variable X is 1, which is equal to A. If A is 0, the output is 0, which is also equal to A.
  • 15. Rules of Boolean Algebra LFU 201415  Rule 2: A + 1 = 1  A variable ORed with 1 is always equal to 1. A 1 on an input to an OR gate produces a 1 on the output, regardless of the value of the variable on the other input.
  • 16. Rules of Boolean Algebra LFU 201416  Rule 3: A . 0 = 0  A variable ANDed with 0 is always equal to 0. Any time one input to an AND gate is 0, the output is 0, regardless of the value of the variable on the other input.
  • 17. Rules of Boolean Algebra LFU 201417  Rule 4: A . 1 = A  A variable ANDed with 1 is always equal to the variable. If A is 0 the output of the AND gate is 0. If A is 1, the output of the AND gate is 1 because both inputs are now 1s.
  • 18. Rules of Boolean Algebra LFU 201418  Rule 5: A + A = A  A variable ORed with itself is always equal to the variable. If A is 0, then 0+ 0 = 0; and if A is 1, then 1 + 1 = 1.
  • 19. Rules of Boolean Algebra LFU 201419  Rule 6: A + A = 1  A variable ORed with its complement is always equal to 1. If A is 0, then 0 + 0 = 0 + 1 = 1. If A is l, then 1 + 1 = 1+ 0 = 1.
  • 20. Rules of Boolean Algebra LFU 201420  Rule 7 : A . A = A  A variable ANDed with itself is always equal to the variable. If A = 0, then 0.0 = 0; and if A = 1. then 1.1 = 1.
  • 21. Rules of Boolean Algebra LFU 201421  Rule 8 : A . A = 0  A variable ANDed with its complement is always equal to 0. Either A or A will always be 0: and when a 0 is applied to the input of an AND gate. The output will be 0 also.
  • 22. Rules of Boolean Algebra LFU 201422  Rule 9 : A = A  The double complement of a variable is always equal to the variable. If you start with the variable A and complement (invert) it once, you get A. If you then take A and complement (invert) it, you get A , which is the original variable.
  • 23. Rules of Boolean Algebra LFU 201423  Rule 10: A + AB = A  This rule can be proved by applying the distributive law, rule 2, and rule 4 as follows:  A + AB = A( 1 + B) Factoring (distributive law)  = A . l Rule 2: (1 + B) = 1  = A Rule 4: A . 1 = A
  • 24. Rules of Boolean Algebra LFU 201424
  • 25. Rules of Boolean Algebra LFU 201425
  • 26. Demorgan's theorems LFU 201426  DeMorgan, a mathematician who knew Boole, proposed two theorems that are an important part of Boolean algebra. In practical terms. DeMorgan‘s theorems provide mathematical verification of the equivalency of the NAND and negative-OR gates and the equivalency of the NOR and negative-AND gates.
  • 27. Demorgan's theorems LFU 201427  The first DeMorgan's theorems is stated as follows: The complement of two or more ANDed variables is equivalent to the OR of the complements of the individual variables. The formula for expressing this theorem for two variables is:  XY = X + Y
  • 28. Demorgan's theorems LFU 201428  The second DeMorgan's theorem is stated as follows: The complement of two or more ORed variables is equivalent to the AND of the complements of the individual variables, The formula for expressing this theorem for two variables is  X + Y = X Y
  • 32. Demorgan's theorems LFU 201432 Ex: Apply DeMorgan’s theorems to (XYZ)’ and (X+Y+Z)’ Sol: (XYZ)’=X’+Y’+Z’ and (X+Y+Z)’=X’Y’Z’ Ex : Apply DeMorgan’s theorems to : (a) ((A+B+C)D)’ (b) (ABC+DEF)’ (c) (AB’+C’D+EF)’ Sol: (a) ((A+B+C)D)’= (A+B+C)’+D’=A’B’C’+D’ (b) (ABC+DEF)’=(ABC)’(DEF)’=(A’+B’+C’)(D’+E’+F’) (c)
  • 33. SIMPLIFICATION USING BOOLEAN ALGEBRA LFU 201433  A simplified Boolean expression uses the fewest gates possible to implement a given expression.  Example, by using Boolean algebra techniques, simplify this expression: AB + A(B + C) + B(B + C)  Solution:  Step 1: Apply the distributive law to the second and third terms in the expression, as follows: AB + AB + AC + BB + BC  Step 2: Apply rule 7 (BB = B) to the fourth term. AB + AB + AC + B + BC  Step 3: Apply rule 5 (AB + AB = AB) to the first two terms. AB + AC + B + BC  Step 4: Apply rule 10 (B + BC = B) to the last two terms.  AB + AC + B  Step 5: Apply rule 10 (AB + B = B) to the first and third terms. B+AC  At this point the expression is simplified as much as possible, as shown in next page
  • 34. SIMPLIFICATION USING BOOLEAN ALGEBRA LFU 201434 Simplification process by using Boolean Algebra rules
  • 35. SIMPLIFICATION USING BOOLEAN ALGEBRA LFU 201435 Ex : Simplify the following Boolean expression (AB’(C+BD)+A’B’)C Sol: (AB’C+AB’BD+A’B’)C=AB’CC+A’B’C=(A+A’)B’C=B ’C Ex : Simplify the following Boolean expression A’BC+AB’C’+A’B’C’+AB’C+ABC Sol: (A+A’)BC+(A+A’)B’C’+AB’C=BC+B’C’+AB’C =BC+B’(C’+AC)=BC+B’(C’+A)=BC+B’C’+AB’ Ex : Simplify the following Boolean expression (AB +AC)’+A’B’C Sol: (AB)’(AC)’+A’B’C=(A’+B’)(A’+C’)+A’B’C=A’+A’B’ +A’C’+B’C+A’B’C =A’(1+B’+C’+B’C)+B’C=A’+B’C’
  • 36. Standard Form of Boolean Expressions LFU 201436  Boolean expression can be converted into one of 2 standard forms: – The sum‐of‐products (SOP) form Ex) AB+ABC, ABC+CDE+B’CD’ – The product‐of‐sums (POS) form Ex) (A+B)(A+B+C), (A+B+C)(C+D+E)(B’+C+D’)  Standardization makes the evaluation, simplification, and implementation of Boolean expressions more systematic and easier  Product term = a term with the product (Boolean multiplication) of literals  Sum term = a term with the sum (Boolean addition) of literals
  • 37. The Sum-of-Products (SOP) Form LFU 201437
  • 38. The product‐of‐sums (POS) form LFU 201438
  • 39. LFU 201439 End of Chapter 4  Note : Chapter 4 PowerPoint slides are quoted from Internet websites and a variety of presentations.