CSSE132' Introduc0on'to'Computer'Systems'
8":"Boolean"Algebra" March"7,"2013"
- Adapted from ECE 130
CSSE132' Introduc0on'to'Computer'Systems' - - PowerPoint PPT Presentation
Adapted from ECE 130 CSSE132' Introduc0on'to'Computer'Systems' 8":"Boolean"Algebra" March"7,"2013" Today: Boolean Albebra ! Postulates ! Theorems ! DeMorgans Theorem ! Some Definitions ! Canonical Forms
Lecture 6 Boolean Algebra Intro, ECE130 Fall 2012 -- 3
Lecture 6 Boolean Algebra Intro, ECE130 Fall 2012 -- 4
Lecture 6 Boolean Algebra Intro, ECE130 Fall 2012 -- 5
A B A+B A+B’ (A+B)(A+B’) AB AB’ AB+AB’ 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Lecture 6 Boolean Algebra Intro, ECE130 Fall 2012 -- 6
Lecture 6 Boolean Algebra Intro, ECE130 Fall 2012 -- 7
A B A’ B’ A+B (A+B)’ A’B’ (AB)’ A’+B’ 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Lecture 6 Boolean Algebra Intro, ECE130 Fall 2012 -- 8
Lecture 6 Boolean Algebra Intro, ECE130 Fall 2012 -- 9
A B C Minterm Minterm number Maxterm Maxterm number 0 0 0 A’B’C’ ∑(0) A+B+C Π(0) 0 0 1 A’B’C ∑(1) A+B+C’ Π(1) 0 1 0 A’BC’ ∑(2) A+B’+C Π(2) 0 1 1 A’BC ∑(3) A+B’+C’ Π(3) 1 0 0 AB’C’ ∑(4) A’+B+C Π(4) 1 0 1 AB’C ∑(5) A’+B+C’ Π(5) 1 1 0 ABC’ ∑(6) A’+B’+C Π(6) 1 1 1 A*B*C ∑(7) A’+B’+C’ Π(7)
Lecture 6 Boolean Algebra Intro, ECE130 Fall 2012 -- 10
Lecture 6 Boolean Algebra Intro, ECE130 Fall 2012 -- 11
" Complement of a function consists of all terms that causes
" Again, all those new terms form “0” entries in the truth table.
Lecture 6 Boolean Algebra Intro, ECE130 Fall 2012 -- 12
Lecture 6 Boolean Algebra Intro, ECE130 Fall 2012 -- 13
"
a + b = b + a
"
a * b = b * a
"
a * (b + c) = a * b + a * c
"
a + (b * c) = (a + b) * (a + c)
"
(a + b) + c = a + (b + c)
"
(a * b) * c = a * (b * c)
"
0 + a = a + 0 = a
"
1 * a = a * 1 = a
! Complement
"
a + a’ = 1
"
a * a’ = 0
Lecture 6 Boolean Algebra Intro, ECE130 Fall 2012 -- 14
"
Use commutative property: a*b*c’ = a*c’*b = c’*a*b = c’*b*a
"
Use first distributive property
abc + abc’ = ab(c+c’).
"
Complement property
Replace c+c’ by 1: ab(c+c’) = ab(1).
"
Identity property
ab(1) = ab*1 = ab.
"
Second distributive property
Replace x+x’z by (x+x’)*(x+z).
"
Complement property
Replace (x+x’) by 1,
"
Identity property
replace 1*(x+z) by x+z.
Lecture 6 Boolean Algebra Intro, ECE130 Fall 2012 -- 15
Lecture 6 Boolean Algebra Intro, ECE130 Fall 2012 -- 16
Lecture 6 Boolean Algebra Intro, ECE130 Fall 2012 -- 17
Lecture 6 Boolean Algebra Intro, ECE130 Fall 2012 -- 18
Lecture 6 Boolean Algebra Intro, ECE130 Fall 2012 -- 19
A B G 1 1 1 1 1 1 1
AND * AND Gate 1 2 3 B A F G OR + OR Gate 1 2 3 A B
A B F 1 1 1 1 1
* F A B = F A B = +
A z 1 1
A Z NOT Inv erter Gate 1 2
Z = A' = A
Lecture 5 Switches, Gates and Chips, ECE130 Fall 2012-- 20
" NAND : NOT(AND) " NOR : NOT(OR) " XOR : " XNOR : NOT(XOR)
" All gates can be implemented with NAND and NOR " Called ‘Universal logic gate’
Lecture 6 Boolean Algebra Intro, ECE130 Fall 2012 -- 23