SlideShare a Scribd company logo
Boolean Algebra by SUKHDEEP SINGH
INTRODUCTION
+ .
.
+ .
.
+
. +
+ .
.
+
(a)
(b)
(c)
(d)
(e)
Boolean Algebra by SUKHDEEP SINGH
Boolean Algebra by SUKHDEEP SINGH
Boolean Algebra by SUKHDEEP SINGH
Solving Three variable function with K – Map
Z = f(A,B,C) = A̅B̅C̅ + AB + ABC + AC
= A̅B̅C̅ + ABC + ABC +ABC + ABC + ABC
Sol. is F = B + AC + AC
Productionof Sums Simplification
e.g. F(A ,B ,C ,D) = Σ(0,1,2,5,8,9,10)
Solution:Creating a four variable K-map for above function , we have
In this K–map combination of 0s are made to get solution for complement of F.
so, F’ = AB + CD + BD’
Now F = (F’)’ = (AB + CD + BD’)’
= (A’ + B’) . (C’ + D’) . (B’ + D)
Which is required product of sum simplification.
Don’t Care Conditions
Till now we have discussed function in which the combination of variable are either 0 or 1 and
accordingly map created. The combination usually taken from the truth table for which the
value is evaluated to 1. value for all other combination is assumed to be 0. however this not
always true. There may be some certain application where for certain combination, there are
no output value e.g. in some digital circuit, if we have to take six input combination, we have to
take 3 input variables leading to total of 2³ i.e. 8 combinations. So out of these 8
combinations 2 will be unused. So we don’t care about these value. These don’t care condition
can be used in map to have simpler structure. Don’t Care combination on a K-Map are marked
with ‘X’ to distinguish them from value 0 or 1. Following point should be taken while making
combination with don’t care squares-
1. If a combination with equal no. of squares is possible with higher no. of 1’s then that
combination is given preference over the combination that contain more no. ‘X’ squares.
2. It is not necessary that all squares containing ‘X’ take part in making combinations.
3. Each combination containing X must have atleast one 1.
Example : Simplify F (w, x, y, z) = Σ(1, 3, 7, 11, 15)
D(w, x, y, z) = Σ(0, 2, 5)
Solution :Creatinga four variable K-map –
Finding common value in combination, the solution will be
F = wz + yz
IMPLEMENTING BOOLEAN EXPRESSION AS DIGITAL CIRCUITS
For any Boolean function you can design an electronicand vice versa. Since Boolean function only
requirethe AND , OR, and NOT boolean operators,which will be used to representAND (.), binary
OR (+) and compliment (‘) respectivelyin Boolean algebraicfunctions.
Using these gate we can design logical diagram for any of the Boolean function.
Boolean Algebra by SUKHDEEP SINGH
Some other logic gates which are very commonly used in designing logic circuit are given as below :
NAND and NOR gates as UniversalGates
One interestingfact is that you only need a single gate type to implement any electronic circuit. There
are two gates which serve this purpose. There are NAND gate and NOR gate that is why these gate
also known as universalgates.
Converting A Function Into Logic Diagram With Only NAND Gates : Following step s have
performedfor doing this:
1. Get the simplified form of function in sum of product form.
2. Draw a NAND gate for each productterm of the function that has at least two variable . Thesewill
become firstlevel gate.
3.Draw a single NAND gate in second level that have input as output from first level gate.
4. Termwith single variablecan be complementedand applied as input to second level NAND gate.
Now using same rule we will convert AND, OR And NOT into NAND gate circuits.Remember function
for these gates are already in simplified form.
NOT, AND, & OR gates equivalentto NAND gate :
E.g. F = (AB+CD) . BC
Let us draw logical diagram for this
Boolean Algebra by SUKHDEEP SINGH
Implementing Logic Circuit Using NOR Gate Only
For two level circuit, following step are performed :
1. Simplify function in product of sum form.
2. Apply same step as two level NAND implementation except term for firs level NOR gates are sum
terms.
3. Similarly,a single variableterm will need one input NOR gate.
NOT, OR & AND gates equivalentto NOR gate:
Boolean Algebra by SUKHDEEP SINGH

More Related Content

PDF
Lossless predictive coding
PPTX
Basics of K map
PPT
Directed Acyclic Graph
PPTX
Trident International Graphics Workshop2014 3/5
PPTX
Region filling
PPT
Implementation
PDF
Test
DOC
hospital management
Lossless predictive coding
Basics of K map
Directed Acyclic Graph
Trident International Graphics Workshop2014 3/5
Region filling
Implementation
Test
hospital management

What's hot (20)

PPTX
And or graph problem reduction using predicate logic
PPTX
Computer Graphics - Hidden Line Removal Algorithm
PDF
actel fpga problems
PPTX
K-MAP(KARNAUGH MAP)BY THE SILENT PROGRAMMER
PDF
xilinx fpga problems
PDF
Combinatorial optimization CO-2
PDF
Ijcatr03051008Implementation of Matrix based Mapping Method Using Elliptic Cu...
KEY
Population Project
PPT
1422798749.2779lecture 5
PDF
Next-Gen shaders (2008)
PPT
Curves and Surfaces
PPTX
Problem reduction AND OR GRAPH & AO* algorithm.ppt
PPTX
Definite Integral Review
PPT
Hidden Surfaces
PPTX
Second derivative and graphing
PPTX
Co clustering by-block_value_decomposition
PDF
AP Calculus AB April 17, 2009
PPTX
15 puzzle problem using branch and bound
PPTX
Chapter 9 morphological image processing
PPT
Lar calc10 ch07_sec1
And or graph problem reduction using predicate logic
Computer Graphics - Hidden Line Removal Algorithm
actel fpga problems
K-MAP(KARNAUGH MAP)BY THE SILENT PROGRAMMER
xilinx fpga problems
Combinatorial optimization CO-2
Ijcatr03051008Implementation of Matrix based Mapping Method Using Elliptic Cu...
Population Project
1422798749.2779lecture 5
Next-Gen shaders (2008)
Curves and Surfaces
Problem reduction AND OR GRAPH & AO* algorithm.ppt
Definite Integral Review
Hidden Surfaces
Second derivative and graphing
Co clustering by-block_value_decomposition
AP Calculus AB April 17, 2009
15 puzzle problem using branch and bound
Chapter 9 morphological image processing
Lar calc10 ch07_sec1
Ad

Viewers also liked (7)

PPT
6.3.1 Next
PPT
6.3.3 Psacr
PDF
6.5.3primarycell2
DOC
Lauren Harrett Resume 3-3-2016
PPTX
Petit dejeuner assurance _14_janvier_2016
PPTX
Mineral and power resources
DOCX
147528442 consumer-durables
6.3.1 Next
6.3.3 Psacr
6.5.3primarycell2
Lauren Harrett Resume 3-3-2016
Petit dejeuner assurance _14_janvier_2016
Mineral and power resources
147528442 consumer-durables
Ad

Similar to Boolean Algebra by SUKHDEEP SINGH (20)

PPTX
Chapter-3.pptx
PPT
Chapter 3 2
PPTX
Chapter Data Representation DIGITAL LOGIC CIRCUITS
PPTX
DLD Lecture No 16 Don't `Care Conditions, Nand gate Implementation.pptx
PPTX
Digital Logic
PPTX
Algorithms Design Homework Help
PDF
B sc ii sem unit 2(b) ba
PPTX
Algorithms Design Exam Help
DOCX
Digtial Image Processing Q@A
PPT
LCDF3_Chap_02_P2.ppt Digital Login Design
PDF
Lab 3 Multi-Function Gate
PPTX
WEEK 4- DLD-GateLvelMinimization.pptx
PPTX
DOCX
SAMPLE QUESTIONExercise 1 Consider the functionf (x,C).docx
PPT
5.3 dynamic programming 03
PDF
Ec2203 digital electronics questions anna university by www.annaunivedu.org
PDF
Implementation of Low-Complexity Redundant Multiplier Architecture for Finite...
PDF
Goldie chapter 4 function
PPT
Combinational circuit
Chapter-3.pptx
Chapter 3 2
Chapter Data Representation DIGITAL LOGIC CIRCUITS
DLD Lecture No 16 Don't `Care Conditions, Nand gate Implementation.pptx
Digital Logic
Algorithms Design Homework Help
B sc ii sem unit 2(b) ba
Algorithms Design Exam Help
Digtial Image Processing Q@A
LCDF3_Chap_02_P2.ppt Digital Login Design
Lab 3 Multi-Function Gate
WEEK 4- DLD-GateLvelMinimization.pptx
SAMPLE QUESTIONExercise 1 Consider the functionf (x,C).docx
5.3 dynamic programming 03
Ec2203 digital electronics questions anna university by www.annaunivedu.org
Implementation of Low-Complexity Redundant Multiplier Architecture for Finite...
Goldie chapter 4 function
Combinational circuit

Boolean Algebra by SUKHDEEP SINGH

  • 7. Solving Three variable function with K – Map Z = f(A,B,C) = A̅B̅C̅ + AB + ABC + AC = A̅B̅C̅ + ABC + ABC +ABC + ABC + ABC Sol. is F = B + AC + AC
  • 8. Productionof Sums Simplification e.g. F(A ,B ,C ,D) = Σ(0,1,2,5,8,9,10) Solution:Creating a four variable K-map for above function , we have In this K–map combination of 0s are made to get solution for complement of F. so, F’ = AB + CD + BD’ Now F = (F’)’ = (AB + CD + BD’)’ = (A’ + B’) . (C’ + D’) . (B’ + D) Which is required product of sum simplification.
  • 9. Don’t Care Conditions Till now we have discussed function in which the combination of variable are either 0 or 1 and accordingly map created. The combination usually taken from the truth table for which the value is evaluated to 1. value for all other combination is assumed to be 0. however this not always true. There may be some certain application where for certain combination, there are no output value e.g. in some digital circuit, if we have to take six input combination, we have to take 3 input variables leading to total of 2³ i.e. 8 combinations. So out of these 8 combinations 2 will be unused. So we don’t care about these value. These don’t care condition can be used in map to have simpler structure. Don’t Care combination on a K-Map are marked with ‘X’ to distinguish them from value 0 or 1. Following point should be taken while making combination with don’t care squares- 1. If a combination with equal no. of squares is possible with higher no. of 1’s then that combination is given preference over the combination that contain more no. ‘X’ squares. 2. It is not necessary that all squares containing ‘X’ take part in making combinations. 3. Each combination containing X must have atleast one 1.
  • 10. Example : Simplify F (w, x, y, z) = Σ(1, 3, 7, 11, 15) D(w, x, y, z) = Σ(0, 2, 5) Solution :Creatinga four variable K-map – Finding common value in combination, the solution will be F = wz + yz
  • 11. IMPLEMENTING BOOLEAN EXPRESSION AS DIGITAL CIRCUITS For any Boolean function you can design an electronicand vice versa. Since Boolean function only requirethe AND , OR, and NOT boolean operators,which will be used to representAND (.), binary OR (+) and compliment (‘) respectivelyin Boolean algebraicfunctions. Using these gate we can design logical diagram for any of the Boolean function.
  • 13. Some other logic gates which are very commonly used in designing logic circuit are given as below :
  • 14. NAND and NOR gates as UniversalGates One interestingfact is that you only need a single gate type to implement any electronic circuit. There are two gates which serve this purpose. There are NAND gate and NOR gate that is why these gate also known as universalgates. Converting A Function Into Logic Diagram With Only NAND Gates : Following step s have performedfor doing this: 1. Get the simplified form of function in sum of product form. 2. Draw a NAND gate for each productterm of the function that has at least two variable . Thesewill become firstlevel gate. 3.Draw a single NAND gate in second level that have input as output from first level gate. 4. Termwith single variablecan be complementedand applied as input to second level NAND gate. Now using same rule we will convert AND, OR And NOT into NAND gate circuits.Remember function for these gates are already in simplified form.
  • 15. NOT, AND, & OR gates equivalentto NAND gate :
  • 16. E.g. F = (AB+CD) . BC Let us draw logical diagram for this
  • 18. Implementing Logic Circuit Using NOR Gate Only For two level circuit, following step are performed : 1. Simplify function in product of sum form. 2. Apply same step as two level NAND implementation except term for firs level NOR gates are sum terms. 3. Similarly,a single variableterm will need one input NOR gate. NOT, OR & AND gates equivalentto NOR gate: