SlideShare a Scribd company logo
1 of 22
Digital Logic Circuits, Digital
Component and Data
Representation
Course: BCA-2nd Sem
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

Introduction to R
Introduction to RIntroduction to R
Introduction to RHappy Garg
 
Jordan's solution
Jordan's solutionJordan's solution
Jordan's solutionsabsma
 
Exponential and logarithmic graphs
Exponential and logarithmic graphsExponential and logarithmic graphs
Exponential and logarithmic graphsShaun Wilson
 
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__
 
Problem Application of Antiderivatives
Problem Application of AntiderivativesProblem Application of Antiderivatives
Problem Application of Antiderivativesnyaz26
 
Edu presentation1
 Edu presentation1 Edu presentation1
Edu presentation1hook1kf
 
June Overview SN5 Math
June Overview SN5 MathJune Overview SN5 Math
June Overview SN5 Mathamcsquared
 
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
 
Use of normal probability distribution
Use of normal probability distributionUse of normal probability distribution
Use of normal probability distributionNadeem Uddin
 
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
 
C7 7.4
C7 7.4C7 7.4
C7 7.4BGEsp1
 

What's hot (18)

Lec39
Lec39Lec39
Lec39
 
Introduction to R
Introduction to RIntroduction to R
Introduction to R
 
Jordan's solution
Jordan's solutionJordan's solution
Jordan's solution
 
Exponential and logarithmic graphs
Exponential and logarithmic graphsExponential and logarithmic graphs
Exponential and logarithmic graphs
 
cheb_conf_aksenov.pdf
cheb_conf_aksenov.pdfcheb_conf_aksenov.pdf
cheb_conf_aksenov.pdf
 
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
 
Problem Application of Antiderivatives
Problem Application of AntiderivativesProblem Application of Antiderivatives
Problem Application of Antiderivatives
 
Edu presentation1
 Edu presentation1 Edu presentation1
Edu presentation1
 
June Overview SN5 Math
June Overview SN5 MathJune Overview SN5 Math
June Overview SN5 Math
 
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
 
Arrays
ArraysArrays
Arrays
 
Regras diferenciacao
Regras diferenciacaoRegras diferenciacao
Regras diferenciacao
 
Use of normal probability distribution
Use of normal probability distributionUse of normal probability distribution
Use of normal probability distribution
 
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
 
Identidades
IdentidadesIdentidades
Identidades
 
125 5.2
125 5.2125 5.2
125 5.2
 
C7 7.4
C7 7.4C7 7.4
C7 7.4
 

Similar to Bca 2nd sem-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
 
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
 
booleanalgebra-140914001141-phpapp01 (1).ppt
booleanalgebra-140914001141-phpapp01 (1).pptbooleanalgebra-140914001141-phpapp01 (1).ppt
booleanalgebra-140914001141-phpapp01 (1).pptmichaelaaron25322
 
boolean algebra and logic simplification
boolean algebra and logic simplificationboolean algebra and logic simplification
boolean algebra and logic simplificationUnsa Shakir
 
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 expression org.
Boolean expression org.Boolean expression org.
Boolean expression org.mshoaib15
 
Boolean algebra And Logic Gates
Boolean algebra And Logic GatesBoolean algebra And Logic Gates
Boolean algebra And Logic GatesKumar
 
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
 
Digital Techniques all Chapter PPT used for Diploma Students
Digital Techniques all Chapter PPT used for Diploma StudentsDigital Techniques all Chapter PPT used for Diploma Students
Digital Techniques all Chapter PPT used for Diploma Studentsmohsin8283
 
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
 
DM2020 boolean algebra
DM2020 boolean algebraDM2020 boolean algebra
DM2020 boolean algebraRobert Geofroy
 

Similar to Bca 2nd sem-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
 
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)
 
booleanalgebra-140914001141-phpapp01 (1).ppt
booleanalgebra-140914001141-phpapp01 (1).pptbooleanalgebra-140914001141-phpapp01 (1).ppt
booleanalgebra-140914001141-phpapp01 (1).ppt
 
boolean algebra and logic simplification
boolean algebra and logic simplificationboolean algebra and logic simplification
boolean algebra and logic simplification
 
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
 
CHAPTER_3.1.ppt
CHAPTER_3.1.pptCHAPTER_3.1.ppt
CHAPTER_3.1.ppt
 
Boolean expression org.
Boolean expression org.Boolean expression org.
Boolean expression org.
 
Boolean algebra And Logic Gates
Boolean algebra And Logic GatesBoolean algebra And Logic Gates
Boolean algebra And Logic Gates
 
Digital Electronics
Digital ElectronicsDigital Electronics
Digital Electronics
 
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
 
Digital Techniques all Chapter PPT used for Diploma Students
Digital Techniques all Chapter PPT used for Diploma StudentsDigital Techniques all Chapter PPT used for Diploma Students
Digital Techniques all Chapter PPT used for Diploma Students
 
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
Boolean algebraBoolean algebra
Boolean algebra
 
sop_pos(DE).pptx
sop_pos(DE).pptxsop_pos(DE).pptx
sop_pos(DE).pptx
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
DM2020 boolean algebra
DM2020 boolean algebraDM2020 boolean algebra
DM2020 boolean algebra
 
BOOLEAN ALGEBRA & LOGIC GATE
BOOLEAN ALGEBRA & LOGIC GATEBOOLEAN ALGEBRA & LOGIC GATE
BOOLEAN ALGEBRA & LOGIC GATE
 
02-gates-w.pptx
02-gates-w.pptx02-gates-w.pptx
02-gates-w.pptx
 

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

This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesShubhangi Sonawane
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Shubhangi Sonawane
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
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
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
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
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 

Recently uploaded (20)

This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
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
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
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
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 

Bca 2nd sem-u-1.5 digital logic circuits, digital component

  • 1. Digital Logic Circuits, Digital Component and Data Representation Course: BCA-2nd Sem 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.