Boolean Algebra, Gates and Digital Logic
�BOOLEAN ALGEBRA�
�Boolean Expressions�
Boolean Expressions
�Boolean Identities�
Boolean Identities
Truth Table for AND
Inputs | Outputs |
x y | xy |
0 0 | 0 |
0 1 | 0 |
1 0 | 0 |
1 1 | 1 |
The logical operator AND is typically represented by either a dot or no symbol at all. For example, the Boolean expression xy is equivalent to the expression x · y and is read “x and y.” The expression xy is often referred to as a Boolean product.
The result of the expression xy is 1 only when both inputs are 1, and 0 otherwise.
Inputs | Outputs |
x y | xy |
0 0 | 0 |
0 1 | 0 |
1 0 | 0 |
1 1 | 1 |
Truth Table for OR
Inputs | Outputs |
x y | x + y |
0 0 | 0 |
0 1 | 1 |
1 0 | 1 |
1 1 | 1 |
The Truth Table for NOT
Inputs | Outputs |
x | y |
0 | 1 |
1 | 0 |
Logic Gates and Digital Logic Circuits
Logic Gates and Digital Logic Circuits
Gates Continued…
Logic Gates and Digital Logic Circuits
Symbols for AND gate, OR gate, and NOT gate(inverter), shown from left to right
Three Categories of Gates
AND Gate Symbol and AND GATE Truth Table
OR Gate
�NOT Gate�
�Universal gates�
�NAND Gate�
NOR gate
Summary
Three Input AND Gate
A | B | C | A.B.C |
0 | 0 | 0 | 0 |
0 | 0 | 1 | 0 |
0 | 1 | 0 | 0 |
0 | 1 | 1 | 0 |
1 | 0 | 0 | 0 |
1 | 0 | 1 | 0 |
1 | 1 | 0 | 1 |
1 | 1 | 1 | 1 |
Making A Three Input Gate
In class Activity- Four Input AND Gate
In-class Activity
�Exclusive OR�
Truth Table for Ex-OR (XOR)
The Boolean expression for A XOR B = AB’ + A’B ( A AND NOT B OR B AND NOT A)
A | B | A XOR B |
0 | 0 | 0 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 0 |
Draw a Circuit for AB’ + A’B (XOR)
EX-OR Symbol
EX-NOR
Truth Table for EX-NOR
The Boolean expression for A XOR B = A’B’ + AB
A | B | A XOR B |
0 | 0 | 1 |
0 | 1 | 0 |
1 | 0 | 0 |
1 | 1 | 1 |
EX-NOR Symbol
Gates and Integrated Circuits
Reading