DLD Unit 2 (Spaces)
DLD Unit 2 (Spaces)
The basic functions are implemented using electronic devices called “gates”.
AND Gate:
In the AND gate, the output of an AND gate attains state 1 if and only if all the inputs
are in state 1.
P.S.GAJAPATHIRAJU@SPACES
DIGITAL LOGIC DESIGN SPACES DEGREE COLLEGE
OR Gate:
In an OR gate, the output of an OR gate attains state 1 if one or more inputs attain
state 1.
NOT Gate:
In a NOT gate, the output of a NOT gate attains state 1 if and only if the input does
not attain state 1.
P.S.GAJAPATHIRAJU@SPACES
DIGITAL LOGIC DESIGN SPACES DEGREE COLLEGE
When connected in various combinations, the three gates (OR, AND and NOT) give
us basic logic gates, such as NAND and NOR gates, which are the universal building
blocks of digital circuits.
NAND Gate:
This basic logic gate is the combination of AND and NOT gates.
NOR Gate:
The Boolean expression of the NOR gate is . The truth table of a NOR
gate is as follows.
P.S.GAJAPATHIRAJU@SPACES
DIGITAL LOGIC DESIGN SPACES DEGREE COLLEGE
P.S.GAJAPATHIRAJU@SPACES
DIGITAL LOGIC DESIGN SPACES DEGREE COLLEGE
P.S.GAJAPATHIRAJU@SPACES
DIGITAL LOGIC DESIGN SPACES DEGREE COLLEGE
P.S.GAJAPATHIRAJU@SPACES
DIGITAL LOGIC DESIGN SPACES DEGREE COLLEGE
De Morgan’s Theorem:
The first theorem – It states that the NAND gate is equivalent to a bubbled OR gate.
The second theorem – It states that the NOR gate is equivalent to a bubbled AND gate.
Important Conversions:
1) The ‘NAND’ gate: From ‘AND’ and ‘NOT’ gates.
P.S.GAJAPATHIRAJU@SPACES
DIGITAL LOGIC DESIGN SPACES DEGREE COLLEGE
P.S.GAJAPATHIRAJU@SPACES
DIGITAL LOGIC DESIGN SPACES DEGREE COLLEGE
P.S.GAJAPATHIRAJU@SPACES
DIGITAL LOGIC DESIGN SPACES DEGREE COLLEGE
P.S.GAJAPATHIRAJU@SPACES
DIGITAL LOGIC DESIGN SPACES DEGREE COLLEGE
a) Using NAND Gates: The AND gate can be implemented by using two NAND
gates in the below
b) Using NOR Gates: Implementation of AND gate using only NOR gates as shown
below:
P.S.GAJAPATHIRAJU@SPACES
DIGITAL LOGIC DESIGN SPACES DEGREE COLLEGE
Implementation of OR gate using two NOR gates as shown in the picture below:
P.S.GAJAPATHIRAJU@SPACES
DIGITAL LOGIC DESIGN SPACES DEGREE COLLEGE
P.S.GAJAPATHIRAJU@SPACES
DIGITAL LOGIC DESIGN SPACES DEGREE COLLEGE
7.
P.S.GAJAPATHIRAJU@SPACES
DIGITAL LOGIC DESIGN SPACES DEGREE COLLEGE
In Minterm, we look for the functions where the output results in “1” while in
Maxterm we look for functions where the output results in “0”.
We perform the Sum of Minterm also known as the Sum of products (SOP).
We perform Product of Maxterm also known as Product of sum (POS). Boolean
functions expressed as a sum of minterms or product of maxterms are said to be in
canonical form.
P.S.GAJAPATHIRAJU@SPACES
DIGITAL LOGIC DESIGN SPACES DEGREE COLLEGE
Karnaugh map:
The Karnaugh map, also known as the K-map, is a method to simplify boolean
algebra expressions. Maurice Karnaugh introduced it in 1953. A Karnaugh map (K-
map) is a visual method used to simplify the algebraic expressions
in Boolean functions without having to resort to complex theorems or equation
manipulations.
A Karnaugh map is a visual display of the fundamental products needed for a sum-of-
products solution. For instance, here is how to convert table into its Karnaugh map.
There are four minterms for two variables; hence, the map consists of four squares,
one for each minterm. The map is to show the relationship between the squares and
the two variables x and y . The 0 and 1 marked in each row and column designate the
values of variables. Variable x appears primed in row 0 and unprimed in row 1.
Similarly, y appears primed in column 0 and unprimed in column 1.
P.S.GAJAPATHIRAJU@SPACES
DIGITAL LOGIC DESIGN SPACES DEGREE COLLEGE
P.S.GAJAPATHIRAJU@SPACES
DIGITAL LOGIC DESIGN SPACES DEGREE COLLEGE
The sum of four minterms can be replaced by a sum of only two product terms. The
logical sum of these two product terms gives the simplified expression F= xy + xy.
P.S.GAJAPATHIRAJU@SPACES
DIGITAL LOGIC DESIGN SPACES DEGREE COLLEGE
P.S.GAJAPATHIRAJU@SPACES
DIGITAL LOGIC DESIGN SPACES DEGREE COLLEGE
Essential Prime Implicants: These are those subcubes(groups) that cover at least one
minterm that cannot be covered by any other prime implicants.(If a minterm in a
square is covered by only one prime implicant, that prime implicant)
P.S.GAJAPATHIRAJU@SPACES
DIGITAL LOGIC DESIGN SPACES DEGREE COLLEGE
P.S.GAJAPATHIRAJU@SPACES
DIGITAL LOGIC DESIGN SPACES DEGREE COLLEGE
don’t care condition makes the grouping of variables in K-map easy. In this tutorial,
we will understand the "don’t care" concept in K-map reduction with the help of
solved examples.
These input combinations for which the values of the Boolean function are not
specified are called don’t care combinations.
P.S.GAJAPATHIRAJU@SPACES