Digital Ch1
Digital Ch1
CHAPTER 1
Boolean Algebra and Logic Gates
Slide 1
Boolean Constants and Variables
• Boolean algebra allows only two values—0 and 1.
– Logic 0 can be: false, off, low, no, open switch.
– Logic 1 can be: true, on, high, yes, closed switch.
Slide 4
Logic Gates
• Inverter
• AND Gate
• OR Gate
• Exclusive-OR Gate
• NAND Gate
• NOR Gate
• Exclusive-NOR Gate
Slide 5
The Inverter
Slide 6
The AND Gate
Boolean expression
Truth table
Same as Boolean
0 = LOW
1 = HIGH multiplication Pulsed waveforms
Slide 7
The AND Gate
Slide 8
The OR Gate
Boolean expression
Slide 9
The OR Gate
3-Input OR Gate
4-Input OR Gate
Slide 10
The NAND Gate
Boolean expression
Truth table
0 = LOW
1 = HIGH
Pulsed waveforms
Slide 11
The NAND Gate
Slide 12
The NOR Gate
Boolean expression
Truth table
0 = LOW
1 = HIGH
Pulsed waveforms
Slide 13
The NOR Gate
Slide 14
Exclusive-OR Gate
Boolean expression
Truth table
0 = LOW
1 = HIGH
Pulsed waveforms
Slide 15
Exclusive-NOR Gate
Boolean expression
Truth table
0 = LOW
1 = HIGH
Pulsed waveforms
Slide 16
Review of Basic Logic Gates
• Inverter
• AND Gate
• OR Gate
• Exclusive-OR Gate
• NAND Gate
• NOR Gate
• Exclusive-NOR Gate
Slide 17
Fixed-Function Logic
• CMOS
– Complementary Metal-Oxide Semiconductor
• TTL
– Transistor-Transistor Logic
• Logic Functions operate the same in
CMOS and TTL.
• Different voltage, power, speed
Slide 18
CMOS
TTL
●
DC Voltage is 5 V
●
Not sensitive to electrostatic discharge.
Slide 19
Basic Characteristics of Digital ICs
TTL
INVERTER
CMOS devices perform the same function as, but are not
necessarily pin for pin compatible with TTL devices.
CMOS
INVERTER
Slide 24
Pin configuration diagrams for some common fixed-function IC gate
configurations.
Slide 25
Figure 3–65 The partial data sheet for a 74LS00.
Slide 26
Boolean Operations and Expressions
• Addition • Multiplication
0+0=0 0*0=0
0+1=1 0*1=0
1+0=1 1*0=0
1+1=1 1*1 =1
Slide 27
Laws Boolean Algebra
• Commutative Laws
• Associative Laws
• Distributive Law
Slide 28
Laws of Boolean Algebra
Slide 29
Laws of Boolean Algebra
• Associative Law of Addition:
A + (B + C) = (A + B) + C
Slide 30
Laws of Boolean Algebra
• Distributive Law:
A(B + C) = AB + AC
Slide 31
Rules of Boolean Algebra
Slide 32
Rules of Boolean Algebra
• Rule 1
OR Truth Table
Slide 33
Rules of Boolean Algebra
• Rule 2
OR Truth Table
Slide 34
Rules of Boolean Algebra
• Rule 3
Slide 35
Rules of Boolean Algebra
• Rule 4
Slide 36
Rules of Boolean Algebra
• Rule 5
OR Truth Table
Slide 37
Rules of Boolean Algebra
• Rule 6
OR Truth Table
Slide 38
Rules of Boolean Algebra
• Rule 7
Slide 39
Rules of Boolean Algebra
• Rule 8
Slide 40
Rules of Boolean Algebra
• Rule 9
Slide 41
Rules of Boolean Algebra
• Rule 10: A + AB = A
Slide 42
Rules of Boolean Algebra
Slide 43
Rules of Boolean Algebra
Slide 44
DeMorgan’s Theorem
Slide 45
DeMorgan’s Theorems
• Theorem 1
XY = X +Y
• Theorem 2
X +Y = X Y
Remember:
“Break the bar,
change the sign”
Slide 46
DeMorgan’s Theorems
Slide 51