SlideShare ist ein Scribd-Unternehmen logo
1 von 24
COMPUTER ORGANISATION AND
ARCHITECTURE
Logic Gates
• The logic gates are the main structural part of a digital system.
• A logic gate is a device that acts as a building block for digital circuits.
They perform basic logical functions that are fundamental to digital circuits.
• Most electronic devices we use today will have some form of logic gates in
them. For example, logic gates can be used in technologies such as
smartphones, tablets or within memory devices.
• In a circuit, logic gates will make decisions based on a combination of
digital signals coming from its inputs. Most logic gates have two inputs and
one output. Logic gates are based on Boolean algebra.
• Logic gates are commonly used in integrated circuits (IC).
Basic logic gates
There are seven basic logic gates: AND, OR, XOR, NOT, NAND, NOR, and
XNOR.
AND GATE:
• The AND gate is an electronic circuit which gives a high output only if
all its inputs are high. The AND operation is represented by a dot (.)
sign.
OR GATE:
• The OR gate is an electronic circuit which gives a high output if one or
more of its inputs are high. The operation performed by an OR gate is
represented by a plus (+) sign.
NOT gate:
• A logical inverter, sometimes called a NOT gate to differentiate it from
other types of electronic inverter devices, has only one input. It
reverses the logic state. If the input is 1, then the output is 0. If the
input is 0, then the output is 1.
NAND GATE:
• The NOT-AND (NAND) gate which is equal to an AND gate followed by
a NOT gate. The NAND gate gives a high output if any of the inputs
are low. The NAND gate is represented by a AND gate with a small
circle on the output. The small circle represents inversion.
NOR GATE:
• The NOT-OR (NOR) gate which is equal to an OR gate followed by a
NOT gate. The NOR gate gives a low output if any of the inputs are
high. The NOR gate is represented by an OR gate with a small circle on
the output. The small circle represents inversion.
The ‘Exclusive-OR’ Exclusive-OR/ XOR GATE:
• The 'Exclusive-OR' gategate is a circuit which will give a high output if
one of its inputs is high but not both of them. The XOR operation is
represented by an encircled plus sign.
The XNOR (exclusive-NOR) :
The XNOR (exclusive-NOR) :
• The XNOR (exclusive-NOR) gate is a combination XOR gate followed
by an inverter. Its output is "true" if the inputs are the same, and
"false" if the inputs are different.
XNOR gate
Input 1 Input 2 Output
0 0 1
0 1 0
1 0 0
1 1 1
Boolean Algebra
• Boolean Algebra is used to analyze and simplify the digital (logic)
circuits.
• It uses only the binary numbers i.e. 0 and 1.
• It is also called as Binary Algebra or logical Algebra.
• It is a convenient way and systematic way of expressing and analyzing
the operation of logic circuits.
• Boolean algebra was invented by George Boole in 1854.
Rules in Boolean Algebra
Following are the important rules used in Boolean algebra.
• Variable used can have only two values. Binary 1 for HIGH and Binary 0 for LOW.
• Complement of a variable is represented by an overbar (-). Thus, complement of
variable B is represented as B Bar. Thus if B = 0 then B Bar = 1 and B = 1 then B
Bar = 0.
• ORing of the variables is represented by a plus (+) sign between them. For
example ORing of A, B, C is represented as A + B + C.
• Logical ANDing of the two or more variable is represented by writing a dot
between them such as A.B.C. Sometime the dot may be omitted like ABC.
Boolean Laws
There are six types of Boolean Laws.
Commutative law:
• Any binary operation which satisfies the following expression is
referred to as commutative operation.
• Commutative law states that changing the sequence of the variables
does not have any effect on the output of a logic circuit.
Associative law
• This law states that the order in which the logic operations are
performed is irrelevant as their effect is the same.
Distributive law
• Distributive law states the following condition.
AND law
• These laws use the AND operation. Therefore they are called as AND laws.
OR law
• These laws use the OR operation. Therefore they are called as OR laws.
INVERSION law
• This law uses the NOT operation. The inversion law states that double inversion of a
variable results in the original variable itself.
Laws of Boolean algebra
The basic Laws of Boolean Algebra can be stated as follows:
• Commutative Law states that the interchanging of the order of operands in a
Boolean equation does not change its result. For example:
OR operator → A + B = B + A
AND operator → A * B = B * A
• Associative Law of multiplication states that the AND operation are done on
two or more than two variables. For example:
A * (B * C) = (A * B) * C
• Distributive Law states that the multiplication of two variables and adding the
result with a variable will result in the same value as multiplication of addition
of the variable with individual variables. For example:
A + BC = (A + B) (A + C).
• Annulment law:
A.0 = 0
A + 1 = 1
• Identity law:
A.1 = A
A + 0 = A
• Idempotent law:
A + A = A
A.A = A
• Complement law:
A + A' = 1
A.A'= 0
• Double negation law:
((A)')' = A
• Absorption law:
A.(A+B) = A
A + AB = A
De Morgan's Law
• De Morgan's Law is also known as De Morgan'stheorem, works depending on the
concept of Duality. Duality states that interchanging the operators and variables
in a function, such as replacing 0 with 1 and 1 with 0, AND operator with OR
operatorand OR operator with AND operator.
• De Morgan stated 2 theorems, which will help us in solving the algebraic
problemsin digital electronics. The DeMorgan's statementsare:
• "The negation of a conjunction is the disjunction of the negations", which means
that the complement of the product of 2 variables is equal to the sum of the
compliments ofindividual variables.For example,(A.B)' = A' + B'.
• "The negation of disjunction is the conjunction of the negations", which means
that compliment of the sum of two variables is equal to the product of the
complementof eachvariable. For example,(A + B)' = A'B'.
Simplification using Boolean algebra
Let us consider an example of a Boolean function: AB+A (B+C) + B (B+C)
The logic diagram for the Boolean function AB+A (B+C) + B (B+C) can be represented
as
Map Simplification
• The Map method involves a simple, straightforward procedure
for simplifying Boolean expressions.
• Map simplification may be regarded as a pictorial arrangement
of the truth table which allows an easy interpretation for
choosing the minimum number of terms needed to express the
function algebraically.
• The map method is also known as Karnaugh map or K-map.
• Each combination of the variables in a truth table is called a
mid-term.
K-Maps for 2 to 5 Variables
• The number of cells in 2 variable K-map is four, since the number of
variables is two. The following figure shows 2 variable K-Map.
• There is only one possibility of grouping 4 adjacent min terms.
• The possible combinations of grouping 2 adjacent min terms are {(m0, m1),
(m2, m3), (m0, m2) and (m1, m3)}.
3 Variable K-Map
• The number of cells in 3 variable K-map is eight, since the number of
variables is three. The following figure shows 3 variable K-Map.
• There is only one possibility of grouping 8 adjacent min terms.
• The possible combinations of grouping 4 adjacent min terms are {(m0, m1,
m3, m2), (m4, m5, m7, m6), (m0, m1, m4, m5), (m1, m3, m5, m7), (m3, m2, m7, m6)
and (m2, m0, m6, m4)}.
• The possible combinations of grouping 2 adjacent min terms are {(m0, m1),
(m1, m3), (m3, m2), (m2, m0), (m4, m5), (m5, m7), (m7, m6), (m6, m4), (m0, m4), (m1,
m5), (m3, m7) and (m2, m6)}.
• If x=0, then 3 variable K-map becomes 2 variable K-map.
4 Variable K-Map
• The number of cells in 4 variable K-map is sixteen, since the number of variables is four.
The following figure shows 4 variable K-Map.
• There is only one possibility of grouping 16 adjacent min terms.
• Let R1, R2, R3 and R4 represents the min terms of first row, second row, third row and
fourth row respectively. Similarly, C1, C2, C3 and C4 represents the min terms of first
column, second column, third column and fourth column respectively. The possible
combinations of grouping 8 adjacent min terms are {(R1, R2), (R2, R3), (R3, R4), (R4, R1), (C1,
C2), (C2, C3), (C3, C4), (C4, C1)}.
• If w=0, then 4 variable K-map becomes 3 variable K-map.
5 Variable K-Map
• The number of cells in 5 variable K-map is thirty-two, since the
number of variables is 5. The following figure shows 5 variable
K-Map.
• There is only one possibility of grouping 32 adjacent min terms.
• There are two possibilities of grouping 16 adjacent min terms.
i.e., grouping of min terms from m0 to m15 and m16 to m31.
• If v=0, then 5 variable K-map becomes 4 variable K-map.
Minimization of Boolean Functions using K-Maps
• If we consider the combination of inputs for which the Boolean function is ‘1’, then we will get the
Boolean function, which is in standard sum of products form after simplifying the K-map.
• Similarly, if we consider the combination of inputs for which the Boolean function is ‘0’, then we
will get the Boolean function, which is in standard product of sums form after simplifying the K-
map.
• Follow these rules for simplifying K-maps in order to get standard sum of products form.
• Select the respective K-map based on the number of variables present in the Boolean function.
• If the Boolean function is given as sum of min terms form, then place the ones at respective min
term cells in the K-map. If the Boolean function is given as sum of products form, then place the
ones in all possible cells of K-map for which the given product terms are valid.
• Check for the possibilities of grouping maximum number of adjacent ones. It should be powers of
two. Start from highest power of two and upto least power of two. Highest power is equal to the
number of variables considered in K-map and least power is zero.
• Each grouping will give either a literal or one product term. It is known as prime implicant. The
prime implicant is said to be essential prime implicant, if atleast single ‘1’ is not covered with any
other groupings but only that grouping covers.
• Note down all the prime implicants and essential prime implicants. The simplified Boolean
function contains all essential prime implicants and only the required prime implicants.
• Note 1 − If outputs are not defined for some combination of inputs, then those output values will
be represented with don’t care symbol ‘x’. That means, we can consider them as either ‘0’ or ‘1’.
• Note 2 − If don’t care terms also present, then place don’t cares ‘x’ in the respective cells of K-
map. Consider only the don’t cares ‘x’ that are helpful for grouping maximum number of adjacent
ones. In those cases, treat the don’t care value as ‘1’.

Weitere ähnliche Inhalte

Ähnlich wie UNIT1-part2.pptx

Introduction to digital logic
Introduction to digital logicIntroduction to digital logic
Introduction to digital logicKamal Acharya
 
Simplification of Circuits.pdf
Simplification of Circuits.pdfSimplification of Circuits.pdf
Simplification of Circuits.pdfMaryJacob24
 
booleanalgebra-140914001141-phpapp01 (1).ppt
booleanalgebra-140914001141-phpapp01 (1).pptbooleanalgebra-140914001141-phpapp01 (1).ppt
booleanalgebra-140914001141-phpapp01 (1).pptmichaelaaron25322
 
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
 
Chapter 5_combinational logic (EEEg4302).pdf
Chapter 5_combinational logic (EEEg4302).pdfChapter 5_combinational logic (EEEg4302).pdf
Chapter 5_combinational logic (EEEg4302).pdfTamiratDejene1
 
Logic gates and circuits
Logic gates and circuitsLogic gates and circuits
Logic gates and circuitsAswiniT3
 
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational Circuits
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational CircuitsCOMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational Circuits
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational CircuitsVanitha Chandru
 
3. Boolean Algebra.pptx
3. Boolean Algebra.pptx3. Boolean Algebra.pptx
3. Boolean Algebra.pptxNaveenPunia5
 
chapter 3 Boolean algebra (2).pptx
chapter 3 Boolean algebra (2).pptxchapter 3 Boolean algebra (2).pptx
chapter 3 Boolean algebra (2).pptxRithinA1
 
Chapter 2 Boolean Algebra (part 2)
Chapter 2 Boolean Algebra (part 2)Chapter 2 Boolean Algebra (part 2)
Chapter 2 Boolean Algebra (part 2)Frankie Jones
 

Ähnlich wie UNIT1-part2.pptx (20)

Introduction to digital logic
Introduction to digital logicIntroduction to digital logic
Introduction to digital logic
 
Logic Gates.pptx
Logic Gates.pptxLogic Gates.pptx
Logic Gates.pptx
 
UNIT V.pptx
UNIT V.pptxUNIT V.pptx
UNIT V.pptx
 
Simplification of Circuits.pdf
Simplification of Circuits.pdfSimplification of Circuits.pdf
Simplification of Circuits.pdf
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
 
booleanalgebra-140914001141-phpapp01 (1).ppt
booleanalgebra-140914001141-phpapp01 (1).pptbooleanalgebra-140914001141-phpapp01 (1).ppt
booleanalgebra-140914001141-phpapp01 (1).ppt
 
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)
 
Chapter 5_combinational logic (EEEg4302).pdf
Chapter 5_combinational logic (EEEg4302).pdfChapter 5_combinational logic (EEEg4302).pdf
Chapter 5_combinational logic (EEEg4302).pdf
 
Unit 3.1
Unit 3.1Unit 3.1
Unit 3.1
 
BOOLEAN ALGEBRA & LOGIC GATE
BOOLEAN ALGEBRA & LOGIC GATEBOOLEAN ALGEBRA & LOGIC GATE
BOOLEAN ALGEBRA & LOGIC GATE
 
Boolean Algebra part 2.ppt
Boolean Algebra part 2.pptBoolean Algebra part 2.ppt
Boolean Algebra part 2.ppt
 
B sc ii sem unit 2(b) ba
B sc ii sem unit 2(b) baB sc ii sem unit 2(b) ba
B sc ii sem unit 2(b) ba
 
Logic gates and circuits
Logic gates and circuitsLogic gates and circuits
Logic gates and circuits
 
02-gates-w.pptx
02-gates-w.pptx02-gates-w.pptx
02-gates-w.pptx
 
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational Circuits
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational CircuitsCOMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational Circuits
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational Circuits
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
 
3. Boolean Algebra.pptx
3. Boolean Algebra.pptx3. Boolean Algebra.pptx
3. Boolean Algebra.pptx
 
chapter 3 Boolean algebra (2).pptx
chapter 3 Boolean algebra (2).pptxchapter 3 Boolean algebra (2).pptx
chapter 3 Boolean algebra (2).pptx
 
Chapter 2 Boolean Algebra (part 2)
Chapter 2 Boolean Algebra (part 2)Chapter 2 Boolean Algebra (part 2)
Chapter 2 Boolean Algebra (part 2)
 
3A.ppt
3A.ppt3A.ppt
3A.ppt
 

Mehr von AshokRachapalli1

17.INTRODUCTION TO SCHEMA REFINEMENT.pptx
17.INTRODUCTION TO SCHEMA REFINEMENT.pptx17.INTRODUCTION TO SCHEMA REFINEMENT.pptx
17.INTRODUCTION TO SCHEMA REFINEMENT.pptxAshokRachapalli1
 
joins in dbms its describes about how joins are important and necessity in d...
joins in dbms  its describes about how joins are important and necessity in d...joins in dbms  its describes about how joins are important and necessity in d...
joins in dbms its describes about how joins are important and necessity in d...AshokRachapalli1
 
6.Database Languages lab-1.pptx
6.Database Languages lab-1.pptx6.Database Languages lab-1.pptx
6.Database Languages lab-1.pptxAshokRachapalli1
 
inputoutputorganization-140722085906-phpapp01.pptx
inputoutputorganization-140722085906-phpapp01.pptxinputoutputorganization-140722085906-phpapp01.pptx
inputoutputorganization-140722085906-phpapp01.pptxAshokRachapalli1
 
arithmeticmicrooperations-180130061637.pptx
arithmeticmicrooperations-180130061637.pptxarithmeticmicrooperations-180130061637.pptx
arithmeticmicrooperations-180130061637.pptxAshokRachapalli1
 
Computer Network Architecture.pptx
Computer Network Architecture.pptxComputer Network Architecture.pptx
Computer Network Architecture.pptxAshokRachapalli1
 
Computer Network Types.pptx
Computer Network Types.pptxComputer Network Types.pptx
Computer Network Types.pptxAshokRachapalli1
 
dataencoding-150701201133-lva1-app6891.pptx
dataencoding-150701201133-lva1-app6891.pptxdataencoding-150701201133-lva1-app6891.pptx
dataencoding-150701201133-lva1-app6891.pptxAshokRachapalli1
 

Mehr von AshokRachapalli1 (20)

17.INTRODUCTION TO SCHEMA REFINEMENT.pptx
17.INTRODUCTION TO SCHEMA REFINEMENT.pptx17.INTRODUCTION TO SCHEMA REFINEMENT.pptx
17.INTRODUCTION TO SCHEMA REFINEMENT.pptx
 
joins in dbms its describes about how joins are important and necessity in d...
joins in dbms  its describes about how joins are important and necessity in d...joins in dbms  its describes about how joins are important and necessity in d...
joins in dbms its describes about how joins are important and necessity in d...
 
6.Database Languages lab-1.pptx
6.Database Languages lab-1.pptx6.Database Languages lab-1.pptx
6.Database Languages lab-1.pptx
 
Chapter5 (1).ppt
Chapter5 (1).pptChapter5 (1).ppt
Chapter5 (1).ppt
 
Cache Memory.pptx
Cache Memory.pptxCache Memory.pptx
Cache Memory.pptx
 
Addressing Modes.pptx
Addressing Modes.pptxAddressing Modes.pptx
Addressing Modes.pptx
 
inputoutputorganization-140722085906-phpapp01.pptx
inputoutputorganization-140722085906-phpapp01.pptxinputoutputorganization-140722085906-phpapp01.pptx
inputoutputorganization-140722085906-phpapp01.pptx
 
NOV11 virtual memory.ppt
NOV11 virtual memory.pptNOV11 virtual memory.ppt
NOV11 virtual memory.ppt
 
lec16-memory.ppt
lec16-memory.pptlec16-memory.ppt
lec16-memory.ppt
 
lecture-17.ppt
lecture-17.pptlecture-17.ppt
lecture-17.ppt
 
arithmeticmicrooperations-180130061637.pptx
arithmeticmicrooperations-180130061637.pptxarithmeticmicrooperations-180130061637.pptx
arithmeticmicrooperations-180130061637.pptx
 
instruction format.pptx
instruction format.pptxinstruction format.pptx
instruction format.pptx
 
Computer Network Architecture.pptx
Computer Network Architecture.pptxComputer Network Architecture.pptx
Computer Network Architecture.pptx
 
Computer Network Types.pptx
Computer Network Types.pptxComputer Network Types.pptx
Computer Network Types.pptx
 
dataencoding-150701201133-lva1-app6891.pptx
dataencoding-150701201133-lva1-app6891.pptxdataencoding-150701201133-lva1-app6891.pptx
dataencoding-150701201133-lva1-app6891.pptx
 
Flow Control.pptx
Flow Control.pptxFlow Control.pptx
Flow Control.pptx
 
Chapter4.ppt
Chapter4.pptChapter4.ppt
Chapter4.ppt
 
intro22.ppt
intro22.pptintro22.ppt
intro22.ppt
 
osi.ppt
osi.pptosi.ppt
osi.ppt
 
switching.pptx
switching.pptxswitching.pptx
switching.pptx
 

Kürzlich hochgeladen

Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
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
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...anjaliyadav012327
 
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
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
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
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxShobhayan Kirtania
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
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
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 

Kürzlich hochgeladen (20)

Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
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
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
 
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
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
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...
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptx
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
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
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 

UNIT1-part2.pptx

  • 2. Logic Gates • The logic gates are the main structural part of a digital system. • A logic gate is a device that acts as a building block for digital circuits. They perform basic logical functions that are fundamental to digital circuits. • Most electronic devices we use today will have some form of logic gates in them. For example, logic gates can be used in technologies such as smartphones, tablets or within memory devices. • In a circuit, logic gates will make decisions based on a combination of digital signals coming from its inputs. Most logic gates have two inputs and one output. Logic gates are based on Boolean algebra. • Logic gates are commonly used in integrated circuits (IC).
  • 3. Basic logic gates There are seven basic logic gates: AND, OR, XOR, NOT, NAND, NOR, and XNOR. AND GATE: • The AND gate is an electronic circuit which gives a high output only if all its inputs are high. The AND operation is represented by a dot (.) sign.
  • 4. OR GATE: • The OR gate is an electronic circuit which gives a high output if one or more of its inputs are high. The operation performed by an OR gate is represented by a plus (+) sign.
  • 5. NOT gate: • A logical inverter, sometimes called a NOT gate to differentiate it from other types of electronic inverter devices, has only one input. It reverses the logic state. If the input is 1, then the output is 0. If the input is 0, then the output is 1.
  • 6. NAND GATE: • The NOT-AND (NAND) gate which is equal to an AND gate followed by a NOT gate. The NAND gate gives a high output if any of the inputs are low. The NAND gate is represented by a AND gate with a small circle on the output. The small circle represents inversion.
  • 7. NOR GATE: • The NOT-OR (NOR) gate which is equal to an OR gate followed by a NOT gate. The NOR gate gives a low output if any of the inputs are high. The NOR gate is represented by an OR gate with a small circle on the output. The small circle represents inversion.
  • 8. The ‘Exclusive-OR’ Exclusive-OR/ XOR GATE: • The 'Exclusive-OR' gategate is a circuit which will give a high output if one of its inputs is high but not both of them. The XOR operation is represented by an encircled plus sign.
  • 9. The XNOR (exclusive-NOR) : The XNOR (exclusive-NOR) : • The XNOR (exclusive-NOR) gate is a combination XOR gate followed by an inverter. Its output is "true" if the inputs are the same, and "false" if the inputs are different. XNOR gate Input 1 Input 2 Output 0 0 1 0 1 0 1 0 0 1 1 1
  • 10. Boolean Algebra • Boolean Algebra is used to analyze and simplify the digital (logic) circuits. • It uses only the binary numbers i.e. 0 and 1. • It is also called as Binary Algebra or logical Algebra. • It is a convenient way and systematic way of expressing and analyzing the operation of logic circuits. • Boolean algebra was invented by George Boole in 1854.
  • 11. Rules in Boolean Algebra Following are the important rules used in Boolean algebra. • Variable used can have only two values. Binary 1 for HIGH and Binary 0 for LOW. • Complement of a variable is represented by an overbar (-). Thus, complement of variable B is represented as B Bar. Thus if B = 0 then B Bar = 1 and B = 1 then B Bar = 0. • ORing of the variables is represented by a plus (+) sign between them. For example ORing of A, B, C is represented as A + B + C. • Logical ANDing of the two or more variable is represented by writing a dot between them such as A.B.C. Sometime the dot may be omitted like ABC.
  • 12. Boolean Laws There are six types of Boolean Laws. Commutative law: • Any binary operation which satisfies the following expression is referred to as commutative operation. • Commutative law states that changing the sequence of the variables does not have any effect on the output of a logic circuit. Associative law • This law states that the order in which the logic operations are performed is irrelevant as their effect is the same.
  • 13. Distributive law • Distributive law states the following condition. AND law • These laws use the AND operation. Therefore they are called as AND laws. OR law • These laws use the OR operation. Therefore they are called as OR laws. INVERSION law • This law uses the NOT operation. The inversion law states that double inversion of a variable results in the original variable itself.
  • 14. Laws of Boolean algebra The basic Laws of Boolean Algebra can be stated as follows: • Commutative Law states that the interchanging of the order of operands in a Boolean equation does not change its result. For example: OR operator → A + B = B + A AND operator → A * B = B * A • Associative Law of multiplication states that the AND operation are done on two or more than two variables. For example: A * (B * C) = (A * B) * C • Distributive Law states that the multiplication of two variables and adding the result with a variable will result in the same value as multiplication of addition of the variable with individual variables. For example: A + BC = (A + B) (A + C).
  • 15. • Annulment law: A.0 = 0 A + 1 = 1 • Identity law: A.1 = A A + 0 = A • Idempotent law: A + A = A A.A = A • Complement law: A + A' = 1 A.A'= 0 • Double negation law: ((A)')' = A • Absorption law: A.(A+B) = A A + AB = A
  • 16. De Morgan's Law • De Morgan's Law is also known as De Morgan'stheorem, works depending on the concept of Duality. Duality states that interchanging the operators and variables in a function, such as replacing 0 with 1 and 1 with 0, AND operator with OR operatorand OR operator with AND operator. • De Morgan stated 2 theorems, which will help us in solving the algebraic problemsin digital electronics. The DeMorgan's statementsare: • "The negation of a conjunction is the disjunction of the negations", which means that the complement of the product of 2 variables is equal to the sum of the compliments ofindividual variables.For example,(A.B)' = A' + B'. • "The negation of disjunction is the conjunction of the negations", which means that compliment of the sum of two variables is equal to the product of the complementof eachvariable. For example,(A + B)' = A'B'.
  • 17.
  • 18. Simplification using Boolean algebra Let us consider an example of a Boolean function: AB+A (B+C) + B (B+C) The logic diagram for the Boolean function AB+A (B+C) + B (B+C) can be represented as
  • 19. Map Simplification • The Map method involves a simple, straightforward procedure for simplifying Boolean expressions. • Map simplification may be regarded as a pictorial arrangement of the truth table which allows an easy interpretation for choosing the minimum number of terms needed to express the function algebraically. • The map method is also known as Karnaugh map or K-map. • Each combination of the variables in a truth table is called a mid-term.
  • 20. K-Maps for 2 to 5 Variables • The number of cells in 2 variable K-map is four, since the number of variables is two. The following figure shows 2 variable K-Map. • There is only one possibility of grouping 4 adjacent min terms. • The possible combinations of grouping 2 adjacent min terms are {(m0, m1), (m2, m3), (m0, m2) and (m1, m3)}.
  • 21. 3 Variable K-Map • The number of cells in 3 variable K-map is eight, since the number of variables is three. The following figure shows 3 variable K-Map. • There is only one possibility of grouping 8 adjacent min terms. • The possible combinations of grouping 4 adjacent min terms are {(m0, m1, m3, m2), (m4, m5, m7, m6), (m0, m1, m4, m5), (m1, m3, m5, m7), (m3, m2, m7, m6) and (m2, m0, m6, m4)}. • The possible combinations of grouping 2 adjacent min terms are {(m0, m1), (m1, m3), (m3, m2), (m2, m0), (m4, m5), (m5, m7), (m7, m6), (m6, m4), (m0, m4), (m1, m5), (m3, m7) and (m2, m6)}. • If x=0, then 3 variable K-map becomes 2 variable K-map.
  • 22. 4 Variable K-Map • The number of cells in 4 variable K-map is sixteen, since the number of variables is four. The following figure shows 4 variable K-Map. • There is only one possibility of grouping 16 adjacent min terms. • Let R1, R2, R3 and R4 represents the min terms of first row, second row, third row and fourth row respectively. Similarly, C1, C2, C3 and C4 represents the min terms of first column, second column, third column and fourth column respectively. The possible combinations of grouping 8 adjacent min terms are {(R1, R2), (R2, R3), (R3, R4), (R4, R1), (C1, C2), (C2, C3), (C3, C4), (C4, C1)}. • If w=0, then 4 variable K-map becomes 3 variable K-map.
  • 23. 5 Variable K-Map • The number of cells in 5 variable K-map is thirty-two, since the number of variables is 5. The following figure shows 5 variable K-Map. • There is only one possibility of grouping 32 adjacent min terms. • There are two possibilities of grouping 16 adjacent min terms. i.e., grouping of min terms from m0 to m15 and m16 to m31. • If v=0, then 5 variable K-map becomes 4 variable K-map.
  • 24. Minimization of Boolean Functions using K-Maps • If we consider the combination of inputs for which the Boolean function is ‘1’, then we will get the Boolean function, which is in standard sum of products form after simplifying the K-map. • Similarly, if we consider the combination of inputs for which the Boolean function is ‘0’, then we will get the Boolean function, which is in standard product of sums form after simplifying the K- map. • Follow these rules for simplifying K-maps in order to get standard sum of products form. • Select the respective K-map based on the number of variables present in the Boolean function. • If the Boolean function is given as sum of min terms form, then place the ones at respective min term cells in the K-map. If the Boolean function is given as sum of products form, then place the ones in all possible cells of K-map for which the given product terms are valid. • Check for the possibilities of grouping maximum number of adjacent ones. It should be powers of two. Start from highest power of two and upto least power of two. Highest power is equal to the number of variables considered in K-map and least power is zero. • Each grouping will give either a literal or one product term. It is known as prime implicant. The prime implicant is said to be essential prime implicant, if atleast single ‘1’ is not covered with any other groupings but only that grouping covers. • Note down all the prime implicants and essential prime implicants. The simplified Boolean function contains all essential prime implicants and only the required prime implicants. • Note 1 − If outputs are not defined for some combination of inputs, then those output values will be represented with don’t care symbol ‘x’. That means, we can consider them as either ‘0’ or ‘1’. • Note 2 − If don’t care terms also present, then place don’t cares ‘x’ in the respective cells of K- map. Consider only the don’t cares ‘x’ that are helpful for grouping maximum number of adjacent ones. In those cases, treat the don’t care value as ‘1’.