SlideShare a Scribd company logo
1 of 90
Prof. Vaibhav S. Galbale
Assistant Professor
MIT,ACSC,Alandi,Pune
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Contents:-
Logic gates (NOT, AND, OR, NAND, NOR, XOR gate) with their symbol,
Boolean equation and truth table, Universal gates.
Introduction of CMOS and TTL logic families, Parameters like voltage levels,
propagation delay, noise margin, fan in, fan out, power dissipation (TTL NAND,
inverter, CMOS gates etc. not expected)
Rules and laws of Boolean algebra, De Morgan’s theorem, simplification of
Logic equations using Boolean algebra rules, Min terms, Max terms, Boolean
expression in SOP and POS form, conversion of SOP/POS expression to its
standard SOP/POS form
Introduction to Karnaugh Map, problems based on SOP (upto 4 variables),
digital designing using K Map for: Gray to Binary and Binary to Gray conversion
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Introductions:-
•Logic gates are the basic components in digital electronics. These gates are used
to create digital circuits right from simple to complex logic circuit and even
complex integrated circuits.
•Complex microprocessor or microcontroller ICs are constructed using many logic
gates.
•Logic gates are the fundamental building blocks of all digital systems. It has one
or more inputs and one output with some logical relationship between them. Logic
gate accepts binary signals i.e. True or False, ON or OFF, 1 or 0 and have an
ability to make decisions. The state of the output is decided by the input states.
•All logic gates implements some Boolean function which correlates output with
input through some logical operation.
•Logic gates are mainly designed with the electronic switches using diodes and
transistors.
•There are three basic gates – AND, OR and NOT.
•NAND and NOR gates are derived gates are also known as universal logic gates.
• An XOR gate is inequality detector gate and can be used in comparator, adders,
parity generators etc.
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Introductions:-
•The original ANSI/IEEE distinctive shape symbols and new ANSI/IEEE standard
outline symbols of logic gates are prominently introduced.
• Logic gates are commercially available in two basic logic families, such as IC
74XX series for TTL (Transistor Transistor Logic) and IC 40XX/45XX for CMOS
(Complementary Metal Oxide Semiconductor) series.
•These all logic gates packaged as Small Scale Integration (SSI) ICs.
•Digital systems are constructed using logic gates. The logic gate is the most basic
building block of any digital system capable of making decision including
computers.
•Each one of the basic logic gates is a piece of hardware or an electronic circuit
that can be used to implement some basic logic expression. It is an electronic
circuit with one or many inputs and only one output.
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
NOT gate:
NOT gate has one-input and one-output. It is a logic circuit whose output is
always the complement of the input. Figure indicates the logic symbol and truth
table of NOT gate along with simple implementation using switches.
The NOT gate is popularly known as inverter.
It performs logical inversion or complementation.
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
AND gate :
AND gate is a logic circuit having two or more inputs and one output. The AND
gate performs logical multiplication i.e. AND function. Figure indicates the logic
symbol and truth table of two input AND gate along with simple implementation
using switches.
“The output of an AND gate is HIGH only when all of its inputs are in the
HIGH state. In all other cases, the output is LOW.”
For AND gate, Y = A.B
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
OR Gate :
An OR gate is a logic circuit with two or more inputs and one output.
The OR gate performs logical addition i.e. OR function. Figure shows the logic
symbol and truth table of two input OR gate along with simple implementation
using switches.
“The output of an OR gate is LOW only when all of its inputs are in the LOW
state. In all other cases, the output is HIGH.”
For OR gate, Y = A + B
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
NAND gate:
NAND gate is combination of AND and NOT gates.
The NAND gate provides AND functions with inverted output. Figure shows the
logic symbol and truth table of two input NAND gate along with simple
implementation using switches.
For NAND gate, Y = A.B
“The output of a NAND gate is a logic ‘0’ when all its inputs are a logic ‘1’.
For all other input combinations, the output is a logic ‘1’.”
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
NOR gate:
NOR gate is combination of OR and NOT gates.
The NOR gate provides OR function with inverted output. Figure shows the logic
symbol and truth table of two input NOR gate along with simple implementation
using switches.
For NOR gate, Y = A + B
“The output of a NOR gate is a logic ‘1’ when all its inputs are logic ‘0’. For
all other input combinations, the output is a logic ‘0’.”
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
XOR (Exclusive OR) gate:
Exclusive OR gate is basically designed to exclude the condition of standard OR
gate so as to generate real binary addition. An XOR gate is a two inputs and one
output logic circuit. Figure indicates the logic symbol and truth table of two input
XOR gate along with simple implementation using switches.
For XOR gate, Y = A .B + A .B
“The output of an XOR gate is at logic ‘1’ when the inputs are dissimilar and
at logic ‘0’ when the inputs are similar.”
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
X NOR (Exclusive NOR) gate:
XNOR is obtained by the combination of NOT and XOR gates. XNOR gate is a
two inputs and one output XOR gate with active low output. Figure indicates the
logic symbol and truth table of two input XNOR gate along with simple
implementation using switches.
For X NOR gate, Y = A .B + A .B
“The output of an XNOR gate is at logic ‘1’ when the inputs are similar and
at logic ‘0’ when the inputs are dissimilar.”
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Universal Logic Gates :
Any Boolean / logic expression can be realized using the AND, OR, and NOT
gates.
From these three primary gates, two derived gates NAND and NOR are usually
realized.
It is possible to construct basic gates namely NOT, AND, OR using combination
of NAND gates or a combination of NOR gates .
For this reason NAND and NOR gates are called as universal logic gates.
NAND gate as universal logic gate :
Let us consider now NAND gate as a universal logic gate. Figure shows the
implementation of basic logic gates using only NAND gates.
NAND gate can be used to as NOT gate by connecting all its inputs together and
applying input to the common terminal. The output of NAND gate generates output as
NOT A.
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
NAND gate as universal logic gate :
For constructing AND gate, two NAND gates are required. The first NAND gate
provides complement of A AND B., whereas the second NAND gate acts like an
inverter. The double complement will cancel each other to provide AND gate.
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
NAND gate as universal logic gate :
Three NAND gates are required to construct the OR gate. First level two NAND
gates will act like an inverter. These two inverters will complement the inputs.
The third NAND gate will perform ANDing of the complemented inputs first and
then inverts the result. This provides final output as logical OR functions.
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
NOR gate as universal logic gate :
Let us consider now NOR gate as a universal logic gate.
Figure shows the implementation of basic logic gates using only NOR gates.
A NOR gate can be used to as NOT gate by connecting all its inputs together and
applying input to the common terminal.
The output of NOR gate generates output as NOT A i.e. complement of A.
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
NOR gate as universal logic gate :
The construction of OR gate requires two NOR gates. The first NOR gate provides
complement of A OR B.
Whereas the second NOR gate acts like an inverter. The double complement will
cancel each other to provide action of OR gate.
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
NOR gate as universal logic gate :
Three NOR gates are required to construct the AND gate.
In the first level two NOR gates will act like an inverter. These two inverters will
complement the inputs.
The third NOR gate will perform ORing of the complemented inputs first and then
inverts the result. This provides final output as logical AND functions.
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Introduction of CMOS and TTL logic families:
In today's world Integrated Circuits plays vital role miniaturization of technology.
In IC it is possible to accommodate a number of powerful devices on a single chip.
IC is an assembly of electronic components with miniature devices built up on a
semiconductor substrate. Hence it featured with small size and low cost of IC’s.
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Introduction of CMOS and TTL logic families:
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Classification of logic families:
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Logic Level:-
Logic level is the state of digital signal corresponding to DC voltage that
represent logic 1 or logic 0. Each logic family has a specific range of
voltage that represent logic 1 or logic 0.
Logic
family
TTL MOS CMOS
LOGIC Logic 1 Logic 0 Logic 1 Logic 0 Logic 1 Logic 0
VOLTAGE 2.4v To 5v 0v To 0.4v Supply
Voltage
0v 3v To 18v 0v To 1.5v
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Power Dissipation:
The power dissipation term indicates the amount of power dissipated by
gates for its operation. It is determined by the current Icc that draws from a
supply voltage Vcc. The average power dissipation is given by,
Pd = Vcc X Icc
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
This is the time required for Input to produce the output.
It is characterized by - Rise Time and Fall Time
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Characteristics of TTL Logic Families
The output of a TTL device can serve as an input to a maximum of
10 gates, i.e., the fan-out is 10.
A logic low voltage for a TTL is defined between 0V-0.2V.
A logic high voltage for a TTL is at 5V.
The noise margin is at around 4V.
The propagation delay is about 9ns.
A typical TTL component draws a power of about 11mW.
Advantages of TTL Logic Families
TTL has a strong drive capability.
It is least susceptible to electrical damage.
Requires only one supply voltage (otherwise for CMOS)
Lesser immune to noise when compared to ECL, but more than
CMOS.
Fastest saturation, when compared to other logic families
Low output impedance for all states
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Disadvantages of TTL Logic Families
TTL dissipates a lot of power, thus not making it suitable for battery-
powered devices.
Not recommended in VLSI chips as it requires more space and isolation
Expensive compared to MOSFETs.
Common TTL Logic Ics :-
74 family
74LS (Low-power Schottky) family
74F (Fast) family
74AS (Advanced Schottky) family
74ALS (Advanced Low-power
Schottky) family
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Characteristics of CMOS Logic Families
CMOS supports a very large fan-out, more than 50 transistors.
It has excellent noise immunity amongst all families.
A logic low voltage for CMOS is about 0 volts to 1.5 volts
A logic high voltage for CMOS is somewhere between 3.5V to
5V.
The propagation delay is the worst when compared with TTL and
ECL families at about 200ns.
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Advantages of CMOS Logic Families
Has the highest fan-out, when compared
 with TTL and ECL
Works well over a wide range of temperature
Noise immunity is better than TTL and ECL
Disadvantages of CMOS Logic Families
Average propagation delay is the least in comparison with TTL and
ECL
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Boolean Algebra
Boolean algebra is an algebra for binary number system.
Unlike traditional algebra, Boolean algebra is easy to learn.
It operates only on two numbers 0 & 1.
There are only three operations: addition, multiplication, and
complementation.
The algebra of a number system basically describes how to perform
arithmetic using the operators of the system acting upon the system's
variables.
Boolean algebra describes the arithmetic of a two-state system and is
therefore the mathematical language of digital electronics.
The variables in Boolean algebra are represented by symbols such as A, B,
C, X, Y etc.
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Boolean Algebra
The rules of Boolean algebra are different from those of conventional
algebra in the following aspects:
1. Symbols used in Boolean algebra do not represent numerical values.
2. Arithmetic operations (addition, subtraction, multiplication, division etc.)
are not performed in Boolean Algebra. E.g. 1+1 is not 2.
3. There are no fractions, negative numbers, squares etc.
4. Boolean algebra allows only two possible values (0 and 1) or (L or H) for
any variable.
These variables represent the input and output state (e.g. voltage in a circuit).
These states can be represented by ‘0’ or ‘1’in Boolean algebra.
Figure 1: Binary variables, operations and
functions
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Boolean Algebra
There are three basic operations
‒ Boolean product
‒ Boolean Sum
‒ Boolean complementation
Boolean functions are implemented using combination of these
operations. Addition and multiplication are two basic operations
performed on the binary variables.
Laws of Boolean Algebra
The rules, laws and theorems of Boolean algebra can be used to
simplify many a complex Boolean expression and also to transform
the given expression into a more useful and meaningful equivalent
expression. Similar to real algebra, the Boolean algebra also possess
certain well – defined rules and laws.
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Let us now discuss the most important laws of Boolean algebra.
(I) Identity Law : A term ANDed with a ‘1’ or ORed with ‘0’ equal
to that term.
1. A.1=A [A variable ANDed with 1 is always equal to the variable.].
2. A+0=A [A variable ORed with 0 is equal to the variable.]
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Let us now discuss the most important laws of Boolean algebra.
(II) Null Law : A term ANDed with a ‘0’ equals to 0 or ORed with
‘1’ will equal 1.
3. A.0=0 [A variable ANDed with 0 is always equal to 0.]
4. A+1=1 [A variable ORed with 1 is always equal to 1.]
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Let us now discuss the most important laws of Boolean algebra.
(III) Idempotent Law: An input that is ANDed or ORed with itself
is equal to the input.
5. A.A = A [A variable ANDed with itself is always equal to the variable]
6. A+A =A [A variable ORed with itself is always equal to the variable]
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Let us now discuss the most important laws of Boolean algebra.
(IV) Inverse Law: A term ANDed with its complement equals ‘0’
and a term ORed with its complement equal 1.
7. A.A =0 [A variable ANDed with its complement is always equal to 0]
8. A+A =1 [A variable ORed with its complement is always equal to 1]
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Let us now discuss the most important laws of Boolean algebra.
(V) Double complementation: A term that is complemented twice
is equal to the original term.
9. A = A [ A double complementation of a variable is always equal to the
variable]
(VI) Commutative Law: This law indicates that the order of application of
two separate terms is not important.
10. A.B = B.A [ The order in which two variables are ANDed makes no
difference on the Result.]
11. A+B=B+A [ The order in which two variables are ORed makes no
difference on the Result.]
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Let us now discuss the most important laws of Boolean algebra.
(VII) Associative Law: This law enables the removal of the brackets from the
expression and regrouping of the variables.
12. A.(B.C) = (A.B).C
13. A+(B+C) = (A+B) +C
(VII) Distributive Law: This law allows the multiplying or factoring out an
expression
14. A.(B+C) = A.B +A.C
15. A+(B.C) = (A+B).(B+C)
(VIII) Absorptive Law: This law permits a reduction of a complicated
expression to a simpler one by absorbing similar terms.
16. A.(A+B)=A
17. A+(A.B)=A
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
A+(A.B) = A.A +A.B (distributive law)
= A +AB
= A.(1+B)
= A .1
= A
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
De Morgan’s Theorem:
De Morgan , a mathematician has suggested two theorems which are extremely
useful to simplify complicated boolean expressions.
But before we look at DeMorgan’s Theory in more detail, let’s remind ourselves of
the basic logical operations where A and B are logic (or Boolean) input binary
variables, and whose values can only be either “0” or “1” producing four possible
input combinations, 00, 01, 10, and 11.
Truth Table for Each Logical Operation
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
De Morgan’s First Theorem:
Is state that the complement of the product of variables is equal to the sum of the
complements of each variables.
Thus the equivalent of the NAND function will be a negative-OR function, proving
that A.B = A + B.
We can show this operation using the following table.
=
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
De Morgan’s Second Theorem:
Is state that the complement of the sum of variables is equal to the product of the
complements of variables.
Thus the equivalent of the NAND function will be a negative-OR function, proving
that A+B = A . B
We can show this operation using the following table.
=
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Minterm:
The minterm represent when product of all variable or literal in thee given equation
is in the either complement or without complement. The AND gate is used for making
logic circuit using minterm equation. It is denoted by ‘m’:
Ex. i) ABC ii) ABC iii) ABC
The equation represented by ANDing of variable with or without
complement form.
Maxterm:
The maxterm represent when sum of all variable or literal in thee given equation is in
the either complement or without complement. The OR gate is used for making logic
circuit using maxterm equation. It is denoted by ‘M’:
Ex. i) A+B+C ii) A+B+C iii) A+B+C
The equation represented by ORing of variable with or without
complement form.
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Minterm & Maxterm table for 2 variables :
A B Minterm(m) Maxterm(M)
0 0 m0= A . B M0=A + B
0 1 m1= A .B M0=A+B
1 0 m2= A .B M0=A+B
1 1 m3= A.B M0=A+B
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
The boolean algebra the logical equation can be represented by two forms, i.e. Sum
of Product(SOP) and Product of Sum (POS) by using them any logical
representation can be obtained.
Sum of Product (SOP) :
The sum of product can be obtained when two or more product terms added by using
the addition operator. These product term can b with complement or without
complement form.
Ex. Y= AB+AB
Y= ABC +ABC
Product of Sum(POS) :
The product of sum can be obtained when two or more sum terms multiplied by
using the multiplication or product operator. These product term can b with
complement or without complement form.
Ex. Y= (A+B).(A+B)
Y= (A+B+C).(A+B+C)
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Canonical or Standard SOP and POS form:
The canonical or standard form is a type of form in which each equation if all
variables or literals with or without complement form are present in each
combination.
Suppose if each product terms contains all variable of the equation with their sum
them it is called as canonical or standard SOP form.
Ex. Y= ABC +ABC+ ABC
Similarly, suppose if each sum terms contains all variable of the equation with their
product the it is called as canonical or standard POS form.
Ex. Y= (A+B+C).(A+B+C).(A+B+C)
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
SOP expression to its Standard SOP form:
The SOP form can be obtained when two or more product boolean terms added by
using addition operator. So that there is difference in only SOP and Standard SOP
form as-
Ex. Y= AB+ABC SOP from
Y = ABC + ABC Standard SOP from
The conversion of SOP to standard SOP form can be implemented by using three
step method as –
i) Find the missing variable or literals in each term.
ii) Then AND the term with the term made by ORing the missing variable and its
complement.
iii) Simplify the expression.
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
conversion of SOP expression to its Standard SOP form:
Ex. Convert the expression Y= AC+B C+AB into the standard SOP form.
Sol:- Y= AC+B C+AB
i) Find the missing variable or literals in each term.
Y= AC+B C +AB
B A C (Missing variables)
ii) Then AND the term with the term made by ORing the missing variable and its
complement.
Y= AC(B+B)+B C (A+A)+AB(C+C) {A+A =1}
iii) Simplify the expression.
Y= ABC+ABC+ABC +ABC +ABC+ABC {A+A = A}
Y= ABC+ABC + AB C +A B C Therefore this is in STD SOP form
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
POS expression to its Standard POS form:
The POS form can be obtained when two or more sum boolean terms added by using
multiplication or product operator. So that there is difference in only POS and
Standard POS form as-
Ex. Y= (A+B).(A+B+C) POS from
Y = (A+B+C) . (A+B+C) Standard POS from
The conversion of POS to standard POS form can be implemented by using three
step method as –
i) Find the missing variable or literals in each term.
ii) Then OR the term with the term made by ANDing the missing variable and its
complement.
iii) Simplify the expression.
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
POS expression to its Standard POS form:
Ex. Convert the expression Y= (A+C).(B+C).(A+B) into the standard POS form.
Sol:- Y= (A+C).(B+C).(A+B)
i) Find the missing variable or literals in each term.
Y= (A+C).(B+C).(A+B)
B A C (Missing variables)
ii) Then OR the term with the term made by ANDing the missing variable and its
complement.
Y= (A+C+B.B).(B +C+ A.A)+(A+B+C.C) {A.A =0}
iii) Simplify the expression.
put A+C=X,B+C=Y,A+B=Z into above equation:
Y= (X+B.B).(Y+ A.A)+Z+C.C)
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
POS expression to its Standard POS form:
Ex. Convert the expression Y= (A+C).(B+C).(A+B) into the standard POS form.
iii) Simplify the expression.
put A+C=X,B+C=Y,A+B=Z
Y= (X+B.B).(Y+ A.A)+Z+C.C)
Use, A+BC=(A+B)(A+C) in above equation
Y= (X+B).(X+B).(Y+ A).(Y+A).(Z+C).(Z+C)
Put values of X,Y and Z in above equation:
Y= (A+B+C).(A+B+C).(A+B+C).(A+B+C).(A+B+C).(A+B+C) { A+A=A}
Y= (A+B+C).(A+B+C).(A+B+C).(A+B+C) There for this is STD POS form.
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Introduction to K-Map:
The Karnaugh map or shortly called K-map is the systematic
method of solving a Boolean equation.
It is also a pictorial representation off any logical expression used in
the digital system.
The K-map is combination of rows and columns together called
‘cells’, which depending upon the number of variable used in the
logical equations.
Suppose, A two variable k-map A and B, in these two rows and two
columns used which makes four cells, it has possible four positions
like AB,AB,AB and AB.
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Introduction to K-Map:
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Introduction to K-Map:
In K-map the cell contains binary 0 and 1 where the combination of
variable is present in the equation or not.
For ex. 3 variable k map having equation like-
Y=ABC+AB C+ABC+ABC+A BC, in the k-map put binary 1 where
the combination of variable is present and put binary 0 where there is
no variable combination is present then the k map becomes-
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Pairs, Quads, Octets and Overlapping in K-Map:
In K-map the cell contains binary 0 and 1 where the combination of
variable is present in the equation or not.
1) Pairs: In the K-map if a group of two 1s that are vertically or
horizontally adjacent to each other then it is called as a pair.
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Pairs, Quads, Octets and Overlapping in K-Map:
In K-map the cell contains binary 0 and 1 where the combination of
variable is present in the equation or not.
2) Quad: In the K-map if a group of four 1s that are vertically
or horizontally adjacent to each other then it is called as a Quad.
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Pairs, Quads, Octets and Overlapping in K-Map:
In K-map the cell contains binary 0 and 1 where the combination of
variable is present in the equation or not.
3) Octet: In the K-map if a group of Eight1s that are vertically
or horizontally adjacent to each other then it is called as a Octet.
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Pairs, Quads, Octets and Overlapping in K-Map:
In K-map the cell contains binary 0 and 1 where the combination of
variable is present in the equation or not.
4) Overlapping: In the K-map overlapping group can be form by
overlapping or some time sharing a number of 1s that are
vertically or horizontally adjacent to each other in pairs, quad and
octet then it is called as a Overlapping.
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Problem based on SOP:
The following are various example of k-map for 3 and 4 varibles:
Example1: Minimize the expression
Y= A B C+ A B C+A B C+A B C
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Problem based on SOP:
The following are various example of k-map for 3 and 4 variables:
Example2: Minimize the expression
Y= A B C D+ A B C D+A B C D+A B CD +A B C D+A B C D
+A B C D
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Digital designing using K-map for Binary to Gray and Gray to
Binary Conversion:
The binary to Gray code system is important role in the digital
electronics system, there is a difference of one-bit position in
successive pair , Most of the time there is need of a gray code
sequence of digital system operation and they are having binary input
so there is need of conversion from binary to gray code conversion or
vice versa.
Converting Binary to Gray Code –
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Binary to Gray Convertor:
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Binary to Gray Convertor:
To find the corresponding digital circuit, we will use the K-Map
technique for each of the gray code bits as output with all of the
binary bits as input.
K-map for –g0 K-map for –g1
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Binary to Gray Convertor:
To find the corresponding digital circuit, we will use the K-Map
technique for each of the gray code bits as output with all of the
binary bits as input.
K-map for –g2 K-map for –g3
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Binary to Gray Convertor:
To find the corresponding digital circuit, we will use the K-Map
technique for each of the gray code bits as output with all of the
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Gray to Binary Convertor:
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Gray to Binary Convertor:
Truth table :
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Gray to Binary Convertor:
Using K-map to get back the binary bits from the gray code –
K-map for b0 - K-map for b1-
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Gray to Binary Convertor:
Using K-map to get back the binary bits from the gray code –
K-map for b2 - K-map for b3-
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Gray to Binary Convertor:
Using K-map to get back the binary bits from the gray code –
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune
Gray to Binary Convertor:
Using above equation design logic circuit diagram –
Mr.V.S.Galbale
MIT,ACSC,Alandi,Pune

More Related Content

What's hot

Half adder & full adder
Half adder & full adderHalf adder & full adder
Half adder & full adderGaditek
 
Half adder and full adder
Half adder and full adderHalf adder and full adder
Half adder and full adderSanjuktaBanik
 
sequential circuits
sequential circuitssequential circuits
sequential circuitsUnsa Shakir
 
Combinational circuits
Combinational circuitsCombinational circuits
Combinational circuitsSARITHA REDDY
 
Sequential circuits in Digital Electronics
Sequential circuits in Digital ElectronicsSequential circuits in Digital Electronics
Sequential circuits in Digital ElectronicsVinoth Loganathan
 
Introduction to Half and Full Adder Circuit - Part 01 | Digital Logic Design |
Introduction to Half and Full Adder Circuit - Part 01 | Digital Logic Design |Introduction to Half and Full Adder Circuit - Part 01 | Digital Logic Design |
Introduction to Half and Full Adder Circuit - Part 01 | Digital Logic Design |JalpaMaheshwari1
 
12.Representation of signed binary numbers. Binary codes - BCD code, Gray co...
12.Representation of signed binary numbers.  Binary codes - BCD code, Gray co...12.Representation of signed binary numbers.  Binary codes - BCD code, Gray co...
12.Representation of signed binary numbers. Binary codes - BCD code, Gray co...JatinJatin30
 
Combinational circuits
Combinational circuits Combinational circuits
Combinational circuits DrSonali Vyas
 
Adders(half aders and full adder with explanation , truth table and circuit d...
Adders(half aders and full adder with explanation , truth table and circuit d...Adders(half aders and full adder with explanation , truth table and circuit d...
Adders(half aders and full adder with explanation , truth table and circuit d...DHARUN MUGHILAN
 
BOOLEAN ALGEBRA AND LOGIC GATE
BOOLEAN ALGEBRA AND LOGIC GATE BOOLEAN ALGEBRA AND LOGIC GATE
BOOLEAN ALGEBRA AND LOGIC GATE Tamim Tanvir
 
Sequential Logic Circuit
Sequential Logic CircuitSequential Logic Circuit
Sequential Logic CircuitRamasubbu .P
 

What's hot (20)

Half adder & full adder
Half adder & full adderHalf adder & full adder
Half adder & full adder
 
Half adder and full adder
Half adder and full adderHalf adder and full adder
Half adder and full adder
 
Sequential circuits
Sequential circuitsSequential circuits
Sequential circuits
 
MULTIPLEXER
MULTIPLEXERMULTIPLEXER
MULTIPLEXER
 
sequential circuits
sequential circuitssequential circuits
sequential circuits
 
digital Counter
digital Counterdigital Counter
digital Counter
 
Combinational circuits
Combinational circuitsCombinational circuits
Combinational circuits
 
Sequential circuits in Digital Electronics
Sequential circuits in Digital ElectronicsSequential circuits in Digital Electronics
Sequential circuits in Digital Electronics
 
Basic logic gates
Basic logic gatesBasic logic gates
Basic logic gates
 
Lecture 01 dld 2018
Lecture 01 dld  2018Lecture 01 dld  2018
Lecture 01 dld 2018
 
Subtractor
SubtractorSubtractor
Subtractor
 
Adder ppt
Adder pptAdder ppt
Adder ppt
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Introduction to Half and Full Adder Circuit - Part 01 | Digital Logic Design |
Introduction to Half and Full Adder Circuit - Part 01 | Digital Logic Design |Introduction to Half and Full Adder Circuit - Part 01 | Digital Logic Design |
Introduction to Half and Full Adder Circuit - Part 01 | Digital Logic Design |
 
Boolean algebra & logic gates
Boolean algebra & logic gatesBoolean algebra & logic gates
Boolean algebra & logic gates
 
12.Representation of signed binary numbers. Binary codes - BCD code, Gray co...
12.Representation of signed binary numbers.  Binary codes - BCD code, Gray co...12.Representation of signed binary numbers.  Binary codes - BCD code, Gray co...
12.Representation of signed binary numbers. Binary codes - BCD code, Gray co...
 
Combinational circuits
Combinational circuits Combinational circuits
Combinational circuits
 
Adders(half aders and full adder with explanation , truth table and circuit d...
Adders(half aders and full adder with explanation , truth table and circuit d...Adders(half aders and full adder with explanation , truth table and circuit d...
Adders(half aders and full adder with explanation , truth table and circuit d...
 
BOOLEAN ALGEBRA AND LOGIC GATE
BOOLEAN ALGEBRA AND LOGIC GATE BOOLEAN ALGEBRA AND LOGIC GATE
BOOLEAN ALGEBRA AND LOGIC GATE
 
Sequential Logic Circuit
Sequential Logic CircuitSequential Logic Circuit
Sequential Logic Circuit
 

Similar to Logic gates and Boolean Algebra_VSG

Basic logic gates and buffers
Basic logic gates and buffersBasic logic gates and buffers
Basic logic gates and buffersEdmund Merren
 
Basic Logic Gates with Truth Tables.pdf
Basic Logic Gates with Truth Tables.pdfBasic Logic Gates with Truth Tables.pdf
Basic Logic Gates with Truth Tables.pdfKINGZzofYouTube
 
Logic gate implementing without using ICs by Nimay Giri
Logic gate implementing without using ICs by Nimay GiriLogic gate implementing without using ICs by Nimay Giri
Logic gate implementing without using ICs by Nimay Girinimay1
 
integrated circutits -324567654-12-345-.pptx
integrated circutits -324567654-12-345-.pptxintegrated circutits -324567654-12-345-.pptx
integrated circutits -324567654-12-345-.pptxFermanIbrahim
 
Boolean Algebra- Digital Logic gates
Boolean Algebra- Digital Logic gatesBoolean Algebra- Digital Logic gates
Boolean Algebra- Digital Logic gatesNTBsnull
 
Basic gates and functions
Basic gates and functionsBasic gates and functions
Basic gates and functionspong_sk1
 
assignment_mathematics.pptx
assignment_mathematics.pptxassignment_mathematics.pptx
assignment_mathematics.pptxAravindaAKumar1
 
11_Fundamentals_of_Digital_Electronics_L.pptx
11_Fundamentals_of_Digital_Electronics_L.pptx11_Fundamentals_of_Digital_Electronics_L.pptx
11_Fundamentals_of_Digital_Electronics_L.pptxElisée Ndjabu
 
Lecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptxLecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptxWilliamJosephat1
 
Presentation On Logic Gate
Presentation On Logic Gate Presentation On Logic Gate
Presentation On Logic Gate Nazrul Islam
 

Similar to Logic gates and Boolean Algebra_VSG (20)

Logic Gates.pptx
Logic Gates.pptxLogic Gates.pptx
Logic Gates.pptx
 
Basic logic gates and buffers
Basic logic gates and buffersBasic logic gates and buffers
Basic logic gates and buffers
 
Basic Logic Gates with Truth Tables.pdf
Basic Logic Gates with Truth Tables.pdfBasic Logic Gates with Truth Tables.pdf
Basic Logic Gates with Truth Tables.pdf
 
Logic gate implementing without using ICs by Nimay Giri
Logic gate implementing without using ICs by Nimay GiriLogic gate implementing without using ICs by Nimay Giri
Logic gate implementing without using ICs by Nimay Giri
 
Edc
EdcEdc
Edc
 
Chapter 3.pptx
Chapter 3.pptxChapter 3.pptx
Chapter 3.pptx
 
integrated circutits -324567654-12-345-.pptx
integrated circutits -324567654-12-345-.pptxintegrated circutits -324567654-12-345-.pptx
integrated circutits -324567654-12-345-.pptx
 
ECAD lab manual
ECAD lab manualECAD lab manual
ECAD lab manual
 
Boolean Algebra- Digital Logic gates
Boolean Algebra- Digital Logic gatesBoolean Algebra- Digital Logic gates
Boolean Algebra- Digital Logic gates
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Deld lab manual
Deld lab manualDeld lab manual
Deld lab manual
 
2th year iv sem de lab manual
2th year iv sem de lab manual2th year iv sem de lab manual
2th year iv sem de lab manual
 
Basic gates and functions
Basic gates and functionsBasic gates and functions
Basic gates and functions
 
Pdc 2 mark
Pdc   2 markPdc   2 mark
Pdc 2 mark
 
assignment_mathematics.pptx
assignment_mathematics.pptxassignment_mathematics.pptx
assignment_mathematics.pptx
 
Logic gates
Logic gatesLogic gates
Logic gates
 
VLSI & E-CAD Lab Manual
VLSI & E-CAD Lab ManualVLSI & E-CAD Lab Manual
VLSI & E-CAD Lab Manual
 
11_Fundamentals_of_Digital_Electronics_L.pptx
11_Fundamentals_of_Digital_Electronics_L.pptx11_Fundamentals_of_Digital_Electronics_L.pptx
11_Fundamentals_of_Digital_Electronics_L.pptx
 
Lecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptxLecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptx
 
Presentation On Logic Gate
Presentation On Logic Gate Presentation On Logic Gate
Presentation On Logic Gate
 

Recently uploaded

Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 

Recently uploaded (20)

Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 

Logic gates and Boolean Algebra_VSG

  • 1. Prof. Vaibhav S. Galbale Assistant Professor MIT,ACSC,Alandi,Pune
  • 2. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune Contents:- Logic gates (NOT, AND, OR, NAND, NOR, XOR gate) with their symbol, Boolean equation and truth table, Universal gates. Introduction of CMOS and TTL logic families, Parameters like voltage levels, propagation delay, noise margin, fan in, fan out, power dissipation (TTL NAND, inverter, CMOS gates etc. not expected) Rules and laws of Boolean algebra, De Morgan’s theorem, simplification of Logic equations using Boolean algebra rules, Min terms, Max terms, Boolean expression in SOP and POS form, conversion of SOP/POS expression to its standard SOP/POS form Introduction to Karnaugh Map, problems based on SOP (upto 4 variables), digital designing using K Map for: Gray to Binary and Binary to Gray conversion
  • 3. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune Introductions:- •Logic gates are the basic components in digital electronics. These gates are used to create digital circuits right from simple to complex logic circuit and even complex integrated circuits. •Complex microprocessor or microcontroller ICs are constructed using many logic gates. •Logic gates are the fundamental building blocks of all digital systems. It has one or more inputs and one output with some logical relationship between them. Logic gate accepts binary signals i.e. True or False, ON or OFF, 1 or 0 and have an ability to make decisions. The state of the output is decided by the input states. •All logic gates implements some Boolean function which correlates output with input through some logical operation. •Logic gates are mainly designed with the electronic switches using diodes and transistors. •There are three basic gates – AND, OR and NOT. •NAND and NOR gates are derived gates are also known as universal logic gates. • An XOR gate is inequality detector gate and can be used in comparator, adders, parity generators etc.
  • 4. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune Introductions:- •The original ANSI/IEEE distinctive shape symbols and new ANSI/IEEE standard outline symbols of logic gates are prominently introduced. • Logic gates are commercially available in two basic logic families, such as IC 74XX series for TTL (Transistor Transistor Logic) and IC 40XX/45XX for CMOS (Complementary Metal Oxide Semiconductor) series. •These all logic gates packaged as Small Scale Integration (SSI) ICs. •Digital systems are constructed using logic gates. The logic gate is the most basic building block of any digital system capable of making decision including computers. •Each one of the basic logic gates is a piece of hardware or an electronic circuit that can be used to implement some basic logic expression. It is an electronic circuit with one or many inputs and only one output.
  • 5. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune NOT gate: NOT gate has one-input and one-output. It is a logic circuit whose output is always the complement of the input. Figure indicates the logic symbol and truth table of NOT gate along with simple implementation using switches. The NOT gate is popularly known as inverter. It performs logical inversion or complementation.
  • 6. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune AND gate : AND gate is a logic circuit having two or more inputs and one output. The AND gate performs logical multiplication i.e. AND function. Figure indicates the logic symbol and truth table of two input AND gate along with simple implementation using switches. “The output of an AND gate is HIGH only when all of its inputs are in the HIGH state. In all other cases, the output is LOW.” For AND gate, Y = A.B
  • 7. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune OR Gate : An OR gate is a logic circuit with two or more inputs and one output. The OR gate performs logical addition i.e. OR function. Figure shows the logic symbol and truth table of two input OR gate along with simple implementation using switches. “The output of an OR gate is LOW only when all of its inputs are in the LOW state. In all other cases, the output is HIGH.” For OR gate, Y = A + B
  • 8. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune NAND gate: NAND gate is combination of AND and NOT gates. The NAND gate provides AND functions with inverted output. Figure shows the logic symbol and truth table of two input NAND gate along with simple implementation using switches. For NAND gate, Y = A.B “The output of a NAND gate is a logic ‘0’ when all its inputs are a logic ‘1’. For all other input combinations, the output is a logic ‘1’.”
  • 9. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune NOR gate: NOR gate is combination of OR and NOT gates. The NOR gate provides OR function with inverted output. Figure shows the logic symbol and truth table of two input NOR gate along with simple implementation using switches. For NOR gate, Y = A + B “The output of a NOR gate is a logic ‘1’ when all its inputs are logic ‘0’. For all other input combinations, the output is a logic ‘0’.”
  • 10. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune XOR (Exclusive OR) gate: Exclusive OR gate is basically designed to exclude the condition of standard OR gate so as to generate real binary addition. An XOR gate is a two inputs and one output logic circuit. Figure indicates the logic symbol and truth table of two input XOR gate along with simple implementation using switches. For XOR gate, Y = A .B + A .B “The output of an XOR gate is at logic ‘1’ when the inputs are dissimilar and at logic ‘0’ when the inputs are similar.”
  • 11. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune X NOR (Exclusive NOR) gate: XNOR is obtained by the combination of NOT and XOR gates. XNOR gate is a two inputs and one output XOR gate with active low output. Figure indicates the logic symbol and truth table of two input XNOR gate along with simple implementation using switches. For X NOR gate, Y = A .B + A .B “The output of an XNOR gate is at logic ‘1’ when the inputs are similar and at logic ‘0’ when the inputs are dissimilar.”
  • 12. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune Universal Logic Gates : Any Boolean / logic expression can be realized using the AND, OR, and NOT gates. From these three primary gates, two derived gates NAND and NOR are usually realized. It is possible to construct basic gates namely NOT, AND, OR using combination of NAND gates or a combination of NOR gates . For this reason NAND and NOR gates are called as universal logic gates. NAND gate as universal logic gate : Let us consider now NAND gate as a universal logic gate. Figure shows the implementation of basic logic gates using only NAND gates. NAND gate can be used to as NOT gate by connecting all its inputs together and applying input to the common terminal. The output of NAND gate generates output as NOT A.
  • 13. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune NAND gate as universal logic gate : For constructing AND gate, two NAND gates are required. The first NAND gate provides complement of A AND B., whereas the second NAND gate acts like an inverter. The double complement will cancel each other to provide AND gate.
  • 14. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune NAND gate as universal logic gate : Three NAND gates are required to construct the OR gate. First level two NAND gates will act like an inverter. These two inverters will complement the inputs. The third NAND gate will perform ANDing of the complemented inputs first and then inverts the result. This provides final output as logical OR functions.
  • 15. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune NOR gate as universal logic gate : Let us consider now NOR gate as a universal logic gate. Figure shows the implementation of basic logic gates using only NOR gates. A NOR gate can be used to as NOT gate by connecting all its inputs together and applying input to the common terminal. The output of NOR gate generates output as NOT A i.e. complement of A.
  • 16. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune NOR gate as universal logic gate : The construction of OR gate requires two NOR gates. The first NOR gate provides complement of A OR B. Whereas the second NOR gate acts like an inverter. The double complement will cancel each other to provide action of OR gate.
  • 17. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune NOR gate as universal logic gate : Three NOR gates are required to construct the AND gate. In the first level two NOR gates will act like an inverter. These two inverters will complement the inputs. The third NOR gate will perform ORing of the complemented inputs first and then inverts the result. This provides final output as logical AND functions.
  • 18. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune Introduction of CMOS and TTL logic families: In today's world Integrated Circuits plays vital role miniaturization of technology. In IC it is possible to accommodate a number of powerful devices on a single chip. IC is an assembly of electronic components with miniature devices built up on a semiconductor substrate. Hence it featured with small size and low cost of IC’s.
  • 26. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune Logic Level:- Logic level is the state of digital signal corresponding to DC voltage that represent logic 1 or logic 0. Each logic family has a specific range of voltage that represent logic 1 or logic 0. Logic family TTL MOS CMOS LOGIC Logic 1 Logic 0 Logic 1 Logic 0 Logic 1 Logic 0 VOLTAGE 2.4v To 5v 0v To 0.4v Supply Voltage 0v 3v To 18v 0v To 1.5v
  • 32. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune Power Dissipation: The power dissipation term indicates the amount of power dissipated by gates for its operation. It is determined by the current Icc that draws from a supply voltage Vcc. The average power dissipation is given by, Pd = Vcc X Icc
  • 33. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune This is the time required for Input to produce the output. It is characterized by - Rise Time and Fall Time
  • 39. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune Characteristics of TTL Logic Families The output of a TTL device can serve as an input to a maximum of 10 gates, i.e., the fan-out is 10. A logic low voltage for a TTL is defined between 0V-0.2V. A logic high voltage for a TTL is at 5V. The noise margin is at around 4V. The propagation delay is about 9ns. A typical TTL component draws a power of about 11mW. Advantages of TTL Logic Families TTL has a strong drive capability. It is least susceptible to electrical damage. Requires only one supply voltage (otherwise for CMOS) Lesser immune to noise when compared to ECL, but more than CMOS. Fastest saturation, when compared to other logic families Low output impedance for all states
  • 40. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune Disadvantages of TTL Logic Families TTL dissipates a lot of power, thus not making it suitable for battery- powered devices. Not recommended in VLSI chips as it requires more space and isolation Expensive compared to MOSFETs. Common TTL Logic Ics :- 74 family 74LS (Low-power Schottky) family 74F (Fast) family 74AS (Advanced Schottky) family 74ALS (Advanced Low-power Schottky) family
  • 41. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune Characteristics of CMOS Logic Families CMOS supports a very large fan-out, more than 50 transistors. It has excellent noise immunity amongst all families. A logic low voltage for CMOS is about 0 volts to 1.5 volts A logic high voltage for CMOS is somewhere between 3.5V to 5V. The propagation delay is the worst when compared with TTL and ECL families at about 200ns.
  • 42. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune Advantages of CMOS Logic Families Has the highest fan-out, when compared  with TTL and ECL Works well over a wide range of temperature Noise immunity is better than TTL and ECL Disadvantages of CMOS Logic Families Average propagation delay is the least in comparison with TTL and ECL
  • 43. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune Boolean Algebra Boolean algebra is an algebra for binary number system. Unlike traditional algebra, Boolean algebra is easy to learn. It operates only on two numbers 0 & 1. There are only three operations: addition, multiplication, and complementation. The algebra of a number system basically describes how to perform arithmetic using the operators of the system acting upon the system's variables. Boolean algebra describes the arithmetic of a two-state system and is therefore the mathematical language of digital electronics. The variables in Boolean algebra are represented by symbols such as A, B, C, X, Y etc.
  • 44. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune Boolean Algebra The rules of Boolean algebra are different from those of conventional algebra in the following aspects: 1. Symbols used in Boolean algebra do not represent numerical values. 2. Arithmetic operations (addition, subtraction, multiplication, division etc.) are not performed in Boolean Algebra. E.g. 1+1 is not 2. 3. There are no fractions, negative numbers, squares etc. 4. Boolean algebra allows only two possible values (0 and 1) or (L or H) for any variable. These variables represent the input and output state (e.g. voltage in a circuit). These states can be represented by ‘0’ or ‘1’in Boolean algebra. Figure 1: Binary variables, operations and functions
  • 45. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune Boolean Algebra There are three basic operations ‒ Boolean product ‒ Boolean Sum ‒ Boolean complementation Boolean functions are implemented using combination of these operations. Addition and multiplication are two basic operations performed on the binary variables. Laws of Boolean Algebra The rules, laws and theorems of Boolean algebra can be used to simplify many a complex Boolean expression and also to transform the given expression into a more useful and meaningful equivalent expression. Similar to real algebra, the Boolean algebra also possess certain well – defined rules and laws.
  • 46. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune Let us now discuss the most important laws of Boolean algebra. (I) Identity Law : A term ANDed with a ‘1’ or ORed with ‘0’ equal to that term. 1. A.1=A [A variable ANDed with 1 is always equal to the variable.]. 2. A+0=A [A variable ORed with 0 is equal to the variable.]
  • 47. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune Let us now discuss the most important laws of Boolean algebra. (II) Null Law : A term ANDed with a ‘0’ equals to 0 or ORed with ‘1’ will equal 1. 3. A.0=0 [A variable ANDed with 0 is always equal to 0.] 4. A+1=1 [A variable ORed with 1 is always equal to 1.]
  • 48. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune Let us now discuss the most important laws of Boolean algebra. (III) Idempotent Law: An input that is ANDed or ORed with itself is equal to the input. 5. A.A = A [A variable ANDed with itself is always equal to the variable] 6. A+A =A [A variable ORed with itself is always equal to the variable]
  • 49. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune Let us now discuss the most important laws of Boolean algebra. (IV) Inverse Law: A term ANDed with its complement equals ‘0’ and a term ORed with its complement equal 1. 7. A.A =0 [A variable ANDed with its complement is always equal to 0] 8. A+A =1 [A variable ORed with its complement is always equal to 1]
  • 50. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune Let us now discuss the most important laws of Boolean algebra. (V) Double complementation: A term that is complemented twice is equal to the original term. 9. A = A [ A double complementation of a variable is always equal to the variable] (VI) Commutative Law: This law indicates that the order of application of two separate terms is not important. 10. A.B = B.A [ The order in which two variables are ANDed makes no difference on the Result.] 11. A+B=B+A [ The order in which two variables are ORed makes no difference on the Result.]
  • 51. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune Let us now discuss the most important laws of Boolean algebra. (VII) Associative Law: This law enables the removal of the brackets from the expression and regrouping of the variables. 12. A.(B.C) = (A.B).C 13. A+(B+C) = (A+B) +C (VII) Distributive Law: This law allows the multiplying or factoring out an expression 14. A.(B+C) = A.B +A.C 15. A+(B.C) = (A+B).(B+C) (VIII) Absorptive Law: This law permits a reduction of a complicated expression to a simpler one by absorbing similar terms. 16. A.(A+B)=A 17. A+(A.B)=A
  • 54. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune A+(A.B) = A.A +A.B (distributive law) = A +AB = A.(1+B) = A .1 = A
  • 57. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune De Morgan’s Theorem: De Morgan , a mathematician has suggested two theorems which are extremely useful to simplify complicated boolean expressions. But before we look at DeMorgan’s Theory in more detail, let’s remind ourselves of the basic logical operations where A and B are logic (or Boolean) input binary variables, and whose values can only be either “0” or “1” producing four possible input combinations, 00, 01, 10, and 11. Truth Table for Each Logical Operation
  • 58. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune De Morgan’s First Theorem: Is state that the complement of the product of variables is equal to the sum of the complements of each variables. Thus the equivalent of the NAND function will be a negative-OR function, proving that A.B = A + B. We can show this operation using the following table. =
  • 59. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune De Morgan’s Second Theorem: Is state that the complement of the sum of variables is equal to the product of the complements of variables. Thus the equivalent of the NAND function will be a negative-OR function, proving that A+B = A . B We can show this operation using the following table. =
  • 61. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune Minterm: The minterm represent when product of all variable or literal in thee given equation is in the either complement or without complement. The AND gate is used for making logic circuit using minterm equation. It is denoted by ‘m’: Ex. i) ABC ii) ABC iii) ABC The equation represented by ANDing of variable with or without complement form. Maxterm: The maxterm represent when sum of all variable or literal in thee given equation is in the either complement or without complement. The OR gate is used for making logic circuit using maxterm equation. It is denoted by ‘M’: Ex. i) A+B+C ii) A+B+C iii) A+B+C The equation represented by ORing of variable with or without complement form.
  • 62. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune Minterm & Maxterm table for 2 variables : A B Minterm(m) Maxterm(M) 0 0 m0= A . B M0=A + B 0 1 m1= A .B M0=A+B 1 0 m2= A .B M0=A+B 1 1 m3= A.B M0=A+B
  • 63. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune The boolean algebra the logical equation can be represented by two forms, i.e. Sum of Product(SOP) and Product of Sum (POS) by using them any logical representation can be obtained. Sum of Product (SOP) : The sum of product can be obtained when two or more product terms added by using the addition operator. These product term can b with complement or without complement form. Ex. Y= AB+AB Y= ABC +ABC Product of Sum(POS) : The product of sum can be obtained when two or more sum terms multiplied by using the multiplication or product operator. These product term can b with complement or without complement form. Ex. Y= (A+B).(A+B) Y= (A+B+C).(A+B+C)
  • 64. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune Canonical or Standard SOP and POS form: The canonical or standard form is a type of form in which each equation if all variables or literals with or without complement form are present in each combination. Suppose if each product terms contains all variable of the equation with their sum them it is called as canonical or standard SOP form. Ex. Y= ABC +ABC+ ABC Similarly, suppose if each sum terms contains all variable of the equation with their product the it is called as canonical or standard POS form. Ex. Y= (A+B+C).(A+B+C).(A+B+C)
  • 65. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune SOP expression to its Standard SOP form: The SOP form can be obtained when two or more product boolean terms added by using addition operator. So that there is difference in only SOP and Standard SOP form as- Ex. Y= AB+ABC SOP from Y = ABC + ABC Standard SOP from The conversion of SOP to standard SOP form can be implemented by using three step method as – i) Find the missing variable or literals in each term. ii) Then AND the term with the term made by ORing the missing variable and its complement. iii) Simplify the expression.
  • 66. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune conversion of SOP expression to its Standard SOP form: Ex. Convert the expression Y= AC+B C+AB into the standard SOP form. Sol:- Y= AC+B C+AB i) Find the missing variable or literals in each term. Y= AC+B C +AB B A C (Missing variables) ii) Then AND the term with the term made by ORing the missing variable and its complement. Y= AC(B+B)+B C (A+A)+AB(C+C) {A+A =1} iii) Simplify the expression. Y= ABC+ABC+ABC +ABC +ABC+ABC {A+A = A} Y= ABC+ABC + AB C +A B C Therefore this is in STD SOP form
  • 67. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune POS expression to its Standard POS form: The POS form can be obtained when two or more sum boolean terms added by using multiplication or product operator. So that there is difference in only POS and Standard POS form as- Ex. Y= (A+B).(A+B+C) POS from Y = (A+B+C) . (A+B+C) Standard POS from The conversion of POS to standard POS form can be implemented by using three step method as – i) Find the missing variable or literals in each term. ii) Then OR the term with the term made by ANDing the missing variable and its complement. iii) Simplify the expression.
  • 68. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune POS expression to its Standard POS form: Ex. Convert the expression Y= (A+C).(B+C).(A+B) into the standard POS form. Sol:- Y= (A+C).(B+C).(A+B) i) Find the missing variable or literals in each term. Y= (A+C).(B+C).(A+B) B A C (Missing variables) ii) Then OR the term with the term made by ANDing the missing variable and its complement. Y= (A+C+B.B).(B +C+ A.A)+(A+B+C.C) {A.A =0} iii) Simplify the expression. put A+C=X,B+C=Y,A+B=Z into above equation: Y= (X+B.B).(Y+ A.A)+Z+C.C)
  • 69. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune POS expression to its Standard POS form: Ex. Convert the expression Y= (A+C).(B+C).(A+B) into the standard POS form. iii) Simplify the expression. put A+C=X,B+C=Y,A+B=Z Y= (X+B.B).(Y+ A.A)+Z+C.C) Use, A+BC=(A+B)(A+C) in above equation Y= (X+B).(X+B).(Y+ A).(Y+A).(Z+C).(Z+C) Put values of X,Y and Z in above equation: Y= (A+B+C).(A+B+C).(A+B+C).(A+B+C).(A+B+C).(A+B+C) { A+A=A} Y= (A+B+C).(A+B+C).(A+B+C).(A+B+C) There for this is STD POS form.
  • 70. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune Introduction to K-Map: The Karnaugh map or shortly called K-map is the systematic method of solving a Boolean equation. It is also a pictorial representation off any logical expression used in the digital system. The K-map is combination of rows and columns together called ‘cells’, which depending upon the number of variable used in the logical equations. Suppose, A two variable k-map A and B, in these two rows and two columns used which makes four cells, it has possible four positions like AB,AB,AB and AB.
  • 72. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune Introduction to K-Map: In K-map the cell contains binary 0 and 1 where the combination of variable is present in the equation or not. For ex. 3 variable k map having equation like- Y=ABC+AB C+ABC+ABC+A BC, in the k-map put binary 1 where the combination of variable is present and put binary 0 where there is no variable combination is present then the k map becomes-
  • 73. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune Pairs, Quads, Octets and Overlapping in K-Map: In K-map the cell contains binary 0 and 1 where the combination of variable is present in the equation or not. 1) Pairs: In the K-map if a group of two 1s that are vertically or horizontally adjacent to each other then it is called as a pair.
  • 74. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune Pairs, Quads, Octets and Overlapping in K-Map: In K-map the cell contains binary 0 and 1 where the combination of variable is present in the equation or not. 2) Quad: In the K-map if a group of four 1s that are vertically or horizontally adjacent to each other then it is called as a Quad.
  • 75. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune Pairs, Quads, Octets and Overlapping in K-Map: In K-map the cell contains binary 0 and 1 where the combination of variable is present in the equation or not. 3) Octet: In the K-map if a group of Eight1s that are vertically or horizontally adjacent to each other then it is called as a Octet.
  • 76. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune Pairs, Quads, Octets and Overlapping in K-Map: In K-map the cell contains binary 0 and 1 where the combination of variable is present in the equation or not. 4) Overlapping: In the K-map overlapping group can be form by overlapping or some time sharing a number of 1s that are vertically or horizontally adjacent to each other in pairs, quad and octet then it is called as a Overlapping.
  • 77. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune Problem based on SOP: The following are various example of k-map for 3 and 4 varibles: Example1: Minimize the expression Y= A B C+ A B C+A B C+A B C
  • 78. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune Problem based on SOP: The following are various example of k-map for 3 and 4 variables: Example2: Minimize the expression Y= A B C D+ A B C D+A B C D+A B CD +A B C D+A B C D +A B C D
  • 79. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune Digital designing using K-map for Binary to Gray and Gray to Binary Conversion: The binary to Gray code system is important role in the digital electronics system, there is a difference of one-bit position in successive pair , Most of the time there is need of a gray code sequence of digital system operation and they are having binary input so there is need of conversion from binary to gray code conversion or vice versa. Converting Binary to Gray Code –
  • 81. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune Binary to Gray Convertor: To find the corresponding digital circuit, we will use the K-Map technique for each of the gray code bits as output with all of the binary bits as input. K-map for –g0 K-map for –g1
  • 82. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune Binary to Gray Convertor: To find the corresponding digital circuit, we will use the K-Map technique for each of the gray code bits as output with all of the binary bits as input. K-map for –g2 K-map for –g3
  • 83. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune Binary to Gray Convertor: To find the corresponding digital circuit, we will use the K-Map technique for each of the gray code bits as output with all of the
  • 86. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune Gray to Binary Convertor: Using K-map to get back the binary bits from the gray code – K-map for b0 - K-map for b1-
  • 87. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune Gray to Binary Convertor: Using K-map to get back the binary bits from the gray code – K-map for b2 - K-map for b3-
  • 88. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune Gray to Binary Convertor: Using K-map to get back the binary bits from the gray code –
  • 89. Mr.V.S.Galbale MIT,ACSC,Alandi,Pune Gray to Binary Convertor: Using above equation design logic circuit diagram –