SlideShare a Scribd company logo
1 of 22
Digital Logic Circuits, Digital
Component and Data
Representation
Course: B.Sc-CS-II
Subject: Computer Organization
And Architecture
Unit-1
1
Basic Definitions
• Binary Operators
– AND
z = x • y = x y z=1 if x=1 AND y=1
– OR
z = x + y z=1 if x=1 OR y=1
– NOT
z = x = x’ z=1 if x=0
• Boolean Algebra
– Binary Variables: only ‘0’ and ‘1’ values
– Algebraic Manipulation
Boolean Algebra Postulates
• Commutative Law
x • y = y • x x + y = y + x
• Identity Element
x • 1 = x x + 0 = x
• Complement
x • x’ = 0 x + x’ = 1
Boolean Algebra Theorems
• Duality
– The dual of a Boolean algebraic expression is obtained
by interchanging the AND and the OR operators and
replacing the 1’s by 0’s and the 0’s by 1’s.
– x • ( y + z ) = ( x • y ) + ( x • z )
– x + ( y • z ) = ( x + y ) • ( x + z )
• Theorem 1
– x • x = x x + x = x
• Theorem 2
– x • 0 = 0 x + 1 = 1
Applied to a
valid equation
produces a
valid equation
Boolean Algebra Theorems
• Theorem 3: Involution
– ( x’ )’ = x ( x ) = x
• Theorem 4: Associative & Distributive
– ( x • y ) • z = x • ( y • z ) ( x + y ) + z = x + ( y + z )
– x • ( y + z ) = ( x • y ) + ( x • z )
x + ( y • z ) = ( x + y ) • ( x + z )
• Theorem 5: De Morgan
– ( x • y )’ = x’+ y’ ( x + y )’ = x’• y’
– ( x • y ) = x + y ( x + y ) = x • y
• Theorem 6: Absorption
– x • ( x + y ) = x x + ( x • y ) = x
Boolean Functions[1]
• Boolean Expression
Example: F =
x + y’ z
• Truth Table
All possible combinations
of input variables
• Logic Circuit
x y z F
0 0 0 0
0 0 1 1
0 1 0 0
0 1 1 0
1 0 0 1
1 0 1 1
1 1 0 1
1 1 1 1x
y
z
F
Algebraic Manipulation
• Literal:
A single variable within a term that may be
complemented or not.
• Use Boolean Algebra to simplify Boolean
functions to produce simpler circuits
Example: Simplify to a minimum number of literals
F = x + x’y ( 3 Literals)
= x + ( x’y )
= ( x + x’ ) ( x + y )
= ( 1 ) ( x + y ) = x + y ( 2 Literals)
Distributive law (+ over
•)
Complement of a Function
• DeMorgan’s Theorm
• Duality & Literal Complement
CBAF 
CBAF 
CBAF 
CBAF 
CBAF 
CBAF 
Canonical Forms[1]
• Minterm
– Product (AND function)
– Contains all variables
– Evaluates to ‘1’ for a
specific combination
Example
A = 0 A B C
B = 0 (0) • (0) • (0)
C = 0
1 • 1 • 1 = 1
A B C Minterm
0 0 0 0 m0
1 0 0 1 m1
2 0 1 0 m2
3 0 1 1 m3
4 1 0 0 m4
5 1 0 1 m5
6 1 1 0 m6
7 1 1 1 m7
Canonical Forms[1]
• Maxterm
– Sum (OR function)
– Contains all variables
– Evaluates to ‘0’ for a
specific combination
Example
A = 1 A B C
B = 1 (1) + (1) + (1)
C = 1
0 + 0 + 0 = 0
A B C Maxterm
0 0 0 0 M0
1 0 0 1 M1
2 0 1 0 M2
3 0 1 1 M3
4 1 0 0 M4
5 1 0 1 M5
6 1 1 0 M6
7 1 1 1 M7
Canonical Forms[1]
• Truth Table to Boolean Function
CBAF  CBA CBA ABCA B C F
0 0 0 0
0 0 1 1
0 1 0 0
0 1 1 0
1 0 0 1
1 0 1 1
1 1 0 0
1 1 1 1
Canonical Forms
• Sum of Minterms
• Product of Maxterms
ABCCBACBACBAF 
7541 mmmmF 
 )7,5,4,1(F
CABBCACBACBAF 
CABBCACBACBAF 
CABBCACBACBAF 
))()()(( CBACBACBACBAF 
6320 MMMMF 
 (0,2,3,6)F
Standard Forms
• Sum of Products (SOP)
ABCCBACBACBAF  BA
BA
CCBA



)1(
)(
AC
BBAC

 )(
CB
AACB

 )(
)()()( BBACCCBAAACBF 
ACBACBF 
Standard Forms
• Product of Sums (POS)
CABBCACBACBAF 
)( CCBA 
)( AACB 
)( BBCA 
)()()( AACBCCBABBCAF 
CBBACAF 
))()(( CBBACAF 
Two-Level Implementations
• Sum of Products (SOP)
• Product of Sums (POS)
B’
C
FB’
A
A
C
A
C
FB’
A
B’
C
ACBACBF 
))()(( CBBACAF 
Logic Operators
• AND
• NAND (Not AND)
x
y
x • y
x
y
x • y
x y AND
0 0 0
0 1 0
1 0 0
1 1 1
x y NAND
0 0 1
0 1 1
1 0 1
1 1 0
Logic Operators
• OR
• NOR (Not OR)
x
y
x + y
x
y
x + y
x y OR
0 0 0
0 1 1
1 0 1
1 1 1
x y NOR
0 0 1
0 1 0
1 0 0
1 1 0
Logic Operators
• XOR (Exclusive-OR)
• XNOR (Exclusive-NOR)
(Equivalence)
x
y
x Å y
x y + x y
x
y
x Å y
x  y
x y + x y
x y XOR
0 0 0
0 1 1
1 0 1
1 1 0
x y XNOR
0 0 1
0 1 0
1 0 0
1 1 1
Logic Operators
• NOT (Inverter)
• Buffer
x x
x x
x NOT
0 1
1 0
x Buffer
0 0
1 1
Multiple Input Gates

De Morgan’s Theorem on Gates
• AND Gate
– F = x • y F = (x • y) F = x + y
• OR Gate
– F = x + y F = (x + y) F = x • y
 Change the “Shape” and “bubble” all lines
References
1. Computer Organization and Architecture, Designing
for performance by William Stallings, Prentice Hall
of India.
2. Modern Computer Architecture, by Morris Mano,
Prentice Hall of India.
3. Computer Architecture and Organization by John P.
Hayes, McGraw Hill Publishing Company.
4. Computer Organization by V. Carl Hamacher,
Zvonko G. Vranesic, Safwat G. Zaky, McGraw Hill
Publishing Company.

More Related Content

What's hot

8.1 circles.ppt worked
8.1 circles.ppt worked8.1 circles.ppt worked
8.1 circles.ppt workedJonna Ramsey
 
8.2 ellipses.ppt worked
8.2 ellipses.ppt worked8.2 ellipses.ppt worked
8.2 ellipses.ppt workedJonna Ramsey
 
Exponential and logarithmic graphs
Exponential and logarithmic graphsExponential and logarithmic graphs
Exponential and logarithmic graphsShaun Wilson
 
Introduction to R
Introduction to RIntroduction to R
Introduction to RHappy Garg
 
Edu presentation1
 Edu presentation1 Edu presentation1
Edu presentation1hook1kf
 
Introduction to Haskell@Open Source Conference 2007 Hokkaido
Introduction to Haskell@Open Source Conference 2007 HokkaidoIntroduction to Haskell@Open Source Conference 2007 Hokkaido
Introduction to Haskell@Open Source Conference 2007 Hokkaidoikegami__
 
ITP UNS Semester 3, Rancangan Percobaan: Titik optimum & eigen value
ITP UNS Semester 3, Rancangan Percobaan: Titik optimum & eigen valueITP UNS Semester 3, Rancangan Percobaan: Titik optimum & eigen value
ITP UNS Semester 3, Rancangan Percobaan: Titik optimum & eigen valueFransiska Puteri
 
Chapter 1 (math 1)
Chapter 1 (math 1)Chapter 1 (math 1)
Chapter 1 (math 1)Amr Mohamed
 
Linear progarmming part 1
Linear progarmming   part 1Linear progarmming   part 1
Linear progarmming part 1Divya K
 
Emat 213 midterm 2 fall 2005
Emat 213 midterm 2 fall 2005Emat 213 midterm 2 fall 2005
Emat 213 midterm 2 fall 2005akabaka12
 
Zadaci iz matisha
Zadaci iz matisha Zadaci iz matisha
Zadaci iz matisha titoyebac
 
Euclid algorithm and congruence matrix
Euclid algorithm and congruence matrixEuclid algorithm and congruence matrix
Euclid algorithm and congruence matrixJanani S
 
Problem Application of Antiderivatives
Problem Application of AntiderivativesProblem Application of Antiderivatives
Problem Application of Antiderivativesnyaz26
 

What's hot (19)

8.1 circles.ppt worked
8.1 circles.ppt worked8.1 circles.ppt worked
8.1 circles.ppt worked
 
8.2 ellipses.ppt worked
8.2 ellipses.ppt worked8.2 ellipses.ppt worked
8.2 ellipses.ppt worked
 
Lec38
Lec38Lec38
Lec38
 
Lec39
Lec39Lec39
Lec39
 
Ch33 11
Ch33 11Ch33 11
Ch33 11
 
Exponential and logarithmic graphs
Exponential and logarithmic graphsExponential and logarithmic graphs
Exponential and logarithmic graphs
 
Introduction to R
Introduction to RIntroduction to R
Introduction to R
 
Edu presentation1
 Edu presentation1 Edu presentation1
Edu presentation1
 
Introduction to Haskell@Open Source Conference 2007 Hokkaido
Introduction to Haskell@Open Source Conference 2007 HokkaidoIntroduction to Haskell@Open Source Conference 2007 Hokkaido
Introduction to Haskell@Open Source Conference 2007 Hokkaido
 
Integrales
Integrales Integrales
Integrales
 
ITP UNS Semester 3, Rancangan Percobaan: Titik optimum & eigen value
ITP UNS Semester 3, Rancangan Percobaan: Titik optimum & eigen valueITP UNS Semester 3, Rancangan Percobaan: Titik optimum & eigen value
ITP UNS Semester 3, Rancangan Percobaan: Titik optimum & eigen value
 
Chapter 1 (math 1)
Chapter 1 (math 1)Chapter 1 (math 1)
Chapter 1 (math 1)
 
2020 preTEST4A
2020 preTEST4A2020 preTEST4A
2020 preTEST4A
 
Linear progarmming part 1
Linear progarmming   part 1Linear progarmming   part 1
Linear progarmming part 1
 
Emat 213 midterm 2 fall 2005
Emat 213 midterm 2 fall 2005Emat 213 midterm 2 fall 2005
Emat 213 midterm 2 fall 2005
 
Zadaci iz matisha
Zadaci iz matisha Zadaci iz matisha
Zadaci iz matisha
 
QMC: Operator Splitting Workshop, A Splitting Method for Nonsmooth Nonconvex ...
QMC: Operator Splitting Workshop, A Splitting Method for Nonsmooth Nonconvex ...QMC: Operator Splitting Workshop, A Splitting Method for Nonsmooth Nonconvex ...
QMC: Operator Splitting Workshop, A Splitting Method for Nonsmooth Nonconvex ...
 
Euclid algorithm and congruence matrix
Euclid algorithm and congruence matrixEuclid algorithm and congruence matrix
Euclid algorithm and congruence matrix
 
Problem Application of Antiderivatives
Problem Application of AntiderivativesProblem Application of Antiderivatives
Problem Application of Antiderivatives
 

Viewers also liked

B.sc ii unit iv dining etiquettes
B.sc ii unit iv dining etiquettesB.sc ii unit iv dining etiquettes
B.sc ii unit iv dining etiquettesRai University
 
Bbai pom u3.3 communication
Bbai pom u3.3 communicationBbai pom u3.3 communication
Bbai pom u3.3 communicationRai University
 
B.Sc. Biochem II BPI Unit 2 Viscosity
B.Sc. Biochem II BPI Unit 2 ViscosityB.Sc. Biochem II BPI Unit 2 Viscosity
B.Sc. Biochem II BPI Unit 2 ViscosityRai University
 
B.sc 1 ecls_u 1.6_nouns
B.sc 1 ecls_u 1.6_nounsB.sc 1 ecls_u 1.6_nouns
B.sc 1 ecls_u 1.6_nounsRai University
 
Mba ii hrm u-2.3 recruitment
Mba ii hrm u-2.3 recruitmentMba ii hrm u-2.3 recruitment
Mba ii hrm u-2.3 recruitmentRai University
 
Bsc cs ii-dbms- u-iii-data modeling using e.r. model (entity relationship model)
Bsc cs ii-dbms- u-iii-data modeling using e.r. model (entity relationship model)Bsc cs ii-dbms- u-iii-data modeling using e.r. model (entity relationship model)
Bsc cs ii-dbms- u-iii-data modeling using e.r. model (entity relationship model)Rai University
 
Mba i ob u 2.1 attitudes and job satisfaction
Mba i  ob  u 2.1 attitudes and job satisfactionMba i  ob  u 2.1 attitudes and job satisfaction
Mba i ob u 2.1 attitudes and job satisfactionRai University
 
Mba 2 fm u 2 capital budgeting and time value of money
Mba 2 fm u 2 capital budgeting and time value of moneyMba 2 fm u 2 capital budgeting and time value of money
Mba 2 fm u 2 capital budgeting and time value of moneyRai University
 
B.tech iv u-2.2 compound prepositions
B.tech iv u-2.2 compound prepositionsB.tech iv u-2.2 compound prepositions
B.tech iv u-2.2 compound prepositionsRai University
 
Llb i ecls_u-1_introduction and basics of soft skills
Llb i ecls_u-1_introduction and basics of soft skillsLlb i ecls_u-1_introduction and basics of soft skills
Llb i ecls_u-1_introduction and basics of soft skillsRai University
 
Mba i qt unit-2_measures of central tendency
Mba i qt unit-2_measures of central tendencyMba i qt unit-2_measures of central tendency
Mba i qt unit-2_measures of central tendencyRai University
 
Diploma i boee u 4 magnetism and electromagnetic effect
Diploma i boee u 4 magnetism and electromagnetic effectDiploma i boee u 4 magnetism and electromagnetic effect
Diploma i boee u 4 magnetism and electromagnetic effectRai University
 
Diploma_Basic_Mathematics_Unit-IV
Diploma_Basic_Mathematics_Unit-IVDiploma_Basic_Mathematics_Unit-IV
Diploma_Basic_Mathematics_Unit-IVRai University
 
B.tech iv u-2.3 types of word formation
B.tech iv u-2.3 types of word formationB.tech iv u-2.3 types of word formation
B.tech iv u-2.3 types of word formationRai University
 
Diploma i boee u 1 electrostatic and capacitance
Diploma i boee u 1 electrostatic and capacitanceDiploma i boee u 1 electrostatic and capacitance
Diploma i boee u 1 electrostatic and capacitanceRai University
 
B.sc agriculture i principles of plant pathology u 1.3 introduction to plant ...
B.sc agriculture i principles of plant pathology u 1.3 introduction to plant ...B.sc agriculture i principles of plant pathology u 1.3 introduction to plant ...
B.sc agriculture i principles of plant pathology u 1.3 introduction to plant ...Rai University
 
Ll.b i j1 u 1 nature scope & introduction
Ll.b  i j1 u 1 nature scope & introductionLl.b  i j1 u 1 nature scope & introduction
Ll.b i j1 u 1 nature scope & introductionRai University
 
Mba i ob u 1.2 foundation of individual behavior
Mba i  ob  u 1.2 foundation of individual behaviorMba i  ob  u 1.2 foundation of individual behavior
Mba i ob u 1.2 foundation of individual behaviorRai University
 

Viewers also liked (19)

B.sc ii unit iv dining etiquettes
B.sc ii unit iv dining etiquettesB.sc ii unit iv dining etiquettes
B.sc ii unit iv dining etiquettes
 
Bbai pom u3.3 communication
Bbai pom u3.3 communicationBbai pom u3.3 communication
Bbai pom u3.3 communication
 
B.Sc. Biochem II BPI Unit 2 Viscosity
B.Sc. Biochem II BPI Unit 2 ViscosityB.Sc. Biochem II BPI Unit 2 Viscosity
B.Sc. Biochem II BPI Unit 2 Viscosity
 
B.sc 1 ecls_u 1.6_nouns
B.sc 1 ecls_u 1.6_nounsB.sc 1 ecls_u 1.6_nouns
B.sc 1 ecls_u 1.6_nouns
 
Mba ii hrm u-2.3 recruitment
Mba ii hrm u-2.3 recruitmentMba ii hrm u-2.3 recruitment
Mba ii hrm u-2.3 recruitment
 
Bsc cs ii-dbms- u-iii-data modeling using e.r. model (entity relationship model)
Bsc cs ii-dbms- u-iii-data modeling using e.r. model (entity relationship model)Bsc cs ii-dbms- u-iii-data modeling using e.r. model (entity relationship model)
Bsc cs ii-dbms- u-iii-data modeling using e.r. model (entity relationship model)
 
Mba i ob u 2.1 attitudes and job satisfaction
Mba i  ob  u 2.1 attitudes and job satisfactionMba i  ob  u 2.1 attitudes and job satisfaction
Mba i ob u 2.1 attitudes and job satisfaction
 
Mba 2 fm u 2 capital budgeting and time value of money
Mba 2 fm u 2 capital budgeting and time value of moneyMba 2 fm u 2 capital budgeting and time value of money
Mba 2 fm u 2 capital budgeting and time value of money
 
B.tech iv u-2.2 compound prepositions
B.tech iv u-2.2 compound prepositionsB.tech iv u-2.2 compound prepositions
B.tech iv u-2.2 compound prepositions
 
Llb i ecls_u-1_introduction and basics of soft skills
Llb i ecls_u-1_introduction and basics of soft skillsLlb i ecls_u-1_introduction and basics of soft skills
Llb i ecls_u-1_introduction and basics of soft skills
 
Mba i qt unit-2_measures of central tendency
Mba i qt unit-2_measures of central tendencyMba i qt unit-2_measures of central tendency
Mba i qt unit-2_measures of central tendency
 
Diploma i boee u 4 magnetism and electromagnetic effect
Diploma i boee u 4 magnetism and electromagnetic effectDiploma i boee u 4 magnetism and electromagnetic effect
Diploma i boee u 4 magnetism and electromagnetic effect
 
Diploma_Basic_Mathematics_Unit-IV
Diploma_Basic_Mathematics_Unit-IVDiploma_Basic_Mathematics_Unit-IV
Diploma_Basic_Mathematics_Unit-IV
 
B.tech iv u-2.3 types of word formation
B.tech iv u-2.3 types of word formationB.tech iv u-2.3 types of word formation
B.tech iv u-2.3 types of word formation
 
Diploma i boee u 1 electrostatic and capacitance
Diploma i boee u 1 electrostatic and capacitanceDiploma i boee u 1 electrostatic and capacitance
Diploma i boee u 1 electrostatic and capacitance
 
B.sc agriculture i principles of plant pathology u 1.3 introduction to plant ...
B.sc agriculture i principles of plant pathology u 1.3 introduction to plant ...B.sc agriculture i principles of plant pathology u 1.3 introduction to plant ...
B.sc agriculture i principles of plant pathology u 1.3 introduction to plant ...
 
Ll.b i j1 u 1 nature scope & introduction
Ll.b  i j1 u 1 nature scope & introductionLl.b  i j1 u 1 nature scope & introduction
Ll.b i j1 u 1 nature scope & introduction
 
Mba i ob u 1.2 foundation of individual behavior
Mba i  ob  u 1.2 foundation of individual behaviorMba i  ob  u 1.2 foundation of individual behavior
Mba i ob u 1.2 foundation of individual behavior
 
Référencement naturel
Référencement naturelRéférencement naturel
Référencement naturel
 

Similar to B.sc cs-ii-u-1.5 digital logic circuits, digital component

B sc cs i bo-de u-ii logic gates
B sc cs i bo-de u-ii logic gatesB sc cs i bo-de u-ii logic gates
B sc cs i bo-de u-ii logic gatesRai University
 
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
 
Boolean Algebra SOP POS_Computer Architecture.pdf
Boolean Algebra SOP POS_Computer Architecture.pdfBoolean Algebra SOP POS_Computer Architecture.pdf
Boolean Algebra SOP POS_Computer Architecture.pdfSangitaBose2
 
boolean algebra and logic simplification
boolean algebra and logic simplificationboolean algebra and logic simplification
boolean algebra and logic simplificationUnsa Shakir
 
Boolean algebra And Logic Gates
Boolean algebra And Logic GatesBoolean algebra And Logic Gates
Boolean algebra And Logic GatesKumar
 
Boolean expression org.
Boolean expression org.Boolean expression org.
Boolean expression org.mshoaib15
 
CArcMOOC 03.01 - Boolean algebra and Logic Synthesis
CArcMOOC 03.01 - Boolean algebra and Logic SynthesisCArcMOOC 03.01 - Boolean algebra and Logic Synthesis
CArcMOOC 03.01 - Boolean algebra and Logic SynthesisAlessandro Bogliolo
 
DM2020 boolean algebra
DM2020 boolean algebraDM2020 boolean algebra
DM2020 boolean algebraRobert Geofroy
 
digital logic design Chapter 2 boolean_algebra_&_logic_gates
digital logic design Chapter 2 boolean_algebra_&_logic_gatesdigital logic design Chapter 2 boolean_algebra_&_logic_gates
digital logic design Chapter 2 boolean_algebra_&_logic_gatesImran Waris
 
SOP_POS_kmap_ DJ_Section_B.pptx
SOP_POS_kmap_ DJ_Section_B.pptxSOP_POS_kmap_ DJ_Section_B.pptx
SOP_POS_kmap_ DJ_Section_B.pptxdivanshujain8
 

Similar to B.sc cs-ii-u-1.5 digital logic circuits, digital component (20)

B sc cs i bo-de u-ii logic gates
B sc cs i bo-de u-ii logic gatesB sc cs i bo-de u-ii logic gates
B sc cs i bo-de u-ii logic gates
 
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)
 
Boolean Algebra SOP POS_Computer Architecture.pdf
Boolean Algebra SOP POS_Computer Architecture.pdfBoolean Algebra SOP POS_Computer Architecture.pdf
Boolean Algebra SOP POS_Computer Architecture.pdf
 
boolean algebra and logic simplification
boolean algebra and logic simplificationboolean algebra and logic simplification
boolean algebra and logic simplification
 
CHAPTER_3.1.ppt
CHAPTER_3.1.pptCHAPTER_3.1.ppt
CHAPTER_3.1.ppt
 
Boolean algebra And Logic Gates
Boolean algebra And Logic GatesBoolean algebra And Logic Gates
Boolean algebra And Logic Gates
 
Boolean expression org.
Boolean expression org.Boolean expression org.
Boolean expression org.
 
Digital Electronics
Digital ElectronicsDigital Electronics
Digital Electronics
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
CArcMOOC 03.01 - Boolean algebra and Logic Synthesis
CArcMOOC 03.01 - Boolean algebra and Logic SynthesisCArcMOOC 03.01 - Boolean algebra and Logic Synthesis
CArcMOOC 03.01 - Boolean algebra and Logic Synthesis
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
DM2020 boolean algebra
DM2020 boolean algebraDM2020 boolean algebra
DM2020 boolean algebra
 
digital logic design Chapter 2 boolean_algebra_&_logic_gates
digital logic design Chapter 2 boolean_algebra_&_logic_gatesdigital logic design Chapter 2 boolean_algebra_&_logic_gates
digital logic design Chapter 2 boolean_algebra_&_logic_gates
 
BOOLEAN ALGEBRA & LOGIC GATE
BOOLEAN ALGEBRA & LOGIC GATEBOOLEAN ALGEBRA & LOGIC GATE
BOOLEAN ALGEBRA & LOGIC GATE
 
SOP_POS_kmap_ DJ_Section_B.pptx
SOP_POS_kmap_ DJ_Section_B.pptxSOP_POS_kmap_ DJ_Section_B.pptx
SOP_POS_kmap_ DJ_Section_B.pptx
 
sop_pos(DE).pptx
sop_pos(DE).pptxsop_pos(DE).pptx
sop_pos(DE).pptx
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 

More from Rai University

Brochure Rai University
Brochure Rai University Brochure Rai University
Brochure Rai University Rai University
 
Bdft ii, tmt, unit-iii, dyeing & types of dyeing,
Bdft ii, tmt, unit-iii,  dyeing & types of dyeing,Bdft ii, tmt, unit-iii,  dyeing & types of dyeing,
Bdft ii, tmt, unit-iii, dyeing & types of dyeing,Rai University
 
Bsc agri 2 pae u-4.4 publicrevenue-presentation-130208082149-phpapp02
Bsc agri  2 pae  u-4.4 publicrevenue-presentation-130208082149-phpapp02Bsc agri  2 pae  u-4.4 publicrevenue-presentation-130208082149-phpapp02
Bsc agri 2 pae u-4.4 publicrevenue-presentation-130208082149-phpapp02Rai University
 
Bsc agri 2 pae u-4.3 public expenditure
Bsc agri  2 pae  u-4.3 public expenditureBsc agri  2 pae  u-4.3 public expenditure
Bsc agri 2 pae u-4.3 public expenditureRai University
 
Bsc agri 2 pae u-4.2 public finance
Bsc agri  2 pae  u-4.2 public financeBsc agri  2 pae  u-4.2 public finance
Bsc agri 2 pae u-4.2 public financeRai University
 
Bsc agri 2 pae u-4.1 introduction
Bsc agri  2 pae  u-4.1 introductionBsc agri  2 pae  u-4.1 introduction
Bsc agri 2 pae u-4.1 introductionRai University
 
Bsc agri 2 pae u-3.3 inflation
Bsc agri  2 pae  u-3.3  inflationBsc agri  2 pae  u-3.3  inflation
Bsc agri 2 pae u-3.3 inflationRai University
 
Bsc agri 2 pae u-3.2 introduction to macro economics
Bsc agri  2 pae  u-3.2 introduction to macro economicsBsc agri  2 pae  u-3.2 introduction to macro economics
Bsc agri 2 pae u-3.2 introduction to macro economicsRai University
 
Bsc agri 2 pae u-3.1 marketstructure
Bsc agri  2 pae  u-3.1 marketstructureBsc agri  2 pae  u-3.1 marketstructure
Bsc agri 2 pae u-3.1 marketstructureRai University
 
Bsc agri 2 pae u-3 perfect-competition
Bsc agri  2 pae  u-3 perfect-competitionBsc agri  2 pae  u-3 perfect-competition
Bsc agri 2 pae u-3 perfect-competitionRai University
 

More from Rai University (20)

Brochure Rai University
Brochure Rai University Brochure Rai University
Brochure Rai University
 
Mm unit 4point2
Mm unit 4point2Mm unit 4point2
Mm unit 4point2
 
Mm unit 4point1
Mm unit 4point1Mm unit 4point1
Mm unit 4point1
 
Mm unit 4point3
Mm unit 4point3Mm unit 4point3
Mm unit 4point3
 
Mm unit 3point2
Mm unit 3point2Mm unit 3point2
Mm unit 3point2
 
Mm unit 3point1
Mm unit 3point1Mm unit 3point1
Mm unit 3point1
 
Mm unit 2point2
Mm unit 2point2Mm unit 2point2
Mm unit 2point2
 
Mm unit 2 point 1
Mm unit 2 point 1Mm unit 2 point 1
Mm unit 2 point 1
 
Mm unit 1point3
Mm unit 1point3Mm unit 1point3
Mm unit 1point3
 
Mm unit 1point2
Mm unit 1point2Mm unit 1point2
Mm unit 1point2
 
Mm unit 1point1
Mm unit 1point1Mm unit 1point1
Mm unit 1point1
 
Bdft ii, tmt, unit-iii, dyeing & types of dyeing,
Bdft ii, tmt, unit-iii,  dyeing & types of dyeing,Bdft ii, tmt, unit-iii,  dyeing & types of dyeing,
Bdft ii, tmt, unit-iii, dyeing & types of dyeing,
 
Bsc agri 2 pae u-4.4 publicrevenue-presentation-130208082149-phpapp02
Bsc agri  2 pae  u-4.4 publicrevenue-presentation-130208082149-phpapp02Bsc agri  2 pae  u-4.4 publicrevenue-presentation-130208082149-phpapp02
Bsc agri 2 pae u-4.4 publicrevenue-presentation-130208082149-phpapp02
 
Bsc agri 2 pae u-4.3 public expenditure
Bsc agri  2 pae  u-4.3 public expenditureBsc agri  2 pae  u-4.3 public expenditure
Bsc agri 2 pae u-4.3 public expenditure
 
Bsc agri 2 pae u-4.2 public finance
Bsc agri  2 pae  u-4.2 public financeBsc agri  2 pae  u-4.2 public finance
Bsc agri 2 pae u-4.2 public finance
 
Bsc agri 2 pae u-4.1 introduction
Bsc agri  2 pae  u-4.1 introductionBsc agri  2 pae  u-4.1 introduction
Bsc agri 2 pae u-4.1 introduction
 
Bsc agri 2 pae u-3.3 inflation
Bsc agri  2 pae  u-3.3  inflationBsc agri  2 pae  u-3.3  inflation
Bsc agri 2 pae u-3.3 inflation
 
Bsc agri 2 pae u-3.2 introduction to macro economics
Bsc agri  2 pae  u-3.2 introduction to macro economicsBsc agri  2 pae  u-3.2 introduction to macro economics
Bsc agri 2 pae u-3.2 introduction to macro economics
 
Bsc agri 2 pae u-3.1 marketstructure
Bsc agri  2 pae  u-3.1 marketstructureBsc agri  2 pae  u-3.1 marketstructure
Bsc agri 2 pae u-3.1 marketstructure
 
Bsc agri 2 pae u-3 perfect-competition
Bsc agri  2 pae  u-3 perfect-competitionBsc agri  2 pae  u-3 perfect-competition
Bsc agri 2 pae u-3 perfect-competition
 

Recently uploaded

Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
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
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
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
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
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
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
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
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 

Recently uploaded (20)

Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
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
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
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
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
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...
 
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
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
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
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
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
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 

B.sc cs-ii-u-1.5 digital logic circuits, digital component

  • 1. Digital Logic Circuits, Digital Component and Data Representation Course: B.Sc-CS-II Subject: Computer Organization And Architecture Unit-1 1
  • 2. Basic Definitions • Binary Operators – AND z = x • y = x y z=1 if x=1 AND y=1 – OR z = x + y z=1 if x=1 OR y=1 – NOT z = x = x’ z=1 if x=0 • Boolean Algebra – Binary Variables: only ‘0’ and ‘1’ values – Algebraic Manipulation
  • 3. Boolean Algebra Postulates • Commutative Law x • y = y • x x + y = y + x • Identity Element x • 1 = x x + 0 = x • Complement x • x’ = 0 x + x’ = 1
  • 4. Boolean Algebra Theorems • Duality – The dual of a Boolean algebraic expression is obtained by interchanging the AND and the OR operators and replacing the 1’s by 0’s and the 0’s by 1’s. – x • ( y + z ) = ( x • y ) + ( x • z ) – x + ( y • z ) = ( x + y ) • ( x + z ) • Theorem 1 – x • x = x x + x = x • Theorem 2 – x • 0 = 0 x + 1 = 1 Applied to a valid equation produces a valid equation
  • 5. Boolean Algebra Theorems • Theorem 3: Involution – ( x’ )’ = x ( x ) = x • Theorem 4: Associative & Distributive – ( x • y ) • z = x • ( y • z ) ( x + y ) + z = x + ( y + z ) – x • ( y + z ) = ( x • y ) + ( x • z ) x + ( y • z ) = ( x + y ) • ( x + z ) • Theorem 5: De Morgan – ( x • y )’ = x’+ y’ ( x + y )’ = x’• y’ – ( x • y ) = x + y ( x + y ) = x • y • Theorem 6: Absorption – x • ( x + y ) = x x + ( x • y ) = x
  • 6. Boolean Functions[1] • Boolean Expression Example: F = x + y’ z • Truth Table All possible combinations of input variables • Logic Circuit x y z F 0 0 0 0 0 0 1 1 0 1 0 0 0 1 1 0 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 1x y z F
  • 7. Algebraic Manipulation • Literal: A single variable within a term that may be complemented or not. • Use Boolean Algebra to simplify Boolean functions to produce simpler circuits Example: Simplify to a minimum number of literals F = x + x’y ( 3 Literals) = x + ( x’y ) = ( x + x’ ) ( x + y ) = ( 1 ) ( x + y ) = x + y ( 2 Literals) Distributive law (+ over •)
  • 8. Complement of a Function • DeMorgan’s Theorm • Duality & Literal Complement CBAF  CBAF  CBAF  CBAF  CBAF  CBAF 
  • 9. Canonical Forms[1] • Minterm – Product (AND function) – Contains all variables – Evaluates to ‘1’ for a specific combination Example A = 0 A B C B = 0 (0) • (0) • (0) C = 0 1 • 1 • 1 = 1 A B C Minterm 0 0 0 0 m0 1 0 0 1 m1 2 0 1 0 m2 3 0 1 1 m3 4 1 0 0 m4 5 1 0 1 m5 6 1 1 0 m6 7 1 1 1 m7
  • 10. Canonical Forms[1] • Maxterm – Sum (OR function) – Contains all variables – Evaluates to ‘0’ for a specific combination Example A = 1 A B C B = 1 (1) + (1) + (1) C = 1 0 + 0 + 0 = 0 A B C Maxterm 0 0 0 0 M0 1 0 0 1 M1 2 0 1 0 M2 3 0 1 1 M3 4 1 0 0 M4 5 1 0 1 M5 6 1 1 0 M6 7 1 1 1 M7
  • 11. Canonical Forms[1] • Truth Table to Boolean Function CBAF  CBA CBA ABCA B C F 0 0 0 0 0 0 1 1 0 1 0 0 0 1 1 0 1 0 0 1 1 0 1 1 1 1 0 0 1 1 1 1
  • 12. Canonical Forms • Sum of Minterms • Product of Maxterms ABCCBACBACBAF  7541 mmmmF   )7,5,4,1(F CABBCACBACBAF  CABBCACBACBAF  CABBCACBACBAF  ))()()(( CBACBACBACBAF  6320 MMMMF   (0,2,3,6)F
  • 13. Standard Forms • Sum of Products (SOP) ABCCBACBACBAF  BA BA CCBA    )1( )( AC BBAC   )( CB AACB   )( )()()( BBACCCBAAACBF  ACBACBF 
  • 14. Standard Forms • Product of Sums (POS) CABBCACBACBAF  )( CCBA  )( AACB  )( BBCA  )()()( AACBCCBABBCAF  CBBACAF  ))()(( CBBACAF 
  • 15. Two-Level Implementations • Sum of Products (SOP) • Product of Sums (POS) B’ C FB’ A A C A C FB’ A B’ C ACBACBF  ))()(( CBBACAF 
  • 16. Logic Operators • AND • NAND (Not AND) x y x • y x y x • y x y AND 0 0 0 0 1 0 1 0 0 1 1 1 x y NAND 0 0 1 0 1 1 1 0 1 1 1 0
  • 17. Logic Operators • OR • NOR (Not OR) x y x + y x y x + y x y OR 0 0 0 0 1 1 1 0 1 1 1 1 x y NOR 0 0 1 0 1 0 1 0 0 1 1 0
  • 18. Logic Operators • XOR (Exclusive-OR) • XNOR (Exclusive-NOR) (Equivalence) x y x Å y x y + x y x y x Å y x  y x y + x y x y XOR 0 0 0 0 1 1 1 0 1 1 1 0 x y XNOR 0 0 1 0 1 0 1 0 0 1 1 1
  • 19. Logic Operators • NOT (Inverter) • Buffer x x x x x NOT 0 1 1 0 x Buffer 0 0 1 1
  • 21. De Morgan’s Theorem on Gates • AND Gate – F = x • y F = (x • y) F = x + y • OR Gate – F = x + y F = (x + y) F = x • y  Change the “Shape” and “bubble” all lines
  • 22. References 1. Computer Organization and Architecture, Designing for performance by William Stallings, Prentice Hall of India. 2. Modern Computer Architecture, by Morris Mano, Prentice Hall of India. 3. Computer Architecture and Organization by John P. Hayes, McGraw Hill Publishing Company. 4. Computer Organization by V. Carl Hamacher, Zvonko G. Vranesic, Safwat G. Zaky, McGraw Hill Publishing Company.