SlideShare una empresa de Scribd logo
1 de 21
Boolean Algebra
Outline
Boolean Algebra:
Laws of boolean algebra, De Morgan’s Theorem,
Minimization of boolean expression, Boolean
expression and logic diagram, Converting
AND/OR/Invert Logic to NAND/NOR logic.
3
Boolean Algebra
• Boolean algebra is the mathematics of digital logic. It is a system
for the manipulation of variables that can have one of two
values.
– In formal logic, these values are “true” and “false.”
– In digital systems, these values are “on” and “off,” 1 and 0, or
“high” and “low.”
• Boolean expressions are created by performing operations on
Boolean variables.
– Common Boolean operators include AND, OR, and NOT.
Rules of Boolean Algebra
De Morgan’s Theorems
 Theorem 1: A.B = A+B
 Theorem 2: A+B = A.B
 De Morgan’s Theorem is very useful in digital circuit design
 It allows ANDs to be exchanged with ORs by using invertors
 De Morgan’s Theorem can be extended to any number of variables
Remember: “Break the
bar, change the
operator”
5
Logic Simplification Using Boolean
Algebra
Contd.
(c)
Activity 1
Apply De Morgan’s theorem to reduce the following
expressions:
1. F = AB + A + AB
2. F = (A+B) (C+D)
Contd.
Example1: Using Boolean algebra techniques, simplify this expression:
AB + A(B + C) + B(B + C)
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
Contd.
Example 2: Simplify the following Boolean expression: [A B (C + B D) + A B] C
Apply the distributive law to the terms within the brackets.
Step 1: (ABC + ABBD + A B)C
Step 2: Apply rule 8 (BB = 0) to the second term within the parentheses.
(ABC + A . 0 . D + A B) C
Step 3: Apply rule 3 (A . 0 . D = 0) to the second term within the parentheses.
(ABC + 0 + A B) C
Step 4: Apply rule 1 (drop the 0) within the parentheses.
(ABC + A B) C
Contd.
• Step 5: Apply the distributive law.
• ABCC + A B C
• Step 6: Apply rule 7 (CC = C) to the first term.
• ABC + A B C
• Step 7: Factor out BC.
• B C (A + A)
• Step 8: Apply rule 6 (A + A = 1).
• BC . 1
• Step 9: Apply rule 4 (drop the 1).
• B C
Activity 2
Reduce the following expressions:
1. F= A+B [AC+(B+C)D]
2. F= (B+BC) (B+BC)(B+D)
3. Show that ABC+B+BD+ABD+AC = B+C
Conversion of AOI Logic to
NAND/NOR Logic
Conversion of AOI Logic to NAND/NOR
Logic
Any AOI logic can be converted into NAND/NOR logic following
some steps which are listed below.
• Step 1: Draw the circuit in AOI logic.
• Step 2: If the circuit is to be drawn only using NOR Gates, add a
circle at the output of each OR Gate and the input of each AND
Gate.
• Step 3: If the circuit is to be drawn only using NAND Gates, add a
circle at the output of each NAND Gate and the input of each OR
Gate.
• Step 4: Now, add or subtract an inverter on each line where a
circle has been drawn in steps 2 or 3 so that the polarity of signals
on those lines remains unchanged from those of the original
diagram.
Example
Example 1: Realize the following boolean expression
using only (a) NAND Gate and (b) NOR Gate
Y = A + AB.(C + D)
NAND Logic
(a) For realization using NAND logic, we will follow step 3, and add a circle to the
output of each AND gate and also at the inputs of each OR gate which can be shown
as,
Now, moving on to step 4, we have to add or remove an inverter on every line where
we have drawn a circle in the previous step which can be shown as:
Inverters at line x, y, z, and p has been added as a circle was drawn here, also in the
line r addition of an inverter is not required since two circles were drawn and adding
two inverters will cancel out each other.
Contd.
Therefore, the final circuit using only NAND can be
represented as:
NOR Logic
(b) For realization using NOR logic, we will follow step 2, and add a circle to the output of
each OR gate and also at the inputs of each AND gate which can be shown as:
Now, moving on to step 4, we have to add or remove an inverter on every line where we
have drawn a circle in the previous step which can be shown as:
Inverters at line a, b, c and d has been added as a circle was drawn here, also in the line e
addition of an inverter is not required since two circles were drawn and adding two inverters
will cancel out each other.
Contd.
The final circuit using only NOR can be represented as:
Activity 3
Convert the following AOI logic circuit to
(a) NAND Logic
(b) NOR Logic
Thank You!!

Más contenido relacionado

Similar a 3. Boolean Algebra.pptx

Combinational logic circuits design and implementation
Combinational logic circuits design and implementationCombinational logic circuits design and implementation
Combinational logic circuits design and implementationssuserca5764
 
Ee2 chapter8 applicationsof_booleanalgebra
Ee2 chapter8 applicationsof_booleanalgebraEe2 chapter8 applicationsof_booleanalgebra
Ee2 chapter8 applicationsof_booleanalgebraCK Yang
 
UNIT - II.pptx
UNIT - II.pptxUNIT - II.pptx
UNIT - II.pptxamudhak10
 
Digital Electronics (EC8392) UNIT-II -PPT-S.SESHA VIDHYA/ ASP/ECE
Digital Electronics (EC8392) UNIT-II -PPT-S.SESHA VIDHYA/ ASP/ECEDigital Electronics (EC8392) UNIT-II -PPT-S.SESHA VIDHYA/ ASP/ECE
Digital Electronics (EC8392) UNIT-II -PPT-S.SESHA VIDHYA/ ASP/ECESeshaVidhyaS
 
18CSC203J_COA_Unit 2 final.pptx
18CSC203J_COA_Unit 2 final.pptx18CSC203J_COA_Unit 2 final.pptx
18CSC203J_COA_Unit 2 final.pptxtakix43466
 
4 logic circuit optimisation
4 logic circuit optimisation4 logic circuit optimisation
4 logic circuit optimisationchandkec
 
4 logic circuit optimisation
4 logic circuit optimisation4 logic circuit optimisation
4 logic circuit optimisationchandkec
 
Chapter 5_combinational logic (EEEg4302).pdf
Chapter 5_combinational logic (EEEg4302).pdfChapter 5_combinational logic (EEEg4302).pdf
Chapter 5_combinational logic (EEEg4302).pdfTamiratDejene1
 
boolean algebra and logic simplification
boolean algebra and logic simplificationboolean algebra and logic simplification
boolean algebra and logic simplificationUnsa Shakir
 
2,Combinational Logic Circuits.pdf
2,Combinational Logic Circuits.pdf2,Combinational Logic Circuits.pdf
2,Combinational Logic Circuits.pdfDamotTesfaye
 

Similar a 3. Boolean Algebra.pptx (20)

Combinational logic circuits design and implementation
Combinational logic circuits design and implementationCombinational logic circuits design and implementation
Combinational logic circuits design and implementation
 
14 Lec11 2003
14 Lec11 200314 Lec11 2003
14 Lec11 2003
 
Ee2 chapter8 applicationsof_booleanalgebra
Ee2 chapter8 applicationsof_booleanalgebraEe2 chapter8 applicationsof_booleanalgebra
Ee2 chapter8 applicationsof_booleanalgebra
 
Combinational circuit
Combinational circuitCombinational circuit
Combinational circuit
 
UNIT - II.pptx
UNIT - II.pptxUNIT - II.pptx
UNIT - II.pptx
 
UNIT V.pptx
UNIT V.pptxUNIT V.pptx
UNIT V.pptx
 
Mcsl 17 ALP lab manual
Mcsl 17 ALP lab manualMcsl 17 ALP lab manual
Mcsl 17 ALP lab manual
 
Digital Electronics (EC8392) UNIT-II -PPT-S.SESHA VIDHYA/ ASP/ECE
Digital Electronics (EC8392) UNIT-II -PPT-S.SESHA VIDHYA/ ASP/ECEDigital Electronics (EC8392) UNIT-II -PPT-S.SESHA VIDHYA/ ASP/ECE
Digital Electronics (EC8392) UNIT-II -PPT-S.SESHA VIDHYA/ ASP/ECE
 
9402730.ppt
9402730.ppt9402730.ppt
9402730.ppt
 
combinational-circuit (1).ppt
combinational-circuit (1).pptcombinational-circuit (1).ppt
combinational-circuit (1).ppt
 
9525.ppt
9525.ppt9525.ppt
9525.ppt
 
18CSC203J_COA_Unit 2 final.pptx
18CSC203J_COA_Unit 2 final.pptx18CSC203J_COA_Unit 2 final.pptx
18CSC203J_COA_Unit 2 final.pptx
 
4 logic circuit optimisation
4 logic circuit optimisation4 logic circuit optimisation
4 logic circuit optimisation
 
4 logic circuit optimisation
4 logic circuit optimisation4 logic circuit optimisation
4 logic circuit optimisation
 
Chapter 5_combinational logic (EEEg4302).pdf
Chapter 5_combinational logic (EEEg4302).pdfChapter 5_combinational logic (EEEg4302).pdf
Chapter 5_combinational logic (EEEg4302).pdf
 
boolean algebra and logic simplification
boolean algebra and logic simplificationboolean algebra and logic simplification
boolean algebra and logic simplification
 
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
 
2,Combinational Logic Circuits.pdf
2,Combinational Logic Circuits.pdf2,Combinational Logic Circuits.pdf
2,Combinational Logic Circuits.pdf
 
Minimizing boolean
Minimizing booleanMinimizing boolean
Minimizing boolean
 
Minimizing boolean
Minimizing booleanMinimizing boolean
Minimizing boolean
 

Más de NaveenPunia5

Voice & Narration for the purpolns.se.pptx
Voice & Narration for the purpolns.se.pptxVoice & Narration for the purpolns.se.pptx
Voice & Narration for the purpolns.se.pptxNaveenPunia5
 
File Handling and Applications.pptx
File Handling and Applications.pptxFile Handling and Applications.pptx
File Handling and Applications.pptxNaveenPunia5
 
14. Flip Flop Conversions.pptx
14. Flip Flop Conversions.pptx14. Flip Flop Conversions.pptx
14. Flip Flop Conversions.pptxNaveenPunia5
 
4. Boolean Function and Their Representation.pptx
4. Boolean Function and Their Representation.pptx4. Boolean Function and Their Representation.pptx
4. Boolean Function and Their Representation.pptxNaveenPunia5
 
11. Parity Generator_Checker.pptx
11. Parity Generator_Checker.pptx11. Parity Generator_Checker.pptx
11. Parity Generator_Checker.pptxNaveenPunia5
 

Más de NaveenPunia5 (6)

Voice & Narration for the purpolns.se.pptx
Voice & Narration for the purpolns.se.pptxVoice & Narration for the purpolns.se.pptx
Voice & Narration for the purpolns.se.pptx
 
File Handling and Applications.pptx
File Handling and Applications.pptxFile Handling and Applications.pptx
File Handling and Applications.pptx
 
21. ADC.pptx
21. ADC.pptx21. ADC.pptx
21. ADC.pptx
 
14. Flip Flop Conversions.pptx
14. Flip Flop Conversions.pptx14. Flip Flop Conversions.pptx
14. Flip Flop Conversions.pptx
 
4. Boolean Function and Their Representation.pptx
4. Boolean Function and Their Representation.pptx4. Boolean Function and Their Representation.pptx
4. Boolean Function and Their Representation.pptx
 
11. Parity Generator_Checker.pptx
11. Parity Generator_Checker.pptx11. Parity Generator_Checker.pptx
11. Parity Generator_Checker.pptx
 

Último

Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueBhangaleSonal
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...soginsider
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxJuliansyahHarahap1
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringmulugeta48
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Arindam Chakraborty, Ph.D., P.E. (CA, TX)
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756dollysharma2066
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptNANDHAKUMARA10
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfRagavanV2
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086anil_gaur
 

Último (20)

Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086
 

3. Boolean Algebra.pptx

  • 2. Outline Boolean Algebra: Laws of boolean algebra, De Morgan’s Theorem, Minimization of boolean expression, Boolean expression and logic diagram, Converting AND/OR/Invert Logic to NAND/NOR logic.
  • 3. 3 Boolean Algebra • Boolean algebra is the mathematics of digital logic. It is a system for the manipulation of variables that can have one of two values. – In formal logic, these values are “true” and “false.” – In digital systems, these values are “on” and “off,” 1 and 0, or “high” and “low.” • Boolean expressions are created by performing operations on Boolean variables. – Common Boolean operators include AND, OR, and NOT.
  • 5. De Morgan’s Theorems  Theorem 1: A.B = A+B  Theorem 2: A+B = A.B  De Morgan’s Theorem is very useful in digital circuit design  It allows ANDs to be exchanged with ORs by using invertors  De Morgan’s Theorem can be extended to any number of variables Remember: “Break the bar, change the operator” 5
  • 6. Logic Simplification Using Boolean Algebra
  • 8. Activity 1 Apply De Morgan’s theorem to reduce the following expressions: 1. F = AB + A + AB 2. F = (A+B) (C+D)
  • 9. Contd. Example1: Using Boolean algebra techniques, simplify this expression: AB + A(B + C) + B(B + C) 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
  • 10. Contd. Example 2: Simplify the following Boolean expression: [A B (C + B D) + A B] C Apply the distributive law to the terms within the brackets. Step 1: (ABC + ABBD + A B)C Step 2: Apply rule 8 (BB = 0) to the second term within the parentheses. (ABC + A . 0 . D + A B) C Step 3: Apply rule 3 (A . 0 . D = 0) to the second term within the parentheses. (ABC + 0 + A B) C Step 4: Apply rule 1 (drop the 0) within the parentheses. (ABC + A B) C
  • 11. Contd. • Step 5: Apply the distributive law. • ABCC + A B C • Step 6: Apply rule 7 (CC = C) to the first term. • ABC + A B C • Step 7: Factor out BC. • B C (A + A) • Step 8: Apply rule 6 (A + A = 1). • BC . 1 • Step 9: Apply rule 4 (drop the 1). • B C
  • 12. Activity 2 Reduce the following expressions: 1. F= A+B [AC+(B+C)D] 2. F= (B+BC) (B+BC)(B+D) 3. Show that ABC+B+BD+ABD+AC = B+C
  • 13. Conversion of AOI Logic to NAND/NOR Logic
  • 14. Conversion of AOI Logic to NAND/NOR Logic Any AOI logic can be converted into NAND/NOR logic following some steps which are listed below. • Step 1: Draw the circuit in AOI logic. • Step 2: If the circuit is to be drawn only using NOR Gates, add a circle at the output of each OR Gate and the input of each AND Gate. • Step 3: If the circuit is to be drawn only using NAND Gates, add a circle at the output of each NAND Gate and the input of each OR Gate. • Step 4: Now, add or subtract an inverter on each line where a circle has been drawn in steps 2 or 3 so that the polarity of signals on those lines remains unchanged from those of the original diagram.
  • 15. Example Example 1: Realize the following boolean expression using only (a) NAND Gate and (b) NOR Gate Y = A + AB.(C + D)
  • 16. NAND Logic (a) For realization using NAND logic, we will follow step 3, and add a circle to the output of each AND gate and also at the inputs of each OR gate which can be shown as, Now, moving on to step 4, we have to add or remove an inverter on every line where we have drawn a circle in the previous step which can be shown as: Inverters at line x, y, z, and p has been added as a circle was drawn here, also in the line r addition of an inverter is not required since two circles were drawn and adding two inverters will cancel out each other.
  • 17. Contd. Therefore, the final circuit using only NAND can be represented as:
  • 18. NOR Logic (b) For realization using NOR logic, we will follow step 2, and add a circle to the output of each OR gate and also at the inputs of each AND gate which can be shown as: Now, moving on to step 4, we have to add or remove an inverter on every line where we have drawn a circle in the previous step which can be shown as: Inverters at line a, b, c and d has been added as a circle was drawn here, also in the line e addition of an inverter is not required since two circles were drawn and adding two inverters will cancel out each other.
  • 19. Contd. The final circuit using only NOR can be represented as:
  • 20. Activity 3 Convert the following AOI logic circuit to (a) NAND Logic (b) NOR Logic