figure 2--1 illustration of a simple binary counting ... · logic gates ลอจิก ... pin...

52
1 Logic Gates ลอจิกเกต

Upload: lethu

Post on 10-Apr-2018

220 views

Category:

Documents


6 download

TRANSCRIPT

Page 1: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

1

Logic Gates ลอจกิเกต

Page 2: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

INVERTER

2

Page 3: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

ตารางความจรงิของ INVERTER

3

Page 4: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

INVERTER TIMING DIAGRAM

4

Inverter operation with a pulse input.

The inverter complements an input variable.

Page 5: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

INVERTER TIMING DIAGRAM

5

Page 6: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

AND GATE

6

Page 7: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

FIGURE 3--9 ALL POSSIBLE LOGIC LEVELS FOR A 2-INPUT AND GATE.

7

AND Gate Operation

Page 8: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

AND GATE TRUTH TABLE

8

Boolean expressions for AND gates

with two, three, and four inputs.

Page 9: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

ตารางความจรงิของ AND GATE

แบบสามอนิพตุ

9

Page 10: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

AND GATE TIMING DIAGRAM

10

Example of pulsed AND gate operation with a timing

diagram showing input and output relationships.

Page 11: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

AND GATE TIMING DIAGRAM

11

All must be

high for the

output to be

high

Page 12: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

AN AND GATE PERFORMING AN ENABLE/INHIBIT

FUNCTION FOR A FREQUENCY COUNTER.

12

AND Gate Application Example

Page 13: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

OR GATE

13

Page 14: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

ALL POSSIBLE LOGIC LEVELS

FOR A 2-INPUT OR GATE

14

OR Gate Operation

Page 15: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

OR GATE TRUTH TABLE

15

Boolean expressions for OR gates

with two, three, and four inputs.

Page 16: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

OR GATE TIMING DIAGRAM

16

Example of pulsed OR gate operation with a timing diagram

showing input and output time relationships.

Page 17: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

OR GATE TIMING DIAGRAM

17

All must be low for

the output to below

Page 18: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

OR GATE APPLICATION EXAMPLE

18

A simplified intrusion detection system

using an OR gate.

Page 19: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

NAND GATE

19

Page 20: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

OPERATION OF A 2-INPUT NAND GATE.

20

NAND Gate Operation

Page 21: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

NAND GATE TRUTH TABLE

21

Page 22: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

NAND GATE TIMING DIAGRAM

ABX

22

Page 23: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

FIGURE 3--29 STANDARD SYMBOLS REPRESENTING THE TWO

EQUIVALENT OPERATIONS OF A NAND GATE.

23

Page 24: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

NOR GATE

24

Page 25: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

OPERATION OF A 2-INPUT NOR GATE.

25

NOR Gate Operation

Page 26: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

NOR GATE TRUTH TABLE

26

Page 27: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

NOR GATE TIMING DIAGRAM

BAX

27

Page 28: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

STANDARD SYMBOLS REPRESENTING

THE TWO EQUIVALENT OPERATIONS

OF A NOR GATE.

28

Page 29: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

XOR GATE

29

Page 30: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

ALL POSSIBLE LOGIC LEVELS

FOR AN EXCLUSIVE-OR GATE

30

XOR Gate Operation

Page 31: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

XOR GATE TRUTH TABLE

BAX

31

Page 32: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

XOR GATE APPLICATION EXAMPLE

32

An XOR gate used to add two bits.

Page 33: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

XNOR GATE

33

Page 34: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

ALL POSSIBLE LOGIC LEVELS

FOR AN EXCLUSIVE-NOR GATE.

34

XNOR Gate Operation

Page 35: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

XNOR GATE TRUTH TABLE

BAX

35

Page 36: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

FIXED-FUNCTION LOGIC

: IC GATES

CMOS (Complementary Metal-Oxide

Semiconductor)

TTL (Transistor-Transistor Logic)

CMOS – lower power dissipation

36

Page 37: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

TYPICAL DUAL IN-LINE (DIP) AND SMALL-

OUTLINE (SOIC) PACKAGES SHOWING PIN

NUMBERS AND BASIC DIMENSIONS.

37

Page 38: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

PIN CONFIGURATION DIAGRAMS FOR SOME COMMON

FIXED-FUNCTION IC GATE CONFIGURATIONS. 38

Page 39: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

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.

39

Page 40: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

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

40

Page 41: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

PROPAGATION DELAY

41

Page 42: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

THE LS TTL NAND GATE OUTPUT FANS OUT

TO A MAXIMUM OF 20 LS TTL GATE INPUTS.

42

Higher fan-out = gate can be connected to more gate inputs.

Page 43: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

THE PARTIAL DATA SHEET FOR A 74LS00. 43

Page 44: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

THE EFFECT OF AN OPEN INPUT

ON A NAND GATE.

44

Troubleshooting

Page 45: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

TROUBLESHOOTING A NAND GATE FOR

AN OPEN INPUT WITH A LOGIC PULSER AND PROBE.

45

Page 46: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

PROGRAMMABLE LOGIC Programmable Arrays

46

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

Page 47: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

AN EXAMPLE OF A BASIC

PROGRAMMABLE AND ARRAY.

47

Page 48: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

BLOCK DIAGRAM OF A PROM

(PROGRAMMABLE READ-ONLY MEMORY).

48

4 Types of SPLDs

Page 49: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

BLOCK DIAGRAM OF A PLA

(PROGRAMMABLE LOGIC ARRAY).

49

Page 50: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

BLOCK DIAGRAM OF A PAL

(PROGRAMMABLE ARRAY LOGIC).

50

Page 51: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

BLOCK DIAGRAM OF A GAL

(GENERIC ARRAY LOGIC)

51

Page 52: Figure 2--1 Illustration of a simple binary counting ... · logic gates ลอจิก ... pin configuration diagrams for some common fixed-function ic gate configurations. 38

LOGIC GATE SUMMARY

52