SlideShare a Scribd company logo
1 of 29
Download to read offline
Chapter 2:
1 / 28 
Basic Definitions 
Binary Operators 
●AND 
z = x • y = x y z=1 if x=1 AND y=1 
●OR 
z = x + y z=1 if x=1 OR y=1 
●NOT 
z = x = x’ z=1 if x=0 
Boolean Algebra 
●Binary Variables: only ‘0’ and ‘1’ values 
●Algebraic Manipulation
2 / 28 
Boolean Algebra Postulates 
Commutative Law 
x • y = y • x x + y = y + x 
Identity Element 
x • 1 = x x + 0 = x 
Complement 
x • x’ = 0 x + x’ = 1
3 / 28 
Boolean Algebra Theorems 
Duality 
●The dual of a Boolean algebraic expression is obtained by interchanging the AND and the OR operators and replacing the 1’s by 0’s and the 0’s by 1’s. 
● x • ( y + z ) = ( x • y ) + ( x • z ) 
● x + ( y • z ) = ( x + y ) • ( x + z ) 
Theorem 1 
● x • x = x x + x = x 
Theorem 2 
● x • 0 = 0 x + 1 = 1 
Applied to a valid equation produces a valid equation
4 / 28 
Boolean Algebra Theorems 
Theorem 3: Involution 
● ( x’ )’ = x ( x ) = x 
Theorem 4: Associative & Distributive 
● ( x • y ) • z = x • ( y • z ) ( x + y ) + z = x + ( y + z ) 
● x • ( y + z ) = ( x • y ) + ( x • z ) 
x + ( y • z ) = ( x + y ) • ( x + z ) 
Theorem 5: DeMorgan 
● ( x • y )’ = x’ + y’ ( x + y )’ = x’ • y’ 
● ( x • y ) = x + y ( x + y ) = x • y 
Theorem 6: Absorption 
● x • ( x + y ) = x x + ( x • y ) = x
5 / 28 
Operator Precedence 
Parentheses 
( . . . ) • ( . . .) 
NOT 
x’ + y 
AND 
x + x • y 
OR 
x [y  z (w x)] 
[ ( )] 
( ) 
( ) 
( ) 
( ) 
x y z w x 
y z w x 
z w x 
w x 
w x 
  
  
 
 

6 / 28 
DeMorgan’s Theorem 
a [b  c (d  e )] 
a [b  c (d  e )] 
a  b (c (d  e )) 
a  b (c  (d  e )) 
a  b (c  (d e)) 
a b (c  d e)
7 / 28 
Boolean Functions 
Boolean Expression 
Example: F = x + y’ z 
Truth Table 
All possible combinations 
of input variables 
Logic Circuit 
x y z F 
0 0 0 0 
0 0 1 1 
0 1 0 0 
0 1 1 0 
1 0 0 1 
1 0 1 1 
1 1 0 1 
1 1 1 1 
x 
y 
z 
F
8 / 28 
Algebraic Manipulation 
Literal: 
A single variable within a term that may be complemented or not. 
Use Boolean Algebra to simplify Boolean functions to produce simpler circuits 
Example: Simplify to a minimum number of literals 
F = x + x’ y ( 3 Literals) 
= x + ( x’ y ) 
= ( x + x’ ) ( x + y ) 
= ( 1 ) ( x + y ) = x + y ( 2 Literals) 
Distributive law (+ over •)
9 / 28 
Complement of a Function 
DeMorgan’s Theorm 
Duality & Literal Complement 
F  A BC 
F  A BC 
F  A BC 
F  A BC 
F A B C 
F  A BC
10 / 28 
Canonical Forms 
Minterm 
● Product (AND function) 
● Contains all variables 
● Evaluates to ‘1’ for a 
specific combination 
Example 
A = 0 A B C 
B = 0 (0) • (0) • (0) 
C = 0 
1 • 1 • 1 = 1 
A B C Minterm 
0 0 0 0 m0 
1 0 0 1 m1 
2 0 1 0 m2 
3 0 1 1 m3 
4 1 0 0 m4 
5 1 0 1 m5 
6 1 1 0 m6 
7 1 1 1 m7 
ABC 
ABC 
ABC 
ABC 
ABC 
ABC 
ABC 
ABC
11 / 28 
Canonical Forms 
Maxterm 
● Sum (OR function) 
● Contains all variables 
● Evaluates to ‘0’ for a 
specific combination 
Example 
A = 1 A B C 
B = 1 (1) + (1) + (1) 
C = 1 
0 + 0 + 0 = 0 
A B C Maxterm 
0 0 0 0 M0 
1 0 0 1 M1 
2 0 1 0 M2 
3 0 1 1 M3 
4 1 0 0 M4 
5 1 0 1 M5 
6 1 1 0 M6 
7 1 1 1 M7 
A BC 
A B C 
A B C 
A B C 
A B C 
A B C 
A B C 
A B C
12 / 28 
Canonical Forms 
Truth Table to Boolean Function 
A B C F 
0 0 0 0 
0 0 1 1 
0 1 0 0 
0 1 1 0 
1 0 0 1 
1 0 1 1 
1 1 0 0 
1 1 1 1 
F  ABC  ABC  ABC  ABC
13 / 28 
Canonical Forms 
Sum of Minterms 
Product of Maxterms 
A B C F 
0 0 0 0 0 
1 0 0 1 1 
2 0 1 0 0 
3 0 1 1 0 
4 1 0 0 1 
5 1 0 1 1 
6 1 1 0 0 
7 1 1 1 1 
F  ABC  ABC  ABC  ABC 
1 4 5 7 F  m m m m 
F  (1,4,5,7) 
F  ABC  ABC  ABC  ABC 
F  ABC  ABC  ABC  ABC 
F  ABC ABC ABC  ABC 
F  (A BC)(A BC)(A BC)(A BC) 
0 2 3 6 F  M M M M 
F (0,2,3,6) 
F 
1 
0 
1 
1 
0 
0 
1 
0
14 / 28 
Standard Forms 
Sum of Products (SOP) 
F  ABC  ABC  ABC  ABC 
AC 
AC B B 
 
(  ) 
BC 
BC A A 
 
(  ) 
AB 
AB 
AB C C 
 
 
 
(1) 
( ) 
F  BC(A A) AB(C C)  AC(B B) 
F  BC  AB AC
15 / 28 
Standard Forms 
Product of Sums (POS) 
BC(A A) 
AC(B B) 
AB(C C) 
F  AC(B B)  AB(C C)  BC(A A) 
F  AC  AB BC 
F  ABC  ABC  ABC  ABC 
F  (AC)(A B)(BC)
16 / 28 
Two - Level Implementations 
Sum of Products (SOP) 
Product of Sums (POS) 
F  BC  AB AC 
F  (AC)(A B)(BC) 
B’ 
C 
B’ F 
A 
A 
C 
A 
C 
B’ F 
A 
B’ 
C
17 / 28 
Logic Operators 
AND 
NAND (Not AND) 
x 
y 
NAND 
0 
0 
1 
0 
1 
1 
1 
0 
1 
1 
1 
0 
x 
y 
AND 
0 
0 
0 
0 
1 
0 
1 
0 
0 
1 
1 
1 xyx • yxyx • y
18 / 28 Logic Operators 
OR 
NOR (Not OR) 
x 
y 
OR 
0 
0 
0 
0 
1 
1 
1 
0 
1 
1 
1 
1 
x 
y 
NOR 
0 
0 
1 
0 
1 
0 
1 
0 
0 
1 
1 
0 xyx + yxyx + y
19 / 28 
Logic Operators 
XOR (Exclusive-OR) 
XNOR (Exclusive-NOR) (Equivalence) 
x 
y 
XOR 
0 
0 
0 
0 
1 
1 
1 
0 
1 
1 
1 
0 
x 
y 
XNOR 
0 
0 
1 
0 
1 
0 
1 
0 
0 
1 
1 
1 xyx Å yx  yx y + x yxyx Å yx y + x y
20 / 28 
Logic Operators 
NOT (Inverter) 
Buffer 
x 
NOT 
0 
1 
1 
0 
x 
Buffer 
0 
0 
1 
1 
xxxx
21 / 28 
Multiple Input Gates 
 
 

22 / 28 
DeMorgan’s Theorem on Gates 
AND Gate 
● F = x • y F = (x • y) F = x + y 
OR Gate 
● F = x + y F = (x + y) F = x • y 
 Change the “Shape” and “bubble” all lines
23 / 28 
Homework 
Mano 
●Chapter 2 
♦2-4 
♦2-5 
♦2-6 
♦2-8 
♦2-9 
♦2-10 
♦2-12 
♦2-15 
♦2-18 
♦2-19
24 / 28 
Homework 
Mano 
2-4 
Reduce the following Boolean expressions to the indicated number of literals: 
(a) A’C’ + ABC + AC’ to three literals 
(b) (x’y’ + z)’ + z + xy + wz to three literals 
(c) A’B (D’ + C’D) + B (A + A’CD) to one literal 
(d) (A’ + C) (A’ + C’) (A + B + C’D) to four literals 
2-5 
Find the complement of F = x + yz; then show that FF’ = 0 and F + F’ = 1
25 / 28 
Homework 
2-6 
Find the complement of the following expressions: 
(a) xy’ + x’y (b) (AB’ + C)D’ + E 
(c) (x + y’ + z) (x’ + z’) (x + y) 
2-8 
List the truth table of the function: F = xy + xy’ + y’z 
2-9 
Logical operations can be performed on strings of bits by considering each pair of corresponding bits separately (this is called bitwise operation). Given two 8-bit strings A = 10101101 and B = 10001110, evaluate the 8-bit result after the following logical operations: (a) AND, (b) OR, (c) XOR, (d) NOT A, (e) NOT B.
26 / 28 Homework 
2-10 
Draw the logic diagrams for the following Boolean expressions: 
(a) Y = A’B’ + B (A + C) (b) Y = BC + AC’ 
(c) Y = A + CD (d) Y = (A + B) (C’ + D) 
2-12 
Simplify the Boolean function T1 and T2 to a minimum number of literals. 
A 
B 
C 
T1 
T2 
0 
0 
0 
1 
0 
0 
0 
1 
1 
0 
0 
1 
0 
1 
0 
0 
1 
1 
0 
1 
1 
0 
0 
0 
1 
1 
0 
1 
0 
1 
1 
1 
0 
0 
1 
1 
1 
1 
0 
1
27 / 28 
Homework 
2-15 
Given the Boolean function F = xy’z + x’y’z + w’xy + wx’y + wxy 
(a) Obtain the truth table of the function. (b) Draw the logic diagram using the original Boolean expression. (c) Simplify the function to a minimum number of literals using Boolean algebra. (d) Obtain the truth table of the function from the simplified expression and show that it is the same as the one in part (a) (e) Draw the logic diagram from the simplified expression and compare the total number of gates with the diagram of part (b).
28 / 28 Homework 
2-18 
Convert the following to the other canonical form: 
(a) F (x, y, z) = Σ (1, 3, 7) 
(b) F (A, B, C, D) = Π (0, 1, 2, 3, 4, 6, 12) 
2-19 
Convert the following expressions into sum of products and product of sums: 
(a) (AB + C) (B + C’D) 
(b) x’ + x (x + y’) (y + z’)

More Related Content

What's hot

Digital systems
Digital systemsDigital systems
Digital systemsraj aditay
 
Logic simplification sop and pos forms
Logic simplification sop and pos formsLogic simplification sop and pos forms
Logic simplification sop and pos formsManesh T
 
Digital logic circuits important question and answers for 5 units
Digital logic circuits important question and answers for 5 unitsDigital logic circuits important question and answers for 5 units
Digital logic circuits important question and answers for 5 unitsLekashri Subramanian
 
Boolean algebra And Logic Gates
Boolean algebra And Logic GatesBoolean algebra And Logic Gates
Boolean algebra And Logic GatesKumar
 
boolean algebra and logic simplification
boolean algebra and logic simplificationboolean algebra and logic simplification
boolean algebra and logic simplificationUnsa Shakir
 
digital logic design number system
digital logic design number systemdigital logic design number system
digital logic design number systemNallapati Anindra
 
Verilog coding of mux 8 x1
Verilog coding of mux  8 x1Verilog coding of mux  8 x1
Verilog coding of mux 8 x1Rakesh kumar jha
 
Logic families
Logic familiesLogic families
Logic familiesDaudRaza2
 
Design and implementation of 32 bit alu using verilog
Design and implementation of 32 bit alu using verilogDesign and implementation of 32 bit alu using verilog
Design and implementation of 32 bit alu using verilogSTEPHEN MOIRANGTHEM
 
Combinational Circuits & Sequential Circuits
Combinational Circuits & Sequential CircuitsCombinational Circuits & Sequential Circuits
Combinational Circuits & Sequential Circuitsgourav kottawar
 
Floating point representation
Floating point representationFloating point representation
Floating point representationmissstevenson01
 
Combinational circuits
Combinational circuitsCombinational circuits
Combinational circuitsSARITHA REDDY
 
Newton's Backward Interpolation Formula with Example
Newton's Backward Interpolation Formula with ExampleNewton's Backward Interpolation Formula with Example
Newton's Backward Interpolation Formula with ExampleMuhammadUsmanIkram2
 
SEQUENTIAL AND COMBINATIONAL CIRCUITS,DIGITAL LOGIC DESIGN
SEQUENTIAL AND COMBINATIONAL CIRCUITS,DIGITAL LOGIC DESIGNSEQUENTIAL AND COMBINATIONAL CIRCUITS,DIGITAL LOGIC DESIGN
SEQUENTIAL AND COMBINATIONAL CIRCUITS,DIGITAL LOGIC DESIGNQAU ISLAMABAD,PAKISTAN
 
sequential circuits
sequential circuitssequential circuits
sequential circuitsUnsa Shakir
 

What's hot (20)

Digital systems
Digital systemsDigital systems
Digital systems
 
Logic simplification sop and pos forms
Logic simplification sop and pos formsLogic simplification sop and pos forms
Logic simplification sop and pos forms
 
Digital logic circuits important question and answers for 5 units
Digital logic circuits important question and answers for 5 unitsDigital logic circuits important question and answers for 5 units
Digital logic circuits important question and answers for 5 units
 
13 Boolean Algebra
13 Boolean Algebra13 Boolean Algebra
13 Boolean Algebra
 
Boolean algebra And Logic Gates
Boolean algebra And Logic GatesBoolean algebra And Logic Gates
Boolean algebra And Logic Gates
 
boolean algebra and logic simplification
boolean algebra and logic simplificationboolean algebra and logic simplification
boolean algebra and logic simplification
 
digital logic design number system
digital logic design number systemdigital logic design number system
digital logic design number system
 
VHDL CODES
VHDL CODES VHDL CODES
VHDL CODES
 
Verilog coding of mux 8 x1
Verilog coding of mux  8 x1Verilog coding of mux  8 x1
Verilog coding of mux 8 x1
 
Logic families
Logic familiesLogic families
Logic families
 
Design and implementation of 32 bit alu using verilog
Design and implementation of 32 bit alu using verilogDesign and implementation of 32 bit alu using verilog
Design and implementation of 32 bit alu using verilog
 
Binary codes
Binary codesBinary codes
Binary codes
 
Digital Logic circuit
Digital Logic circuitDigital Logic circuit
Digital Logic circuit
 
Combinational Circuits & Sequential Circuits
Combinational Circuits & Sequential CircuitsCombinational Circuits & Sequential Circuits
Combinational Circuits & Sequential Circuits
 
Floating point representation
Floating point representationFloating point representation
Floating point representation
 
Combinational circuits
Combinational circuitsCombinational circuits
Combinational circuits
 
Newton's Backward Interpolation Formula with Example
Newton's Backward Interpolation Formula with ExampleNewton's Backward Interpolation Formula with Example
Newton's Backward Interpolation Formula with Example
 
Basics of digital electronics
Basics of digital electronicsBasics of digital electronics
Basics of digital electronics
 
SEQUENTIAL AND COMBINATIONAL CIRCUITS,DIGITAL LOGIC DESIGN
SEQUENTIAL AND COMBINATIONAL CIRCUITS,DIGITAL LOGIC DESIGNSEQUENTIAL AND COMBINATIONAL CIRCUITS,DIGITAL LOGIC DESIGN
SEQUENTIAL AND COMBINATIONAL CIRCUITS,DIGITAL LOGIC DESIGN
 
sequential circuits
sequential circuitssequential circuits
sequential circuits
 

Similar to digital logic design Chapter 2 boolean_algebra_&_logic_gates

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
 
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
 
Logic Design - Chapter 3: Boolean Algebra
Logic Design - Chapter 3: Boolean AlgebraLogic Design - Chapter 3: Boolean Algebra
Logic Design - Chapter 3: Boolean AlgebraGouda Mando
 
Lect 2 boolean algebra (4 5-21)
Lect 2 boolean algebra (4 5-21)Lect 2 boolean algebra (4 5-21)
Lect 2 boolean algebra (4 5-21)MeghaSharma513
 
booleanalgebra-140914001141-phpapp01 (1).ppt
booleanalgebra-140914001141-phpapp01 (1).pptbooleanalgebra-140914001141-phpapp01 (1).ppt
booleanalgebra-140914001141-phpapp01 (1).pptmichaelaaron25322
 
ECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptx
ECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptxECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptx
ECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptxMdJubayerFaisalEmon
 
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theoremsarunachalamr16
 
2 Combinational Logic Circuit 01
2 Combinational Logic Circuit 012 Combinational Logic Circuit 01
2 Combinational Logic Circuit 01guestde204e
 
Basic gates and boolean algebra
Basic gates and boolean algebraBasic gates and boolean algebra
Basic gates and boolean algebraSudheesh S Madhav
 
Matematika Dasar (exponen,dan banyak lagi)
Matematika Dasar (exponen,dan banyak lagi)Matematika Dasar (exponen,dan banyak lagi)
Matematika Dasar (exponen,dan banyak lagi)Lufikome
 
MT T4 (Bab 3: Fungsi Kuadratik)
MT T4 (Bab 3: Fungsi Kuadratik)MT T4 (Bab 3: Fungsi Kuadratik)
MT T4 (Bab 3: Fungsi Kuadratik)hasnulslides
 
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
 
ISI MSQE Entrance Question Paper (2004)
ISI MSQE Entrance Question Paper (2004)ISI MSQE Entrance Question Paper (2004)
ISI MSQE Entrance Question Paper (2004)CrackDSE
 
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
 

Similar to digital logic design Chapter 2 boolean_algebra_&_logic_gates (20)

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
 
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
 
Logic Design - Chapter 3: Boolean Algebra
Logic Design - Chapter 3: Boolean AlgebraLogic Design - Chapter 3: Boolean Algebra
Logic Design - Chapter 3: Boolean Algebra
 
Lect 2 boolean algebra (4 5-21)
Lect 2 boolean algebra (4 5-21)Lect 2 boolean algebra (4 5-21)
Lect 2 boolean algebra (4 5-21)
 
booleanalgebra-140914001141-phpapp01 (1).ppt
booleanalgebra-140914001141-phpapp01 (1).pptbooleanalgebra-140914001141-phpapp01 (1).ppt
booleanalgebra-140914001141-phpapp01 (1).ppt
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
ECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptx
ECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptxECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptx
ECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptx
 
Digital Logic
Digital LogicDigital Logic
Digital Logic
 
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
 
2 Combinational Logic Circuit 01
2 Combinational Logic Circuit 012 Combinational Logic Circuit 01
2 Combinational Logic Circuit 01
 
Basic gates and boolean algebra
Basic gates and boolean algebraBasic gates and boolean algebra
Basic gates and boolean algebra
 
Matematika Dasar (exponen,dan banyak lagi)
Matematika Dasar (exponen,dan banyak lagi)Matematika Dasar (exponen,dan banyak lagi)
Matematika Dasar (exponen,dan banyak lagi)
 
Chapter-3.ppt
Chapter-3.pptChapter-3.ppt
Chapter-3.ppt
 
MT T4 (Bab 3: Fungsi Kuadratik)
MT T4 (Bab 3: Fungsi Kuadratik)MT T4 (Bab 3: Fungsi Kuadratik)
MT T4 (Bab 3: Fungsi Kuadratik)
 
Chapter0
Chapter0Chapter0
Chapter0
 
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
 
ISI MSQE Entrance Question Paper (2004)
ISI MSQE Entrance Question Paper (2004)ISI MSQE Entrance Question Paper (2004)
ISI MSQE Entrance Question Paper (2004)
 
EE8351 DLC
EE8351 DLCEE8351 DLC
EE8351 DLC
 
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
 

More from Imran Waris

More from Imran Waris (12)

Lec12
Lec12Lec12
Lec12
 
Lec8
Lec8Lec8
Lec8
 
Lec7
Lec7Lec7
Lec7
 
Lec6
Lec6Lec6
Lec6
 
Lec5
Lec5Lec5
Lec5
 
Lec4
Lec4Lec4
Lec4
 
Communication
CommunicationCommunication
Communication
 
Nonverbal communication
Nonverbal communicationNonverbal communication
Nonverbal communication
 
Digital and Logic Design Chapter 1 binary_systems
Digital and Logic Design Chapter 1 binary_systemsDigital and Logic Design Chapter 1 binary_systems
Digital and Logic Design Chapter 1 binary_systems
 
Micro soft word,excel notes
Micro soft word,excel notesMicro soft word,excel notes
Micro soft word,excel notes
 
Introduction to Operating Systems
Introduction to Operating SystemsIntroduction to Operating Systems
Introduction to Operating Systems
 
Computer concepts
Computer conceptsComputer concepts
Computer concepts
 

Recently uploaded

PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxdhanalakshmis0310
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 

Recently uploaded (20)

PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 

digital logic design Chapter 2 boolean_algebra_&_logic_gates

  • 2. 1 / 28 Basic Definitions Binary Operators ●AND z = x • y = x y z=1 if x=1 AND y=1 ●OR z = x + y z=1 if x=1 OR y=1 ●NOT z = x = x’ z=1 if x=0 Boolean Algebra ●Binary Variables: only ‘0’ and ‘1’ values ●Algebraic Manipulation
  • 3. 2 / 28 Boolean Algebra Postulates Commutative Law x • y = y • x x + y = y + x Identity Element x • 1 = x x + 0 = x Complement x • x’ = 0 x + x’ = 1
  • 4. 3 / 28 Boolean Algebra Theorems Duality ●The dual of a Boolean algebraic expression is obtained by interchanging the AND and the OR operators and replacing the 1’s by 0’s and the 0’s by 1’s. ● x • ( y + z ) = ( x • y ) + ( x • z ) ● x + ( y • z ) = ( x + y ) • ( x + z ) Theorem 1 ● x • x = x x + x = x Theorem 2 ● x • 0 = 0 x + 1 = 1 Applied to a valid equation produces a valid equation
  • 5. 4 / 28 Boolean Algebra Theorems Theorem 3: Involution ● ( x’ )’ = x ( x ) = x Theorem 4: Associative & Distributive ● ( x • y ) • z = x • ( y • z ) ( x + y ) + z = x + ( y + z ) ● x • ( y + z ) = ( x • y ) + ( x • z ) x + ( y • z ) = ( x + y ) • ( x + z ) Theorem 5: DeMorgan ● ( x • y )’ = x’ + y’ ( x + y )’ = x’ • y’ ● ( x • y ) = x + y ( x + y ) = x • y Theorem 6: Absorption ● x • ( x + y ) = x x + ( x • y ) = x
  • 6. 5 / 28 Operator Precedence Parentheses ( . . . ) • ( . . .) NOT x’ + y AND x + x • y OR x [y  z (w x)] [ ( )] ( ) ( ) ( ) ( ) x y z w x y z w x z w x w x w x       
  • 7. 6 / 28 DeMorgan’s Theorem a [b  c (d  e )] a [b  c (d  e )] a  b (c (d  e )) a  b (c  (d  e )) a  b (c  (d e)) a b (c  d e)
  • 8. 7 / 28 Boolean Functions Boolean Expression Example: F = x + y’ z Truth Table All possible combinations of input variables Logic Circuit x y z F 0 0 0 0 0 0 1 1 0 1 0 0 0 1 1 0 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 1 x y z F
  • 9. 8 / 28 Algebraic Manipulation Literal: A single variable within a term that may be complemented or not. Use Boolean Algebra to simplify Boolean functions to produce simpler circuits Example: Simplify to a minimum number of literals F = x + x’ y ( 3 Literals) = x + ( x’ y ) = ( x + x’ ) ( x + y ) = ( 1 ) ( x + y ) = x + y ( 2 Literals) Distributive law (+ over •)
  • 10. 9 / 28 Complement of a Function DeMorgan’s Theorm Duality & Literal Complement F  A BC F  A BC F  A BC F  A BC F A B C F  A BC
  • 11. 10 / 28 Canonical Forms Minterm ● Product (AND function) ● Contains all variables ● Evaluates to ‘1’ for a specific combination Example A = 0 A B C B = 0 (0) • (0) • (0) C = 0 1 • 1 • 1 = 1 A B C Minterm 0 0 0 0 m0 1 0 0 1 m1 2 0 1 0 m2 3 0 1 1 m3 4 1 0 0 m4 5 1 0 1 m5 6 1 1 0 m6 7 1 1 1 m7 ABC ABC ABC ABC ABC ABC ABC ABC
  • 12. 11 / 28 Canonical Forms Maxterm ● Sum (OR function) ● Contains all variables ● Evaluates to ‘0’ for a specific combination Example A = 1 A B C B = 1 (1) + (1) + (1) C = 1 0 + 0 + 0 = 0 A B C Maxterm 0 0 0 0 M0 1 0 0 1 M1 2 0 1 0 M2 3 0 1 1 M3 4 1 0 0 M4 5 1 0 1 M5 6 1 1 0 M6 7 1 1 1 M7 A BC A B C A B C A B C A B C A B C A B C A B C
  • 13. 12 / 28 Canonical Forms Truth Table to Boolean Function A B C F 0 0 0 0 0 0 1 1 0 1 0 0 0 1 1 0 1 0 0 1 1 0 1 1 1 1 0 0 1 1 1 1 F  ABC  ABC  ABC  ABC
  • 14. 13 / 28 Canonical Forms Sum of Minterms Product of Maxterms A B C F 0 0 0 0 0 1 0 0 1 1 2 0 1 0 0 3 0 1 1 0 4 1 0 0 1 5 1 0 1 1 6 1 1 0 0 7 1 1 1 1 F  ABC  ABC  ABC  ABC 1 4 5 7 F  m m m m F  (1,4,5,7) F  ABC  ABC  ABC  ABC F  ABC  ABC  ABC  ABC F  ABC ABC ABC  ABC F  (A BC)(A BC)(A BC)(A BC) 0 2 3 6 F  M M M M F (0,2,3,6) F 1 0 1 1 0 0 1 0
  • 15. 14 / 28 Standard Forms Sum of Products (SOP) F  ABC  ABC  ABC  ABC AC AC B B  (  ) BC BC A A  (  ) AB AB AB C C    (1) ( ) F  BC(A A) AB(C C)  AC(B B) F  BC  AB AC
  • 16. 15 / 28 Standard Forms Product of Sums (POS) BC(A A) AC(B B) AB(C C) F  AC(B B)  AB(C C)  BC(A A) F  AC  AB BC F  ABC  ABC  ABC  ABC F  (AC)(A B)(BC)
  • 17. 16 / 28 Two - Level Implementations Sum of Products (SOP) Product of Sums (POS) F  BC  AB AC F  (AC)(A B)(BC) B’ C B’ F A A C A C B’ F A B’ C
  • 18. 17 / 28 Logic Operators AND NAND (Not AND) x y NAND 0 0 1 0 1 1 1 0 1 1 1 0 x y AND 0 0 0 0 1 0 1 0 0 1 1 1 xyx • yxyx • y
  • 19. 18 / 28 Logic Operators OR NOR (Not OR) x y OR 0 0 0 0 1 1 1 0 1 1 1 1 x y NOR 0 0 1 0 1 0 1 0 0 1 1 0 xyx + yxyx + y
  • 20. 19 / 28 Logic Operators XOR (Exclusive-OR) XNOR (Exclusive-NOR) (Equivalence) x y XOR 0 0 0 0 1 1 1 0 1 1 1 0 x y XNOR 0 0 1 0 1 0 1 0 0 1 1 1 xyx Å yx  yx y + x yxyx Å yx y + x y
  • 21. 20 / 28 Logic Operators NOT (Inverter) Buffer x NOT 0 1 1 0 x Buffer 0 0 1 1 xxxx
  • 22. 21 / 28 Multiple Input Gates   
  • 23. 22 / 28 DeMorgan’s Theorem on Gates AND Gate ● F = x • y F = (x • y) F = x + y OR Gate ● F = x + y F = (x + y) F = x • y  Change the “Shape” and “bubble” all lines
  • 24. 23 / 28 Homework Mano ●Chapter 2 ♦2-4 ♦2-5 ♦2-6 ♦2-8 ♦2-9 ♦2-10 ♦2-12 ♦2-15 ♦2-18 ♦2-19
  • 25. 24 / 28 Homework Mano 2-4 Reduce the following Boolean expressions to the indicated number of literals: (a) A’C’ + ABC + AC’ to three literals (b) (x’y’ + z)’ + z + xy + wz to three literals (c) A’B (D’ + C’D) + B (A + A’CD) to one literal (d) (A’ + C) (A’ + C’) (A + B + C’D) to four literals 2-5 Find the complement of F = x + yz; then show that FF’ = 0 and F + F’ = 1
  • 26. 25 / 28 Homework 2-6 Find the complement of the following expressions: (a) xy’ + x’y (b) (AB’ + C)D’ + E (c) (x + y’ + z) (x’ + z’) (x + y) 2-8 List the truth table of the function: F = xy + xy’ + y’z 2-9 Logical operations can be performed on strings of bits by considering each pair of corresponding bits separately (this is called bitwise operation). Given two 8-bit strings A = 10101101 and B = 10001110, evaluate the 8-bit result after the following logical operations: (a) AND, (b) OR, (c) XOR, (d) NOT A, (e) NOT B.
  • 27. 26 / 28 Homework 2-10 Draw the logic diagrams for the following Boolean expressions: (a) Y = A’B’ + B (A + C) (b) Y = BC + AC’ (c) Y = A + CD (d) Y = (A + B) (C’ + D) 2-12 Simplify the Boolean function T1 and T2 to a minimum number of literals. A B C T1 T2 0 0 0 1 0 0 0 1 1 0 0 1 0 1 0 0 1 1 0 1 1 0 0 0 1 1 0 1 0 1 1 1 0 0 1 1 1 1 0 1
  • 28. 27 / 28 Homework 2-15 Given the Boolean function F = xy’z + x’y’z + w’xy + wx’y + wxy (a) Obtain the truth table of the function. (b) Draw the logic diagram using the original Boolean expression. (c) Simplify the function to a minimum number of literals using Boolean algebra. (d) Obtain the truth table of the function from the simplified expression and show that it is the same as the one in part (a) (e) Draw the logic diagram from the simplified expression and compare the total number of gates with the diagram of part (b).
  • 29. 28 / 28 Homework 2-18 Convert the following to the other canonical form: (a) F (x, y, z) = Σ (1, 3, 7) (b) F (A, B, C, D) = Π (0, 1, 2, 3, 4, 6, 12) 2-19 Convert the following expressions into sum of products and product of sums: (a) (AB + C) (B + C’D) (b) x’ + x (x + y’) (y + z’)