Title: Lesson 2: Logic Functions and Gates
1Lesson 2 Logic Functions and Gates
2Boolean Algebra
- Uses symbols to state a logic function.
- Symbols stand for variables and primitive (basic)
logic operations. - The only constants are 1 and 0.
3Boolean Algebra
- Variables have only two possible values.
- True / False
- Yes / No
- 1 / 0
- Basic operations include NOT, AND, and OR.
- Derived operations include NAND, NOR, XOR, and
XNOR. - Combinations are limitless.
- Variables can be called inputs
- Results can be called outputs
4NOT operation
- The output is always the opposite of the input.
- We say that the NOT operation COMPLEMENTS a
variable. - Write it this way
- Truth Table
- Symbol
5AND operation
- Output is HIGH only if all inputs are HIGH
- Write it this way
- Truth Table
- Symbol
6AND gate as enable/inhibit gate
7AND gate with digital waveforms
8OR operation
- Output is HIGH if any input is HIGH
- Write it this way
- Truth Table
- Symbol
9OR gate as enable / inhibit
10OR gate with digital waveforms
11NAND operation
- Output is LOW when all inputs are HIGH
- Write it like this
- Truth Table
- Symbol
12NAND gate as enable / inhibit
13NAND gate with digital waveforms
14NOR operation
- Output is LOW if any input is HIGH
- (Book is wrong in Summary on page 50)
- Write it this way
- Truth Table
- Symbol
15NOR gate as enable / inhibit
16NOR gate with digital waveforms
17XOR operation
- Output is HIGH if an ODD number of inputs are
HIGH. - Write it like this
- Truth Table
- Symbol
18XOR as buffer / NOT gate
19XOR with digital waveforms
20XNOR operation
- Output is LOW if an odd number of inputs is HIGH.
(Coincidence gate) - Write it like this
- Truth Table
- Symbol
21XNOR as buffer / NOT gate
22XNOR with digital waveforms
23Enable / Inhibit Properties
24DeMorgan
- Where you cut the complement bar, the operator
changes.
25DeMorgan gates
26Switches as 1 and 0 Generator
27LED as a Boolean value indicator
28LED as a Boolean value indicator
29A word about LEDs
- Never directly connect an LED to an output or
power supply because a forward biased LED is
essentially a short circuit. - You must limit the current to about 10 ma.
- If Vcc is 5VDC, a 470 ohm resistor works OK.
- Remember, one 470 ohm resistor in series with
each and every LED.
30The Tristate Buffer
Also available as a NOT gate.
31LOGIC FAMILIES (74XXNN)
- LS Low-power schottky TTL
- AL Advanced Low-Power Schottky TTL
- F FAST TTL
- HC High-speed CMOS
- HCT High-speed CMOS w/TTL inputs
- LVX Low-voltage CMOS
- ABT Advanced BiCMOS (TTL/CMOS hybrid)
32IC Packages
- SOIC Small outline IC
- TSSOP Thin shrink small outline package
- PLCC Plastic leaded chip carrier
- QFP Quad flat pack
- BGA Ball grid array
All ICs must be connected to a power supply!!!!
33SOIC
34PLCC
35TSSOP
36QFP
37BGA
38Glossary
- Active High
- Active Low
- AND gate
- Ball Grid Array
- Boolean Algebra
- Boolean Variable
- Bubble
- Buffer
- Bus
39Glossary
- Chip
- Clock generator
- Coincidence gate
- Complement
- Complementary metal-oxide semiconductor (CMOS)
- DeMorgan equivalent forms
- Dual in-line package (DIP)
- Enable
- Exclusive NOR gate
- Exclusive OR gate
40Glossary
- Floating (floating node)
- High Impedance State
- Inhibit
- Integrated Circuit
- Inverter
- Large scale integrated circuit (LSI)
- Light emitting diode (LED)
- Logic function
- Logic gate
41Glossary
- Logical Product
- Logical Sum
- Medium Scale Integrated Circuit (MSI)
- NAND gate
- OR gate
- Plastic leaded chip carrier (PLCC)
- Pull-up resistor
- Quad flat pack (QFP)
- Small Outline IC (SOIC)
- Small Scale Integrated circuit (SSI)
42Glossary
- Surface-mounted technology (SMT)
- Thin Shrink small outline package (TSSOP)
- Through hole
- Transistor-transistor logic (TTL)
- Tristate Buffer
- True form
- Vcc
- Very Large Scale Integrated circuit (VLSI)