SlideShare a Scribd company logo
1 of 87
Unit 2 Boolean algebra and Karnaugh maps
Boolean algebra rules and Boolean laws: Commutative,
Associative, Distributive, AND, OR and Inversion laws, De
Morgan’s theorem, Universal gates, Simplifications of Logic
equations using Boolean algebra rules and Karnaugh map (up
to 4 bit).
Lab Session: - Binary to Gray Interconversion of Logic Gates
Boolean Algebra
=A.1=A
A B ~A ~B ~A.~B (A+B) ~(A+B)
0 0 1 1 1 0 1
0 1 1 0 0 1 0
1 0 0 1 0 1 0
1 1 0 0 0 1 0
A B ~A ~B ~A+~B (A.B) ~(A.B)
0 0 1 1 1 0 1
0 1 1 0 1 0 1
1 0 0 1 1 0 1
1 1 0 0 0 1 0
y= A.B+C.D = SOP
Y=(A+B).(C+D) = POS
4 2 1
0 0
0 1
A B Y
0 0 0
0 1 0
1 0 0
1 1 1
0
0
1
1
A
B
Y=A.B
3 INPUTS A, B AND C x yz
Y IS THE OUTPUT
Y=1 when inputs is >=4
Represent in kmap
0 00
1 01
3 11
2 10
3 INPUTS A, B AND C
Y IS THE OUTPUT
Y=1 when of the inputs is >=4
Represent in kmap
A B C Y
0 0 0 0
0 0 1 0
0 1 0 0
0 1 1 0
1 0 0 1
1 0 1 1
1 1 0 1
1 1 1 1
4 2 1
3 INPUTS A, B AND C
X & Y ARE THE OUTPUT
X=1 when inputs ARE >=4
Y=1 when inputs ARE <=4
Represent in kmap
INPUTS OUTPUTS
A B C X Y
0 0 0 0 1
0 0 1 0 1
0 1 0 0 1
0 1 1 0 1
1 0 0 1 1
1 0 1 1 0
1 1 0 1 0
1 1 1 1 0
4 2 1
FOR Y =A’+C’.B’
C’ C
AB C 0 1
A’B’ 00 1 1
A’B 01 1 1
AB 11 0 0
AB’ 10 1 0
Y= C + AB
Octet : 3 variables are
eliminated
Quad: 2 variables are
eliminated
Pair: 2 variables are
eliminated
BC…> 00 01 11 10
A
0 1 1
1 1 1 1
Hence for 3-bit code converters,
4 2 1
G2
B2 B1B0 00 01 11 10
0 ~B2 0 0 0 0
1 B2 1 1 1 1
G2= B2
G1= B2. ~B1 + ~B2.B1
= B2 XOR B1
G0= B1.~B0 + ~B1.BO
=B1 XOR B0
G1
B2 B1B0 00 01 11 10
0 ~B2 0 0 1 1
1 B2 1 1 0 0
G2= B2
G1= B2. B1’ + B2’.B1
= B2 XOR B1
G0= B1.~B0 + ~B1.BO
=B1 XOR B0
B1’B0’ B1’B0 B1B0 B1B0’
G0
B2 B1B0 00 01 11 10
0 ~B2 0 1 0 1
1 B2 0 1 0 1
G2= B2
G1= B2. ~B1 + ~B2.B1
= B2 XOR B1
G0= B1.B0’ + B1’.BO
=B1 XOR B0
110
100
Same=0
Different=1
421
Same i/p = 0 output
different i/p’s = 1 output
• B2 b1 b0
1 1 0 binary ------ gray
………………………….
1 0 1
• G2 g1 g0
Same i/p = 0 output
different i/p’s = 1 output
• g2 g1 g0
1 1 0 gray------ bin
………………………….
1 0 0
• b2 b1 b0
Unit 3: Introduction to
Combinational Circuits
Introduction to Combinational Circuits Basic Logic gates
(NOT, OR, AND) & derived gates (NAND, NOR, EXOR)
Symbol and truth table, half adder, full adder, Half
subtractor, Four bit parallel adder. Multiplexer (4:1),
demultiplexer (1:4) and their applications, Code
converters - Decimal to binary, Hexadecimal to binary,
BCD to decimal, Concept of Encoder & decoder. Lab
Session: - To Study 4: 1 Multiplexer and 1 : Demultiplexer
To Study nibble adder and Subtractor circuit
Learning Philosophy : Logic gate
• A is input and Y is output
• Y= ~A
Y= A*B
n= no.of i/p’s
2^n input combinations in truth table
Y=a+b
• Y
• Y= ~(a.b)
• Y=____
• Y =A*B = ~(A*B)
____
A*B
• Y=(a+b) ____
A+B
Y=~a*b + a*~b
OUTPUT=0 if input contains even no.of 1’s
OUTPUT=1 if input contains odd no.of 1’s
• 0110 1101
• Y= ~a*~b + a*b
• 8 4 2 1
• 16 A B C D Y
• 0 0 0 0 0
• 1 0 0 0 1
• 2 0 0 1 0
• 15 1 1 1 1
A Y
0 1
1 0
A B Y(NAND)
0 0 1
0 0 1
1 0 1
1 1 0
A B Y
0 0 0
0 1 0
1 0 0
1 1 1
AND GATE USING NAND
GATE
• Y= NOT[(NOT A).(NOT B)]
• Y=A+B
OR GATE
A B Y
0 0 .0
0 1 1
1 0 1
1 1 1
OR GATE USING NAND GATE
A B NOR(Y)
0 0 1
0 1 0
1 0 0
1 1 0
A Y
0 1
1 0
A B Y
0 0 0
0 1 1
1 0 1
1 1 1
A B Y
0 0 0
0 1 0
1 0 0
1 1 1
Unit_2_Boolean_algebra_and_Karnaugh_maps.pptx
Unit_2_Boolean_algebra_and_Karnaugh_maps.pptx
Unit_2_Boolean_algebra_and_Karnaugh_maps.pptx
Unit_2_Boolean_algebra_and_Karnaugh_maps.pptx
Unit_2_Boolean_algebra_and_Karnaugh_maps.pptx
Unit_2_Boolean_algebra_and_Karnaugh_maps.pptx
Unit_2_Boolean_algebra_and_Karnaugh_maps.pptx
Unit_2_Boolean_algebra_and_Karnaugh_maps.pptx
Unit_2_Boolean_algebra_and_Karnaugh_maps.pptx
Unit_2_Boolean_algebra_and_Karnaugh_maps.pptx
Unit_2_Boolean_algebra_and_Karnaugh_maps.pptx

More Related Content

Similar to Unit_2_Boolean_algebra_and_Karnaugh_maps.pptx

1Boolean Alegebra 3booleanalgebraold-160325120651.pdf
1Boolean Alegebra 3booleanalgebraold-160325120651.pdf1Boolean Alegebra 3booleanalgebraold-160325120651.pdf
1Boolean Alegebra 3booleanalgebraold-160325120651.pdfsiliconvalley6203
 
Mba admission in india
Mba admission in indiaMba admission in india
Mba admission in indiaEdhole.com
 
LOGIC GATES - SARTHAK YADAV
LOGIC GATES - SARTHAK YADAVLOGIC GATES - SARTHAK YADAV
LOGIC GATES - SARTHAK YADAVDeepak Yadav
 
UNIT - II.pptx
UNIT - II.pptxUNIT - II.pptx
UNIT - II.pptxamudhak10
 
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
 
Ch4 Boolean Algebra And Logic Simplication1
Ch4 Boolean Algebra And Logic Simplication1Ch4 Boolean Algebra And Logic Simplication1
Ch4 Boolean Algebra And Logic Simplication1Qundeel
 
Unit 2 Boolean Algebra and Logic Gates.pdf
Unit 2 Boolean Algebra and Logic Gates.pdfUnit 2 Boolean Algebra and Logic Gates.pdf
Unit 2 Boolean Algebra and Logic Gates.pdfShirazHusain4
 
Number_Systems_and_Boolean_Algebra.ppt
Number_Systems_and_Boolean_Algebra.pptNumber_Systems_and_Boolean_Algebra.ppt
Number_Systems_and_Boolean_Algebra.pptVEERA BOOPATHY E
 
Modern+digital+electronics rp+jain
Modern+digital+electronics rp+jainModern+digital+electronics rp+jain
Modern+digital+electronics rp+jainVenugopala Rao P
 
Boolean Algebra SOP POS_Computer Architecture.pdf
Boolean Algebra SOP POS_Computer Architecture.pdfBoolean Algebra SOP POS_Computer Architecture.pdf
Boolean Algebra SOP POS_Computer Architecture.pdfSangitaBose2
 

Similar to Unit_2_Boolean_algebra_and_Karnaugh_maps.pptx (20)

Minimizing boolean
Minimizing booleanMinimizing boolean
Minimizing boolean
 
Minimizing boolean
Minimizing booleanMinimizing boolean
Minimizing boolean
 
Logic circuit2017
Logic circuit2017Logic circuit2017
Logic circuit2017
 
Digital 1 8
Digital 1 8Digital 1 8
Digital 1 8
 
1Boolean Alegebra 3booleanalgebraold-160325120651.pdf
1Boolean Alegebra 3booleanalgebraold-160325120651.pdf1Boolean Alegebra 3booleanalgebraold-160325120651.pdf
1Boolean Alegebra 3booleanalgebraold-160325120651.pdf
 
Mba admission in india
Mba admission in indiaMba admission in india
Mba admission in india
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
LOGIC GATES - SARTHAK YADAV
LOGIC GATES - SARTHAK YADAVLOGIC GATES - SARTHAK YADAV
LOGIC GATES - SARTHAK YADAV
 
13 Boolean Algebra
13 Boolean Algebra13 Boolean Algebra
13 Boolean Algebra
 
UNIT - II.pptx
UNIT - II.pptxUNIT - II.pptx
UNIT - II.pptx
 
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
 
UNIT-1_CSA.pdf
UNIT-1_CSA.pdfUNIT-1_CSA.pdf
UNIT-1_CSA.pdf
 
Boolean Algebra DLD
Boolean Algebra DLDBoolean Algebra DLD
Boolean Algebra DLD
 
Ch4 Boolean Algebra And Logic Simplication1
Ch4 Boolean Algebra And Logic Simplication1Ch4 Boolean Algebra And Logic Simplication1
Ch4 Boolean Algebra And Logic Simplication1
 
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
 
Unit 2 Boolean Algebra and Logic Gates.pdf
Unit 2 Boolean Algebra and Logic Gates.pdfUnit 2 Boolean Algebra and Logic Gates.pdf
Unit 2 Boolean Algebra and Logic Gates.pdf
 
Number_Systems_and_Boolean_Algebra.ppt
Number_Systems_and_Boolean_Algebra.pptNumber_Systems_and_Boolean_Algebra.ppt
Number_Systems_and_Boolean_Algebra.ppt
 
Modern+digital+electronics rp+jain
Modern+digital+electronics rp+jainModern+digital+electronics rp+jain
Modern+digital+electronics rp+jain
 
02-gates-w.pptx
02-gates-w.pptx02-gates-w.pptx
02-gates-w.pptx
 
Boolean Algebra SOP POS_Computer Architecture.pdf
Boolean Algebra SOP POS_Computer Architecture.pdfBoolean Algebra SOP POS_Computer Architecture.pdf
Boolean Algebra SOP POS_Computer Architecture.pdf
 

Recently uploaded

Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubaihf8803863
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingNeil Barnes
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxJohnnyPlasten
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...Suhani Kapoor
 
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /WhatsappsBeautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsappssapnasaifi408
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfRachmat Ramadhan H
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptSonatrach
 
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一ffjhghh
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts ServiceSapana Sha
 
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改atducpo
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSAishani27
 
Predicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project PresentationPredicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project PresentationBoston Institute of Analytics
 
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...shivangimorya083
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfLars Albertsson
 
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...soniya singh
 
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...dajasot375
 

Recently uploaded (20)

E-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptxE-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptx
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data Storytelling
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptx
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
 
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /WhatsappsBeautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
 
Decoding Loan Approval: Predictive Modeling in Action
Decoding Loan Approval: Predictive Modeling in ActionDecoding Loan Approval: Predictive Modeling in Action
Decoding Loan Approval: Predictive Modeling in Action
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
 
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
 
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
 
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in  KishangarhDelhi 99530 vip 56974 Genuine Escort Service Call Girls in  Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts Service
 
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICS
 
Predicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project PresentationPredicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project Presentation
 
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdf
 
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
 
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
 

Unit_2_Boolean_algebra_and_Karnaugh_maps.pptx

  • 1. Unit 2 Boolean algebra and Karnaugh maps Boolean algebra rules and Boolean laws: Commutative, Associative, Distributive, AND, OR and Inversion laws, De Morgan’s theorem, Universal gates, Simplifications of Logic equations using Boolean algebra rules and Karnaugh map (up to 4 bit). Lab Session: - Binary to Gray Interconversion of Logic Gates
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 17. A B ~A ~B ~A.~B (A+B) ~(A+B) 0 0 1 1 1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 1 0 1 1 0 0 0 1 0
  • 18. A B ~A ~B ~A+~B (A.B) ~(A.B) 0 0 1 1 1 0 1 0 1 1 0 1 0 1 1 0 0 1 1 0 1 1 1 0 0 0 1 0
  • 19.
  • 20.
  • 21.
  • 22. y= A.B+C.D = SOP Y=(A+B).(C+D) = POS
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28. 4 2 1
  • 29.
  • 30. 0 0 0 1 A B Y 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 1 A B Y=A.B
  • 31. 3 INPUTS A, B AND C x yz Y IS THE OUTPUT Y=1 when inputs is >=4 Represent in kmap 0 00 1 01 3 11 2 10
  • 32. 3 INPUTS A, B AND C Y IS THE OUTPUT Y=1 when of the inputs is >=4 Represent in kmap A B C Y 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 1 4 2 1
  • 33. 3 INPUTS A, B AND C X & Y ARE THE OUTPUT X=1 when inputs ARE >=4 Y=1 when inputs ARE <=4 Represent in kmap INPUTS OUTPUTS A B C X Y 0 0 0 0 1 0 0 1 0 1 0 1 0 0 1 0 1 1 0 1 1 0 0 1 1 1 0 1 1 0 1 1 0 1 0 1 1 1 1 0 4 2 1
  • 34. FOR Y =A’+C’.B’ C’ C AB C 0 1 A’B’ 00 1 1 A’B 01 1 1 AB 11 0 0 AB’ 10 1 0
  • 35.
  • 36.
  • 37.
  • 38. Y= C + AB Octet : 3 variables are eliminated Quad: 2 variables are eliminated Pair: 2 variables are eliminated BC…> 00 01 11 10 A 0 1 1 1 1 1 1
  • 39.
  • 40. Hence for 3-bit code converters,
  • 41. 4 2 1
  • 42.
  • 43. G2 B2 B1B0 00 01 11 10 0 ~B2 0 0 0 0 1 B2 1 1 1 1 G2= B2 G1= B2. ~B1 + ~B2.B1 = B2 XOR B1 G0= B1.~B0 + ~B1.BO =B1 XOR B0
  • 44. G1 B2 B1B0 00 01 11 10 0 ~B2 0 0 1 1 1 B2 1 1 0 0 G2= B2 G1= B2. B1’ + B2’.B1 = B2 XOR B1 G0= B1.~B0 + ~B1.BO =B1 XOR B0 B1’B0’ B1’B0 B1B0 B1B0’
  • 45. G0 B2 B1B0 00 01 11 10 0 ~B2 0 1 0 1 1 B2 0 1 0 1 G2= B2 G1= B2. ~B1 + ~B2.B1 = B2 XOR B1 G0= B1.B0’ + B1’.BO =B1 XOR B0
  • 47.
  • 48. 421
  • 49. Same i/p = 0 output different i/p’s = 1 output • B2 b1 b0 1 1 0 binary ------ gray …………………………. 1 0 1 • G2 g1 g0
  • 50. Same i/p = 0 output different i/p’s = 1 output • g2 g1 g0 1 1 0 gray------ bin …………………………. 1 0 0 • b2 b1 b0
  • 51. Unit 3: Introduction to Combinational Circuits Introduction to Combinational Circuits Basic Logic gates (NOT, OR, AND) & derived gates (NAND, NOR, EXOR) Symbol and truth table, half adder, full adder, Half subtractor, Four bit parallel adder. Multiplexer (4:1), demultiplexer (1:4) and their applications, Code converters - Decimal to binary, Hexadecimal to binary, BCD to decimal, Concept of Encoder & decoder. Lab Session: - To Study 4: 1 Multiplexer and 1 : Demultiplexer To Study nibble adder and Subtractor circuit
  • 52. Learning Philosophy : Logic gate
  • 53.
  • 54.
  • 55.
  • 56.
  • 57.
  • 58.
  • 59.
  • 60.
  • 61. • A is input and Y is output • Y= ~A
  • 62. Y= A*B n= no.of i/p’s 2^n input combinations in truth table
  • 63. Y=a+b
  • 64. • Y • Y= ~(a.b) • Y=____ • Y =A*B = ~(A*B) ____ A*B
  • 66. Y=~a*b + a*~b OUTPUT=0 if input contains even no.of 1’s OUTPUT=1 if input contains odd no.of 1’s • 0110 1101
  • 67.
  • 68. • Y= ~a*~b + a*b
  • 69. • 8 4 2 1 • 16 A B C D Y • 0 0 0 0 0 • 1 0 0 0 1 • 2 0 0 1 0 • 15 1 1 1 1
  • 70.
  • 71. A Y 0 1 1 0 A B Y(NAND) 0 0 1 0 0 1 1 0 1 1 1 0
  • 72. A B Y 0 0 0 0 1 0 1 0 0 1 1 1 AND GATE USING NAND GATE
  • 73. • Y= NOT[(NOT A).(NOT B)] • Y=A+B OR GATE A B Y 0 0 .0 0 1 1 1 0 1 1 1 1 OR GATE USING NAND GATE
  • 74. A B NOR(Y) 0 0 1 0 1 0 1 0 0 1 1 0 A Y 0 1 1 0
  • 75. A B Y 0 0 0 0 1 1 1 0 1 1 1 1
  • 76. A B Y 0 0 0 0 1 0 1 0 0 1 1 1