SlideShare uma empresa Scribd logo
1 de 26
Baixar para ler offline
Department of Communication Engineering, NCTU 1
Unit 2 Boolean Algebra
1. Developed by George Boole in 1847
2. Applied to the Design of Switching
Circuit by Claude Shannon in 1939
Department of Communication Engineering, NCTU 2
2.1 Basic Operations
Department of Communication Engineering, NCTU 3
Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu
 Boolean algebra: f : {0, 1}  {0, 1}
 Basic operations
 Inverse (complement)
 AND
 OR
 Inverse is denoted by (’)
 0' = 1
 1' = 0
 Inverter
Department of Communication Engineering, NCTU 4
Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu
11 1
01 0
00 1
00 0
C=A·BA B
Input Output
All possible
combinations
of inputs
Department of Communication Engineering, NCTU 5
Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu
11 1
11 0
10 1
00 0
C=A+BA B
Department of Communication Engineering, NCTU 6
Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu
 Basic operations of switching circuits
 A switch
 A · B  Two switches in a series
 A + B  Two switches in parallel
Department of Communication Engineering, NCTU 7
2.2 Boolean Expressions and Truth
Tables
Department of Communication Engineering, NCTU 8
Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu
 Boolean Expressions are formed by applications of basic
operations to one or more variables or constants, e.g.
 AB '+C
 [A(C+D)] '+BE
 Priority of operators: NOT > AND > OR
 Each expression corresponds directly to a circuit of logic gates
Department of Communication Engineering, NCTU 9
Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu
 A truth table specifies the values of a Boolean expression
for every possible combinations of variables in the
expression
 E.g. AB '+C
 If an expression has n-variables, the number of different
combinations of variables is 22…=2n
Department of Communication Engineering, NCTU 10
2.3 Basic Theorems and Laws
Department of Communication Engineering, NCTU 11
Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu
 Basic Theorems
Department of Communication Engineering, NCTU 12
Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu
 Commutative, associative and distributed laws
 Commutative laws :
XY = YX X+Y = Y+X
 Associative laws :
(XY)Z = X(YZ) = XYZ
(X+Y)+Z = X+(Y+Z) = X+Y+Z
Department of Communication Engineering, NCTU 13
Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu
 Distributed law
 AND operation distributes over OR:
X(Y+Z) = XY+XZ
 OR operation also distributes over AND
X+YZ = (X+Y)(X+Z)
= XX + XY + XZ + YZ
= X ( 1+ Y + Z) + YZ
= X + YZ
This distributive law does not hold for ordinary algebra
Department of Communication Engineering, NCTU 14
2.4 Simplification Theorems
Department of Communication Engineering, NCTU 15
Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu
 Simplifications of Boolean expressions
 Each expression corresponds to a circuit of logic gates.
Simplifying an expression leads to a simpler circuit
 Some useful theorems
 E.g. F = A(A’+B) By the second distributive law
Department of Communication Engineering, NCTU 16
Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu
 Example 1
 Example 2
Department of Communication Engineering, NCTU 17
2.4 Multiplying Out and Factoring
Department of Communication Engineering, NCTU 18
Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu
 An expression is said to be in sum-of-products form when
all products are the products of only single variables
 E.g. : AB’+ CD’E + AC’E
 ABC’+ DEFG + H
 When multiplying out an expression, the second
distributive law should be applied first when possible
 E.g. : (A + BC)(A + D + E) = A + BC(D + E) = A + BCD + BCE
Department of Communication Engineering, NCTU 19
Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu
 An expression is in product-of-sums when all sums are
the sums of single variables
 E.g. : (A+B’)(C+D’+E)(A+C’+E’)
 The second distributive law can be applied for
factorization
 E.g. :
Department of Communication Engineering, NCTU 20
Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu
 Example 1
Department of Communication Engineering, NCTU 21
Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu
 Two-level circuits
 Sum-of-products
 Product-of-sums
Department of Communication Engineering, NCTU 22
2.5 DeMorgan’s Laws
Department of Communication Engineering, NCTU 23
Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu
 DeMorgan’s Laws
 The complement of the sum is the product of the complements
(X+Y)’= X’Y’
 The complement of the product is the sum of the complements
(XY)’= X’+ Y’
 Can be verified by using a truth table
 DeMorgan’s Laws are easily generated to n variables
Department of Communication Engineering, NCTU 24
Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu
 Example 1
 Example 2
Department of Communication Engineering, NCTU 25
Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu
Department of Communication Engineering, NCTU 26
Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu


Mais conteúdo relacionado

Mais procurados

Digital Differential Analyzer Line Drawing Algorithm
Digital Differential Analyzer Line Drawing AlgorithmDigital Differential Analyzer Line Drawing Algorithm
Digital Differential Analyzer Line Drawing AlgorithmKasun Ranga Wijeweera
 
Chapter 3 Output Primitives
Chapter 3 Output PrimitivesChapter 3 Output Primitives
Chapter 3 Output PrimitivesPrathimaBaliga
 
Computer graphics presentation
Computer graphics presentationComputer graphics presentation
Computer graphics presentationLOKENDRA PRAJAPATI
 
Digital Logic Design-Lecture 5
Digital Logic Design-Lecture 5Digital Logic Design-Lecture 5
Digital Logic Design-Lecture 5Samia Sultana
 
Computational geometry
Computational geometryComputational geometry
Computational geometrymurali9120
 
Lesson 28: The Fundamental Theorem of Calculus
Lesson 28: The Fundamental Theorem of CalculusLesson 28: The Fundamental Theorem of Calculus
Lesson 28: The Fundamental Theorem of CalculusMatthew Leingang
 
A Tutorial on Computational Geometry
A Tutorial on Computational GeometryA Tutorial on Computational Geometry
A Tutorial on Computational GeometryMinh-Tri Pham
 
Line drawing algorithm and antialiasing techniques
Line drawing algorithm and antialiasing techniquesLine drawing algorithm and antialiasing techniques
Line drawing algorithm and antialiasing techniquesAnkit Garg
 
Bca3010 computer oreineted numerical methods
Bca3010   computer oreineted numerical methodsBca3010   computer oreineted numerical methods
Bca3010 computer oreineted numerical methodssmumbahelp
 
ACM ICPC 2014 NEERC (Northeastern European Regional Contest) Problems Review
ACM ICPC 2014 NEERC (Northeastern European Regional Contest) Problems ReviewACM ICPC 2014 NEERC (Northeastern European Regional Contest) Problems Review
ACM ICPC 2014 NEERC (Northeastern European Regional Contest) Problems ReviewRoman Elizarov
 
Eight Formalisms for Defining Graph Models
Eight Formalisms for Defining Graph ModelsEight Formalisms for Defining Graph Models
Eight Formalisms for Defining Graph ModelsJérôme KUNEGIS
 
A mid point ellipse drawing algorithm on a hexagonal grid
A mid  point ellipse drawing algorithm on a hexagonal gridA mid  point ellipse drawing algorithm on a hexagonal grid
A mid point ellipse drawing algorithm on a hexagonal gridS M K
 
Introduction to homography
Introduction to homographyIntroduction to homography
Introduction to homographyShih-Hsiang Lin
 

Mais procurados (20)

Digital Differential Analyzer Line Drawing Algorithm
Digital Differential Analyzer Line Drawing AlgorithmDigital Differential Analyzer Line Drawing Algorithm
Digital Differential Analyzer Line Drawing Algorithm
 
Chapter 3 Output Primitives
Chapter 3 Output PrimitivesChapter 3 Output Primitives
Chapter 3 Output Primitives
 
bresenham circles and polygons in computer graphics(Computer graphics tutorials)
bresenham circles and polygons in computer graphics(Computer graphics tutorials)bresenham circles and polygons in computer graphics(Computer graphics tutorials)
bresenham circles and polygons in computer graphics(Computer graphics tutorials)
 
Computer graphics presentation
Computer graphics presentationComputer graphics presentation
Computer graphics presentation
 
Digital Logic Design-Lecture 5
Digital Logic Design-Lecture 5Digital Logic Design-Lecture 5
Digital Logic Design-Lecture 5
 
Computational geometry
Computational geometryComputational geometry
Computational geometry
 
DDA algorithm
DDA algorithmDDA algorithm
DDA algorithm
 
Lesson 28: The Fundamental Theorem of Calculus
Lesson 28: The Fundamental Theorem of CalculusLesson 28: The Fundamental Theorem of Calculus
Lesson 28: The Fundamental Theorem of Calculus
 
A Tutorial on Computational Geometry
A Tutorial on Computational GeometryA Tutorial on Computational Geometry
A Tutorial on Computational Geometry
 
Line drawing algorithm and antialiasing techniques
Line drawing algorithm and antialiasing techniquesLine drawing algorithm and antialiasing techniques
Line drawing algorithm and antialiasing techniques
 
Clipping 22
Clipping 22Clipping 22
Clipping 22
 
Bca3010 computer oreineted numerical methods
Bca3010   computer oreineted numerical methodsBca3010   computer oreineted numerical methods
Bca3010 computer oreineted numerical methods
 
ACM ICPC 2014 NEERC (Northeastern European Regional Contest) Problems Review
ACM ICPC 2014 NEERC (Northeastern European Regional Contest) Problems ReviewACM ICPC 2014 NEERC (Northeastern European Regional Contest) Problems Review
ACM ICPC 2014 NEERC (Northeastern European Regional Contest) Problems Review
 
Computer graphics 2
Computer graphics 2Computer graphics 2
Computer graphics 2
 
Eight Formalisms for Defining Graph Models
Eight Formalisms for Defining Graph ModelsEight Formalisms for Defining Graph Models
Eight Formalisms for Defining Graph Models
 
A mid point ellipse drawing algorithm on a hexagonal grid
A mid  point ellipse drawing algorithm on a hexagonal gridA mid  point ellipse drawing algorithm on a hexagonal grid
A mid point ellipse drawing algorithm on a hexagonal grid
 
Dda algorithm
Dda algorithmDda algorithm
Dda algorithm
 
Introduction to homography
Introduction to homographyIntroduction to homography
Introduction to homography
 
Lect3cg2011
Lect3cg2011Lect3cg2011
Lect3cg2011
 
Computer graphics notes watermark
Computer graphics notes watermarkComputer graphics notes watermark
Computer graphics notes watermark
 

Semelhante a Unit 02

Basic gates and boolean algebra
Basic gates and boolean algebraBasic gates and boolean algebra
Basic gates and boolean algebraSudheesh S Madhav
 
[01] Exit Exam Preparation 2023 DLD.pptx
[01] Exit Exam Preparation 2023 DLD.pptx[01] Exit Exam Preparation 2023 DLD.pptx
[01] Exit Exam Preparation 2023 DLD.pptxsolomonlemma14
 
ECE 2103_L6 Boolean Algebra Canonical Forms.pptx
ECE 2103_L6 Boolean Algebra Canonical Forms.pptxECE 2103_L6 Boolean Algebra Canonical Forms.pptx
ECE 2103_L6 Boolean Algebra Canonical Forms.pptxMdJubayerFaisalEmon
 
Ee2 chapter8 applicationsof_booleanalgebra
Ee2 chapter8 applicationsof_booleanalgebraEe2 chapter8 applicationsof_booleanalgebra
Ee2 chapter8 applicationsof_booleanalgebraCK Yang
 
102_2_digitalSystem_Chap_2_part_1.ppt
102_2_digitalSystem_Chap_2_part_1.ppt102_2_digitalSystem_Chap_2_part_1.ppt
102_2_digitalSystem_Chap_2_part_1.pptSATHYARAJECE
 
Unit 4 Switching Theory and Logic Gates
Unit 4 Switching Theory and Logic GatesUnit 4 Switching Theory and Logic Gates
Unit 4 Switching Theory and Logic GatesDr Piyush Charan
 
Unit-1 Part-2-v1.ppt
Unit-1 Part-2-v1.pptUnit-1 Part-2-v1.ppt
Unit-1 Part-2-v1.pptnaresh414857
 
chapter 3 Boolean algebra (2).pptx
chapter 3 Boolean algebra (2).pptxchapter 3 Boolean algebra (2).pptx
chapter 3 Boolean algebra (2).pptxRithinA1
 
Combinational and sequential logic
Combinational and sequential logicCombinational and sequential logic
Combinational and sequential logicDeepak John
 
Applied mathematics for complex engineering
Applied mathematics for complex engineeringApplied mathematics for complex engineering
Applied mathematics for complex engineeringSahl Buhary
 
NOTA TOPIK 2_SSK20152 (3).pptx
NOTA TOPIK 2_SSK20152 (3).pptxNOTA TOPIK 2_SSK20152 (3).pptx
NOTA TOPIK 2_SSK20152 (3).pptxeedayaya1
 

Semelhante a Unit 02 (20)

Basic gates and boolean algebra
Basic gates and boolean algebraBasic gates and boolean algebra
Basic gates and boolean algebra
 
[01] Exit Exam Preparation 2023 DLD.pptx
[01] Exit Exam Preparation 2023 DLD.pptx[01] Exit Exam Preparation 2023 DLD.pptx
[01] Exit Exam Preparation 2023 DLD.pptx
 
ECE 2103_L6 Boolean Algebra Canonical Forms.pptx
ECE 2103_L6 Boolean Algebra Canonical Forms.pptxECE 2103_L6 Boolean Algebra Canonical Forms.pptx
ECE 2103_L6 Boolean Algebra Canonical Forms.pptx
 
sop_pos(DE).pptx
sop_pos(DE).pptxsop_pos(DE).pptx
sop_pos(DE).pptx
 
Ee2 chapter8 applicationsof_booleanalgebra
Ee2 chapter8 applicationsof_booleanalgebraEe2 chapter8 applicationsof_booleanalgebra
Ee2 chapter8 applicationsof_booleanalgebra
 
Logic Design
Logic DesignLogic Design
Logic Design
 
DLD Chapter-2.pdf
DLD Chapter-2.pdfDLD Chapter-2.pdf
DLD Chapter-2.pdf
 
Digital Logic
Digital LogicDigital Logic
Digital Logic
 
102_2_digitalSystem_Chap_2_part_1.ppt
102_2_digitalSystem_Chap_2_part_1.ppt102_2_digitalSystem_Chap_2_part_1.ppt
102_2_digitalSystem_Chap_2_part_1.ppt
 
Unit 4 Switching Theory and Logic Gates
Unit 4 Switching Theory and Logic GatesUnit 4 Switching Theory and Logic Gates
Unit 4 Switching Theory and Logic Gates
 
Unit-1 Part-2-v1.ppt
Unit-1 Part-2-v1.pptUnit-1 Part-2-v1.ppt
Unit-1 Part-2-v1.ppt
 
lecture 1.pptx
lecture 1.pptxlecture 1.pptx
lecture 1.pptx
 
EE8351 DLC
EE8351 DLCEE8351 DLC
EE8351 DLC
 
2dig circ
2dig circ2dig circ
2dig circ
 
chapter 3 Boolean algebra (2).pptx
chapter 3 Boolean algebra (2).pptxchapter 3 Boolean algebra (2).pptx
chapter 3 Boolean algebra (2).pptx
 
Chapter 2 boolean part c
Chapter 2 boolean part cChapter 2 boolean part c
Chapter 2 boolean part c
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
 
Combinational and sequential logic
Combinational and sequential logicCombinational and sequential logic
Combinational and sequential logic
 
Applied mathematics for complex engineering
Applied mathematics for complex engineeringApplied mathematics for complex engineering
Applied mathematics for complex engineering
 
NOTA TOPIK 2_SSK20152 (3).pptx
NOTA TOPIK 2_SSK20152 (3).pptxNOTA TOPIK 2_SSK20152 (3).pptx
NOTA TOPIK 2_SSK20152 (3).pptx
 

Mais de Partha_bappa

Alternative Vs Complementary Medicine
Alternative Vs Complementary MedicineAlternative Vs Complementary Medicine
Alternative Vs Complementary MedicinePartha_bappa
 
Digital Communication
Digital CommunicationDigital Communication
Digital CommunicationPartha_bappa
 
Fourier supplementals
Fourier supplementalsFourier supplementals
Fourier supplementalsPartha_bappa
 
Biology questions answer
Biology questions answerBiology questions answer
Biology questions answerPartha_bappa
 
INTERNAL Assign no 207( JAIPUR NATIONAL UNI)
INTERNAL Assign no   207( JAIPUR NATIONAL UNI)INTERNAL Assign no   207( JAIPUR NATIONAL UNI)
INTERNAL Assign no 207( JAIPUR NATIONAL UNI)Partha_bappa
 
internal Assign no 206 ( JAIPUR NATIONAL UNI)
internal Assign no   206 ( JAIPUR NATIONAL UNI)internal Assign no   206 ( JAIPUR NATIONAL UNI)
internal Assign no 206 ( JAIPUR NATIONAL UNI)Partha_bappa
 
INTERNATIONAL Assign no 205 (JAIPUR NATIONAL UNI)
INTERNATIONAL Assign no 205 (JAIPUR NATIONAL UNI)INTERNATIONAL Assign no 205 (JAIPUR NATIONAL UNI)
INTERNATIONAL Assign no 205 (JAIPUR NATIONAL UNI)Partha_bappa
 
INTERNAL Assign no 4 ( JAIPUR INTERNAL UNI)
INTERNAL Assign no   4 ( JAIPUR INTERNAL UNI)INTERNAL Assign no   4 ( JAIPUR INTERNAL UNI)
INTERNAL Assign no 4 ( JAIPUR INTERNAL UNI)Partha_bappa
 

Mais de Partha_bappa (10)

Alternative Vs Complementary Medicine
Alternative Vs Complementary MedicineAlternative Vs Complementary Medicine
Alternative Vs Complementary Medicine
 
Unit 07
Unit 07Unit 07
Unit 07
 
Digital Communication
Digital CommunicationDigital Communication
Digital Communication
 
Media Literacy
Media LiteracyMedia Literacy
Media Literacy
 
Fourier supplementals
Fourier supplementalsFourier supplementals
Fourier supplementals
 
Biology questions answer
Biology questions answerBiology questions answer
Biology questions answer
 
INTERNAL Assign no 207( JAIPUR NATIONAL UNI)
INTERNAL Assign no   207( JAIPUR NATIONAL UNI)INTERNAL Assign no   207( JAIPUR NATIONAL UNI)
INTERNAL Assign no 207( JAIPUR NATIONAL UNI)
 
internal Assign no 206 ( JAIPUR NATIONAL UNI)
internal Assign no   206 ( JAIPUR NATIONAL UNI)internal Assign no   206 ( JAIPUR NATIONAL UNI)
internal Assign no 206 ( JAIPUR NATIONAL UNI)
 
INTERNATIONAL Assign no 205 (JAIPUR NATIONAL UNI)
INTERNATIONAL Assign no 205 (JAIPUR NATIONAL UNI)INTERNATIONAL Assign no 205 (JAIPUR NATIONAL UNI)
INTERNATIONAL Assign no 205 (JAIPUR NATIONAL UNI)
 
INTERNAL Assign no 4 ( JAIPUR INTERNAL UNI)
INTERNAL Assign no   4 ( JAIPUR INTERNAL UNI)INTERNAL Assign no   4 ( JAIPUR INTERNAL UNI)
INTERNAL Assign no 4 ( JAIPUR INTERNAL UNI)
 

Último

Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 

Último (20)

Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
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
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 

Unit 02

  • 1. Department of Communication Engineering, NCTU 1 Unit 2 Boolean Algebra 1. Developed by George Boole in 1847 2. Applied to the Design of Switching Circuit by Claude Shannon in 1939
  • 2. Department of Communication Engineering, NCTU 2 2.1 Basic Operations
  • 3. Department of Communication Engineering, NCTU 3 Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu  Boolean algebra: f : {0, 1}  {0, 1}  Basic operations  Inverse (complement)  AND  OR  Inverse is denoted by (’)  0' = 1  1' = 0  Inverter
  • 4. Department of Communication Engineering, NCTU 4 Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu 11 1 01 0 00 1 00 0 C=A·BA B Input Output All possible combinations of inputs
  • 5. Department of Communication Engineering, NCTU 5 Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu 11 1 11 0 10 1 00 0 C=A+BA B
  • 6. Department of Communication Engineering, NCTU 6 Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu  Basic operations of switching circuits  A switch  A · B  Two switches in a series  A + B  Two switches in parallel
  • 7. Department of Communication Engineering, NCTU 7 2.2 Boolean Expressions and Truth Tables
  • 8. Department of Communication Engineering, NCTU 8 Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu  Boolean Expressions are formed by applications of basic operations to one or more variables or constants, e.g.  AB '+C  [A(C+D)] '+BE  Priority of operators: NOT > AND > OR  Each expression corresponds directly to a circuit of logic gates
  • 9. Department of Communication Engineering, NCTU 9 Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu  A truth table specifies the values of a Boolean expression for every possible combinations of variables in the expression  E.g. AB '+C  If an expression has n-variables, the number of different combinations of variables is 22…=2n
  • 10. Department of Communication Engineering, NCTU 10 2.3 Basic Theorems and Laws
  • 11. Department of Communication Engineering, NCTU 11 Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu  Basic Theorems
  • 12. Department of Communication Engineering, NCTU 12 Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu  Commutative, associative and distributed laws  Commutative laws : XY = YX X+Y = Y+X  Associative laws : (XY)Z = X(YZ) = XYZ (X+Y)+Z = X+(Y+Z) = X+Y+Z
  • 13. Department of Communication Engineering, NCTU 13 Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu  Distributed law  AND operation distributes over OR: X(Y+Z) = XY+XZ  OR operation also distributes over AND X+YZ = (X+Y)(X+Z) = XX + XY + XZ + YZ = X ( 1+ Y + Z) + YZ = X + YZ This distributive law does not hold for ordinary algebra
  • 14. Department of Communication Engineering, NCTU 14 2.4 Simplification Theorems
  • 15. Department of Communication Engineering, NCTU 15 Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu  Simplifications of Boolean expressions  Each expression corresponds to a circuit of logic gates. Simplifying an expression leads to a simpler circuit  Some useful theorems  E.g. F = A(A’+B) By the second distributive law
  • 16. Department of Communication Engineering, NCTU 16 Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu  Example 1  Example 2
  • 17. Department of Communication Engineering, NCTU 17 2.4 Multiplying Out and Factoring
  • 18. Department of Communication Engineering, NCTU 18 Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu  An expression is said to be in sum-of-products form when all products are the products of only single variables  E.g. : AB’+ CD’E + AC’E  ABC’+ DEFG + H  When multiplying out an expression, the second distributive law should be applied first when possible  E.g. : (A + BC)(A + D + E) = A + BC(D + E) = A + BCD + BCE
  • 19. Department of Communication Engineering, NCTU 19 Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu  An expression is in product-of-sums when all sums are the sums of single variables  E.g. : (A+B’)(C+D’+E)(A+C’+E’)  The second distributive law can be applied for factorization  E.g. :
  • 20. Department of Communication Engineering, NCTU 20 Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu  Example 1
  • 21. Department of Communication Engineering, NCTU 21 Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu  Two-level circuits  Sum-of-products  Product-of-sums
  • 22. Department of Communication Engineering, NCTU 22 2.5 DeMorgan’s Laws
  • 23. Department of Communication Engineering, NCTU 23 Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu  DeMorgan’s Laws  The complement of the sum is the product of the complements (X+Y)’= X’Y’  The complement of the product is the sum of the complements (XY)’= X’+ Y’  Can be verified by using a truth table  DeMorgan’s Laws are easily generated to n variables
  • 24. Department of Communication Engineering, NCTU 24 Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu  Example 1  Example 2
  • 25. Department of Communication Engineering, NCTU 25 Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu
  • 26. Department of Communication Engineering, NCTU 26 Logic Design Unit 2 Boolean Algebra Sau-Hsuan Wu 