Digital Fundamentals -...
Transcript of Digital Fundamentals -...
Digital Fundamentals
Logic gates
Objectives
•Describe the operation of the inverter, the AND gate, and the OR gate
•Describe the operation of the NAND gate and the NOR gate
•Express the operation of the NOT, AND, OR, NAND, and NOR gates with Boolean algebra
•Describe the operation of the exclusive-OR and exclusive-NOR gates
•Recognize and use both the distinctive shape logic gate symbols and the rectangular outline logic gate symbols of ANSI/IEEE Standard 91-1984
•Construct timing diagrams showing the proper time relationships of inputs and outputs for the various logic gates
•Make basic comparisons between the major IC technologies - CMOS and TTL
Logic gates 2
•
•Explain how the different series within the CMOS and TTL families differ from each other
•Define propagation, delay time, power dissipation, speed-power product, and fan-out in relation to logic gates
•List specific fixed-function integrated circuit devices that contain the various logic gates
•Use each logic gate in simple applications
•Troubleshoot logic gates for opens and shorts by using the logic pulser and probe or the oscilloscope
•Describe the basic concepts of programmable logic
Inverter
Check out the file F03-02!
Thruth table
Logic gates 3
AND Gate
Logic gates 4
Pulsed operation
Logic gates 5
Logic expressions for an AND gate
Logic gates 6
Enable/inhibit function with an AND gateAND works as a gate for the clock signal
Logic gates 7
Seat belt alarm system
Logic gates 8
OR Gate
Logic gates 9
Logic gates 10
0 + 0 = 0
0 + 1 = 1
1 + 0 = 1
1 + 1 = 1
Logic expressions for an OR gate
Logic gates 11
Simplified intrusion detection
Logic gates 12
NAND Gate
Logic gates 13
Equivalent operations!
Logic gates 14
Example
Logic gates 15
Example
Logic gates 16
Logic gates 17
NOR Gate
Logic gates 18
Equivalent operations!
Logic gates 19
Example
Logic gates 20
Logic gates 21
Exclusive-OR Gate
Logic gates 22
Exclusive-NOR Gate
Logic gates 23
Pulsed operation
Logic gates 24
Example
Logic gates 25
Fixed-function logic: IC gates
5V
Logic gates 26
3V3
Logic gates 27
Fixed-function logic gates - Examples
Logic gates 28
IC packages
Logic gates 29
Pin configuration diagrams for some common fixed-function ICs
Logic gates 30
Logic symbols for hex inverter
Logic gates 31
Performance characteristics and parameters
propagation delay time
PLHPHL tandt
Logic gates 32
DC Supply voltage (marked VCC)
With CMOS gates you can use wider supply voltage range:5V CMOS tolerates supply variations from 2V to 6V,3V3 CMOS tolerates supply variations from 2V to 3.6V
TTL requires stable supply voltage: maximum variationis +/- 10% (i.e. 4.5V to 5.5V)
Power dissipation (marked PD)
supply current with HIGH ouput
supply current with LOW ouput
Logic gates 33
+=2
CCLCCHCCD
IIVP
CMOS power dissipation is usually smaller compared to TTL, but the dissipationdepends on frequency (power dissipation for TTL has no frequency dependence).
Input and output logic levels
5V CMOS
1.5V
3.5V
5V CMOS
0.33V
4.4V
TTL
0.8V
2V
TTL
0.4V
2.4V
Logic gates 34
Speed-power product (SPP)
DPPtSPP =
can be used to compared devices when considering both the speed and the dissipation power
Fan-out and loading
Fan-out is the number of inputs (of the same IC family) that can be connected to its output and stillmantain the output voltage levels within specified limits.
In CMOS circuits the fan-out is high but depends on frequency thru capacitive effects
Logic gates 35
Comparison of propagation delay time and power in CMOS and TTL
Logic gates 36
Logic gates 37
Logic gates 38
How to read datasheets and find the information you need
Logic gates 39
Troubleshooting
Internal failures – An open TTL input acts as a HIGH level
Logic gates 40
Troubleshooting a NAND gate for an open input
Logic gates 41
Troubleshooting a NOR gate for an open input
Logic gates 42
Example
Logic gates 43
Example
Logic gates 44
Example
Logic gates 45
Logic gates 46
Programmable arrays – OR array
Logic gates 47
Programmable arrays – AND array
Logic gates 48
Classification of SPLDs – PROM
Logic gates 49
Classification of SPLDs – PLA (programmable logic array)
Logic gates 50
Classification of SPLDs – PAL (programmable array logic)
Logic gates 51
Classification of SPLDs – GAL
Logic gates 52
Summary
Logic gates 53
Summary
Logic gates 54