Boolean logic and algebra Flashcards
Boolean logic for AND, OR and NOT
AND = A.B
OR = A+B
NOT = Ā
Why would you simplify circuits
Less logic gates means simpler circuits meaning cheaper designs and cheaper processers etc.
How can you simplify circuits
Using algebra or truth tables
List all 8 Boolean algebraic identifiers
0+A = A
1+A = 1
A+A = A
A+Ā = 1
0.A = 0
1.A = A
A.A = A
A.Ā = 0
Algebraic Boolean properties
Commutative
Associative
Distributive
Commutative:
A.B = B.A
A+B = B+A
Associative:
A . (B.C) = (A.B) . C
A + (B + C) = (A + B) + C
Distributive:
A . (B + C) = A.B + A.C
(A + B) . (A + C) = A + B.C
1) A.B + Ā.B
2) Ā + B.Ā
3) Ā . (A + B)
4) B. (A + A.B)
5) (A + A) . (A + B)
1) B
2) Ā
3) Ā.B
4) A.B
5) A
Simple way to remember De Morgan’s Law
Break the line; change the sign
What is the order of precedence
B.N.A.O
Brackets, Not, And, Or
How to simplify Boolean algebra
- Identify any NOR or NAND
- Use De Morgan’s’ law