 Chapter 3 Logic Gates.

Presentation on theme: "Chapter 3 Logic Gates."— Presentation transcript:

Chapter 3 Logic Gates

Inverter

Inverter Truth Table

Inverter Timing Diagram
Figure Inverter operation with a pulse input. Figure The inverter complements an input variable.

Inverter Timing Diagram

AND gate

Figure 3--9 All possible logic levels for a 2-input AND gate.
AND Gate Operation Figure All possible logic levels for a 2-input AND gate.

AND Gate Truth Table Figure Boolean expressions for AND gates with two, three, and four inputs.

AND Gate Truth Table

AND Gate Timing Diagram
Figure Example of pulsed AND gate operation with a timing diagram showing input and output relationships.

AND Gate Timing Diagram
All must be high for the output to be high

AND Gate Application Example
Figure An AND gate performing an enable/inhibit function for a frequency counter.

OR Gate

Figure 3--18 All possible logic levels for a 2-input OR gate
OR Gate Operation Figure All possible logic levels for a 2-input OR gate

OR Gate Truth Table Figure Boolean expressions for OR gates with two, three, and four inputs.

OR Gate Timing Diagram Figure Example of pulsed OR gate operation with a timing diagram showing input and output time relationships.

OR Gate Timing Diagram All must be low for the output to be low

OR Gate Application Example
Figure A simplified intrusion detection system using an OR gate.

NAND Gate

Figure 3--26 Operation of a 2-input NAND gate.
NAND Gate Operation Figure Operation of a 2-input NAND gate.

NAND Gate Truth Table

NAND Gate Timing Diagram

Figure 3--29 Standard symbols representing the two equivalent operations of a NAND gate.

NOR Gate

Figure 3--34 Operation of a 2-input NOR gate.
NOR Gate Operation Figure Operation of a 2-input NOR gate.

NOR Gate Truth Table

NOR Gate Timing Diagram

Figure 3--37 Standard symbols representing the two equivalent operations of a NOR gate.

XOR Gate

Figure 3--42 All possible logic levels for an exclusive-OR gate
XOR Gate Operation Figure All possible logic levels for an exclusive-OR gate

XOR Gate Truth Table

XOR Gate Application Example
Figure An XOR gate used to add two bits.

XNOR Gate

Figure 3--45 All possible logic levels for an exclusive-NOR gate.
XNOR Gate Operation Figure All possible logic levels for an exclusive-NOR gate.

XNOR Gate Truth Table

Fixed-Function Logic : IC Gates
CMOS (Complementary Metal-Oxide Semiconductor) TTL (Transistor-Transistor Logic) CMOS – lower power dissipation

Figure Typical dual in-line (DIP) and small-outline (SOIC) packages showing pin numbers and basic dimensions.

Figure 3--50 Pin configuration diagrams for some common fixed-function IC gate configurations.

Figure Logic symbols for hex inverter (04 suffix) and quad 2-input NAND (00 suffix). The symbol applies to the same device in any CMOS or TTL series.

Performance Characteristics and Parameters
Propagation delay Time DC Supply Voltage (VCC) Power Dissipation Input and Output Logic Levels Speed-Power product Fan-Out and Loading

Figure 3--52 Propagation Delay

Higher fan-out = gate can be connected to more gate inputs.
Figure The LS TTL NAND gate output fans out to a maximum of 20 LS TTL gate inputs.

Figure 3--57 The partial data sheet for a 74LS00.

Figure 3--59 The effect of an open input on a NAND gate.
Troubleshooting Figure The effect of an open input on a NAND gate.

Figure 3--60 Troubleshooting a NAND gate for an open input with a logic pulser and probe.

Figure 3--65 An example of a basic programmable OR array.
Programmable Logic Programmable Arrays Figure An example of a basic programmable OR array.

Figure 3--66 An example of a basic programmable AND array.

Figure 3--67 Block diagram of a PROM (programmable read-only memory).
4 Types of SPLDs Figure Block diagram of a PROM (programmable read-only memory).

Figure 3--68 Block diagram of a PLA (programmable logic array).

Figure 3--69 Block diagram of a PAL (programmable array logic).

Figure 3--70 Block diagram of a GAL (generic array logic).

Figure 3--71 Logic Gate Summary