SlideShare a Scribd company logo
1 of 88
Download to read offline
Logic Functions and Gates
 The three basic logic functions are:
◦ AND
◦ OR
◦ NOT
2
 Logic functions can be represented:
 algebraically
 using truth tables
 using electronic circuits.
3
 Uses Boolean algebra.
 Boolean variables have two states (binary).
 Boolean operators include AND, OR, and NOT.
4
 Defines the output of a function for every
possible combination of inputs.
 A system with n inputs has 2n possible
combinations.
5
 Uses logic gates to perform Boolean algebraic
functions.
 Gates can be represented by schematic
symbols.
 Symbols can be either distinctive-shape or
rectangular-outline.
6
 Uses different graphic representations for
different logic functions.
 Uses a bubble (a small circle) to indicate a
logical inversion.
7
 All functions are shown in rectangular
form with the logic function indicated by
standard notation inside the rectangle.
 The notation specifying the logic function
is called the qualifying symbol.
 Inversion is indicated by a 1/2 arrowhead.
8
 One input and one output.
 The output is the opposite logic level of the
input.
 The output is the complement of the input.
9
 Inversion is indicated by a bar over the
signal to be inverted.
10
AY 
 Called a NOT gate or, more usually, an
INVERTER.
 Distinctive-shape symbol is a triangle with
inversion bubble.
 Rectangular-shape symbol uses “1” and the
inversion 1/2 arrowhead.
11
12
 Two or more inputs, one output.
 Output is HIGH only when all of the inputs are
HIGH.
 Output is LOW whenever any input is LOW.
13
A B Y
0 0 0
0 1 0
1 0 0
1 1 1
14
 AND symbol is “•” or nothing at all.
15
ABY
BAY


 Called an AND gate.
 Distinctive-shape symbol uses AND
designation.
 Rectangular-shape symbol use “&” as
designator.
16
17
18
A B C Y
0 0 0 0
0 0 1 0
0 1 0 0
0 1 1 0
1 0 0 0
1 0 1 0
1 1 0 0
1 1 1 1
19
 Two or more inputs, one output.
 Output is HIGH whenever one or more input
is HIGH.
 Output is LOW only when all of the inputs are
LOW.
20
A B Y
0 0 0
0 1 1
1 0 1
1 1 1
21
 OR symbol is “+”.
 Y = A + B
22
 Called an OR gate.
 Distinctive-shape symbol uses OR
designation.
 Rectangular-shape symbol uses “” as
designator.
23
24
 The logic level defined as “ON” for a circuit.
 When a logic HIGH is “ON”, the signal is
active-HIGH.
 When a logic LOW is “ON”, the signal is
active-LOW.
25
 Generated by inverting the output of the AND
function.
 Output is HIGH whenever any input is LOW.
 Output is LOW only when all inputs are HIGH.
26
A B Y
0 0 1
0 1 1
1 0 1
1 1 0
27
 Uses AND with an inversion overbar.
28
BAY 
 Called a NAND gate.
 Uses the AND symbol with inversion on.
29
30
 Generated by inverting the output of the OR
function.
 Output is HIGH only when all inputs are LOW.
 Outputs is LOW whenever any input is HIGH.
31
A B Y
0 0 1
0 1 0
1 0 0
1 1 0
32
 Uses OR with an inversion overbar.
33
BAY 
 Called a NOR gate.
 Uses OR symbol with inversion on the output.
34
35
 3 Input NAND:
 3 Input NOR:
36
CBAY 
CBAY 
CBA A B C
0 0 0 1 1
0 0 1 1 0
0 1 0 1 0
0 1 1 1 0
1 0 0 1 0
1 0 1 1 0
1 1 0 1 0
1 1 1 0 0
CBA 
37
CBA
 Two inputs, one output.
 Output is HIGH when one, and only one, input
is HIGH.
 Output is LOW when both inputs are equal –
both HIGH or both LOW.
38
39
A B Y
0 0 0
0 1 1
1 0 1
1 1 0
40
 Two inputs, one output.
 Output is HIGH when both inputs are equal –
both HIGH or both LOW.
 Output is LOW when one, and only one, input
is HIGH.
41
42
A B Y
0 0 1
0 1 0
1 0 0
1 1 1
43
 A NAND gate can be represented by an AND
gate with inverted output.
 A NAND gate can be represented by an OR
gate with inverted inputs.
44
45
 A NOR gate can be represented by an OR gate
with inverted output.
 A NOR gate can be represented by an AND
gate with inverted inputs.
46
 Change an AND function to an OR function
and an OR function to an AND function.
 Invert the inputs.
 Invert the outputs.
47
 Break the line and change the sign
48
BABA 
BABA 
 The following are two common errors
associated with DeMorgan’s Theorem:


49
BABA 
BABA 
 Any INPUT or OUTPUT that has a BUBBLE is
considered as active LOW.
 Any INPUT or OUTPUT that has no BUBBLE is
considered as active HIGH.
50

 At least one input HIGH makes the output
LOW.

 All inputs LOW make the output HIGH.
51
BAY 
BAY 
52
 Provides a logic HIGH or LOW depending on
switch position.
 Commonly used types include normally-open
pushbutton, normally-closed pushbutton,
single-pole single-throw, and single-pole
double-throw.
53
54
55
 Two-pole push button allows for normally
HIGH and normally LOW levels from the same
switch.
56
57
 Used to indicate the status of a digital output.
 Has two terminals the anode and the cathode.
 If the anode is approximately 1.5 V greater
than the cathode, current flows and the LED
illuminates.
58
59
60
 Used to provide a visual indication of a logic
state.
 Can be wired to display active-HIGH or
active-LOW.
61
62
63
 The input to a gate that allows the output to
respond to other inputs.
 A logic LOW for an OR or NOR gate, a logic
HIGH for an AND or NAND gate.
64
 The input to a gate that forces the output to
ignore any other input.
 A logic HIGH for an OR or NOR gate, a logic
LOW for an AND or NAND gate.
65
66
67
68
69
70
71
Control AND OR NAND NOR XOR XNOR
A = 0 Y = 0 Y = B Y = 1 Y = B
A = 1 Y = B Y = 1 Y = 0 Y = BBY 
BY 
BY 
72
BY 
 Three output states, HIGH, LOW and high-
impedance.
 Requires a separate input to control which
output state is selected.
73
74
75
 Used to connect multiple outputs together.
 Used in controlling the operation of buses.
76
77
 Contains two groups of four non-inverting
tri-state buffers.
 Each group is controlled by a separate
enable input.
78
G
79
 Integrated Circuits (ICs) contain many
components in a single package.
 Several packaging options are available.
 One common package is called dual-in-line
(DIP).
80
81
 One common form is transistor-transistor
logic, called TTL.
 The other common form is Complementary
Metal-Oxide Semiconductor, called CMOS.
82
Part Number Logic Family
74LS00 Low-power Schottky TTL
74ALS00 Advanced low-power Schottky TTL
74F00 FAST TTL
74HC00 High-speed CMOS
74CT00 High-speed CMOS (TTL-compatible inputs)
74LVX00 Low-voltage CMOS
74ABT00 Advanced BiCMOS (TTL/CMOS hybrid)
83
 Standard form is 74XXFF, where 74 is the
logic family identifier, XX is the logic family
member and FF identifies the specific logic
function.
 SN74ALS00N
84
 PLCC - plastic lead chip carrier
 SOIC - small outline integrated circuit
 TSSOP – thin shrink small outline package
 QFP – quad flat pack
 DIP – dual inline package
 BGA – ball grid array
85
86
 Can be mounted on the surface of a circuit
board or mounted in a socket.
 Pins are equally distributed on four sides.
 Pin 1 placed on the center of one of the
rows, as indicated by a dot.
 Pins number counterclockwise from this
point.
87
88

More Related Content

What's hot

Boolean expression org.
Boolean expression org.Boolean expression org.
Boolean expression org.mshoaib15
 
5. Linear Algebra for Machine Learning: Singular Value Decomposition and Prin...
5. Linear Algebra for Machine Learning: Singular Value Decomposition and Prin...5. Linear Algebra for Machine Learning: Singular Value Decomposition and Prin...
5. Linear Algebra for Machine Learning: Singular Value Decomposition and Prin...Ceni Babaoglu, PhD
 
Discrete Mathematics Lecture Notes
Discrete Mathematics Lecture NotesDiscrete Mathematics Lecture Notes
Discrete Mathematics Lecture NotesFellowBuddy.com
 
De Morgan Theorem B[1]
De Morgan Theorem B[1]De Morgan Theorem B[1]
De Morgan Theorem B[1]Mr. Bullerman
 
Chapter 3: Simplification of Boolean Function
Chapter 3: Simplification of Boolean FunctionChapter 3: Simplification of Boolean Function
Chapter 3: Simplification of Boolean FunctionEr. Nawaraj Bhandari
 
Encoder, decoder, multiplexers and demultiplexers
Encoder, decoder, multiplexers and demultiplexersEncoder, decoder, multiplexers and demultiplexers
Encoder, decoder, multiplexers and demultiplexerspubgalarab
 
Combinational Circuits & Sequential Circuits
Combinational Circuits & Sequential CircuitsCombinational Circuits & Sequential Circuits
Combinational Circuits & Sequential Circuitsgourav kottawar
 
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational Circuits
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational CircuitsCOMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational Circuits
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational CircuitsVanitha Chandru
 
P, NP, NP-Complete, and NP-Hard
P, NP, NP-Complete, and NP-HardP, NP, NP-Complete, and NP-Hard
P, NP, NP-Complete, and NP-HardAnimesh Chaturvedi
 
Programmable Logic Devices
Programmable Logic DevicesProgrammable Logic Devices
Programmable Logic DevicesMadhusudan Donga
 
Algorithm analysis and efficiency
Algorithm analysis and efficiencyAlgorithm analysis and efficiency
Algorithm analysis and efficiencyppts123456
 

What's hot (20)

Boolean expression org.
Boolean expression org.Boolean expression org.
Boolean expression org.
 
5. Linear Algebra for Machine Learning: Singular Value Decomposition and Prin...
5. Linear Algebra for Machine Learning: Singular Value Decomposition and Prin...5. Linear Algebra for Machine Learning: Singular Value Decomposition and Prin...
5. Linear Algebra for Machine Learning: Singular Value Decomposition and Prin...
 
Discrete Mathematics Lecture Notes
Discrete Mathematics Lecture NotesDiscrete Mathematics Lecture Notes
Discrete Mathematics Lecture Notes
 
De Morgan Theorem B[1]
De Morgan Theorem B[1]De Morgan Theorem B[1]
De Morgan Theorem B[1]
 
asymptotic notation
asymptotic notationasymptotic notation
asymptotic notation
 
Chapter 3: Simplification of Boolean Function
Chapter 3: Simplification of Boolean FunctionChapter 3: Simplification of Boolean Function
Chapter 3: Simplification of Boolean Function
 
LFSR
LFSRLFSR
LFSR
 
Digital Logic Design
Digital Logic Design Digital Logic Design
Digital Logic Design
 
Encoder, decoder, multiplexers and demultiplexers
Encoder, decoder, multiplexers and demultiplexersEncoder, decoder, multiplexers and demultiplexers
Encoder, decoder, multiplexers and demultiplexers
 
Logic gates presentation
Logic gates presentationLogic gates presentation
Logic gates presentation
 
Combinational Circuits & Sequential Circuits
Combinational Circuits & Sequential CircuitsCombinational Circuits & Sequential Circuits
Combinational Circuits & Sequential Circuits
 
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational Circuits
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational CircuitsCOMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational Circuits
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational Circuits
 
Recursive algorithms
Recursive algorithmsRecursive algorithms
Recursive algorithms
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
 
P, NP, NP-Complete, and NP-Hard
P, NP, NP-Complete, and NP-HardP, NP, NP-Complete, and NP-Hard
P, NP, NP-Complete, and NP-Hard
 
Digital Components
Digital ComponentsDigital Components
Digital Components
 
Programmable Logic Devices
Programmable Logic DevicesProgrammable Logic Devices
Programmable Logic Devices
 
Unit 1 chapter 1 Design and Analysis of Algorithms
Unit 1   chapter 1 Design and Analysis of AlgorithmsUnit 1   chapter 1 Design and Analysis of Algorithms
Unit 1 chapter 1 Design and Analysis of Algorithms
 
Algorithm analysis and efficiency
Algorithm analysis and efficiencyAlgorithm analysis and efficiency
Algorithm analysis and efficiency
 
Galois field
Galois fieldGalois field
Galois field
 

Similar to Chapter 02 Logic Functions and Gates

perform operation with boolean algebra
perform operation with boolean algebraperform operation with boolean algebra
perform operation with boolean algebraBrenda Debra
 
Logic Gates & Related Device
Logic Gates & Related DeviceLogic Gates & Related Device
Logic Gates & Related DeviceMd. Nahidul Islam
 
combinational _logic_circuit_digital.pptx
combinational _logic_circuit_digital.pptxcombinational _logic_circuit_digital.pptx
combinational _logic_circuit_digital.pptxNadzlinIbrahim3
 
Logic gates And Boolen algebra
Logic gates And  Boolen algebraLogic gates And  Boolen algebra
Logic gates And Boolen algebraVeera Venky
 
Lecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptxLecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptxWilliamJosephat1
 
boolean algrebra and logic gates in short
boolean algrebra and logic gates in shortboolean algrebra and logic gates in short
boolean algrebra and logic gates in shortRojin Khadka
 
Digital logic gates and Boolean algebra
Digital logic gates and Boolean algebraDigital logic gates and Boolean algebra
Digital logic gates and Boolean algebraSARITHA REDDY
 
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.Satya P. Joshi
 
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates. Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates. Satya P. Joshi
 
Basic gates and functions
Basic gates and functionsBasic gates and functions
Basic gates and functionspong_sk1
 
Logic gatesrevised.ppt
Logic gatesrevised.pptLogic gatesrevised.ppt
Logic gatesrevised.pptDevanDev7
 
Basic Gates in Digital Logic
Basic Gates in Digital LogicBasic Gates in Digital Logic
Basic Gates in Digital LogicISMT College
 

Similar to Chapter 02 Logic Functions and Gates (20)

perform operation with boolean algebra
perform operation with boolean algebraperform operation with boolean algebra
perform operation with boolean algebra
 
Digital logic
Digital logicDigital logic
Digital logic
 
Logic Gates & Related Device
Logic Gates & Related DeviceLogic Gates & Related Device
Logic Gates & Related Device
 
combinational _logic_circuit_digital.pptx
combinational _logic_circuit_digital.pptxcombinational _logic_circuit_digital.pptx
combinational _logic_circuit_digital.pptx
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Logic gates And Boolen algebra
Logic gates And  Boolen algebraLogic gates And  Boolen algebra
Logic gates And Boolen algebra
 
Basic logic gates
Basic logic gatesBasic logic gates
Basic logic gates
 
Logic gates (1)
Logic gates (1)Logic gates (1)
Logic gates (1)
 
Lecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptxLecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptx
 
boolean algrebra and logic gates in short
boolean algrebra and logic gates in shortboolean algrebra and logic gates in short
boolean algrebra and logic gates in short
 
Digital logic gates and Boolean algebra
Digital logic gates and Boolean algebraDigital logic gates and Boolean algebra
Digital logic gates and Boolean algebra
 
logic gates
logic gates logic gates
logic gates
 
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
 
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates. Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
 
Basic gates and functions
Basic gates and functionsBasic gates and functions
Basic gates and functions
 
Logic gatesrevised.ppt
Logic gatesrevised.pptLogic gatesrevised.ppt
Logic gatesrevised.ppt
 
Basic Gates in Digital Logic
Basic Gates in Digital LogicBasic Gates in Digital Logic
Basic Gates in Digital Logic
 
2th year iv sem de lab manual
2th year iv sem de lab manual2th year iv sem de lab manual
2th year iv sem de lab manual
 
Diana
DianaDiana
Diana
 
Logic gates
Logic gatesLogic gates
Logic gates
 

More from SSE_AndyLi

Chapter 07 Digital Alrithmetic and Arithmetic Circuits
Chapter 07 Digital Alrithmetic and Arithmetic CircuitsChapter 07 Digital Alrithmetic and Arithmetic Circuits
Chapter 07 Digital Alrithmetic and Arithmetic CircuitsSSE_AndyLi
 
Chapter 06 Combinational Logic Functions
Chapter 06 Combinational Logic FunctionsChapter 06 Combinational Logic Functions
Chapter 06 Combinational Logic FunctionsSSE_AndyLi
 
Chapter 5 introduction to VHDL
Chapter 5 introduction to VHDLChapter 5 introduction to VHDL
Chapter 5 introduction to VHDLSSE_AndyLi
 
Chapter 03 Boolean Algebra and Combinational Logic
Chapter 03 Boolean Algebra and Combinational LogicChapter 03 Boolean Algebra and Combinational Logic
Chapter 03 Boolean Algebra and Combinational LogicSSE_AndyLi
 
Chapter 01 Basic Principles of Digital Systems
Chapter 01 Basic Principles of Digital SystemsChapter 01 Basic Principles of Digital Systems
Chapter 01 Basic Principles of Digital SystemsSSE_AndyLi
 
15 chapter9 graph_algorithms_mst
15 chapter9 graph_algorithms_mst15 chapter9 graph_algorithms_mst
15 chapter9 graph_algorithms_mstSSE_AndyLi
 
14 chapter9 graph_algorithmstopologicalsort_shortestpath
14 chapter9 graph_algorithmstopologicalsort_shortestpath14 chapter9 graph_algorithmstopologicalsort_shortestpath
14 chapter9 graph_algorithmstopologicalsort_shortestpathSSE_AndyLi
 
10 chapter6 heaps_priority_queues
10 chapter6 heaps_priority_queues10 chapter6 heaps_priority_queues
10 chapter6 heaps_priority_queuesSSE_AndyLi
 
9 chapter4 trees_avl
9 chapter4 trees_avl9 chapter4 trees_avl
9 chapter4 trees_avlSSE_AndyLi
 
8 chapter4 trees_bst
8 chapter4 trees_bst8 chapter4 trees_bst
8 chapter4 trees_bstSSE_AndyLi
 
7 chapter4 trees_binary
7 chapter4 trees_binary7 chapter4 trees_binary
7 chapter4 trees_binarySSE_AndyLi
 
6 chapter3 list_stackqueuepart3
6 chapter3 list_stackqueuepart36 chapter3 list_stackqueuepart3
6 chapter3 list_stackqueuepart3SSE_AndyLi
 
5 chapter3 list_stackqueuepart2
5 chapter3 list_stackqueuepart25 chapter3 list_stackqueuepart2
5 chapter3 list_stackqueuepart2SSE_AndyLi
 
4 chapter3 list_stackqueuepart1
4 chapter3 list_stackqueuepart14 chapter3 list_stackqueuepart1
4 chapter3 list_stackqueuepart1SSE_AndyLi
 
3 chapter2 algorithm_analysispart2
3 chapter2 algorithm_analysispart23 chapter2 algorithm_analysispart2
3 chapter2 algorithm_analysispart2SSE_AndyLi
 
2 chapter2 algorithm_analysispart1
2 chapter2 algorithm_analysispart12 chapter2 algorithm_analysispart1
2 chapter2 algorithm_analysispart1SSE_AndyLi
 
1 chapter1 introduction
1 chapter1 introduction1 chapter1 introduction
1 chapter1 introductionSSE_AndyLi
 

More from SSE_AndyLi (17)

Chapter 07 Digital Alrithmetic and Arithmetic Circuits
Chapter 07 Digital Alrithmetic and Arithmetic CircuitsChapter 07 Digital Alrithmetic and Arithmetic Circuits
Chapter 07 Digital Alrithmetic and Arithmetic Circuits
 
Chapter 06 Combinational Logic Functions
Chapter 06 Combinational Logic FunctionsChapter 06 Combinational Logic Functions
Chapter 06 Combinational Logic Functions
 
Chapter 5 introduction to VHDL
Chapter 5 introduction to VHDLChapter 5 introduction to VHDL
Chapter 5 introduction to VHDL
 
Chapter 03 Boolean Algebra and Combinational Logic
Chapter 03 Boolean Algebra and Combinational LogicChapter 03 Boolean Algebra and Combinational Logic
Chapter 03 Boolean Algebra and Combinational Logic
 
Chapter 01 Basic Principles of Digital Systems
Chapter 01 Basic Principles of Digital SystemsChapter 01 Basic Principles of Digital Systems
Chapter 01 Basic Principles of Digital Systems
 
15 chapter9 graph_algorithms_mst
15 chapter9 graph_algorithms_mst15 chapter9 graph_algorithms_mst
15 chapter9 graph_algorithms_mst
 
14 chapter9 graph_algorithmstopologicalsort_shortestpath
14 chapter9 graph_algorithmstopologicalsort_shortestpath14 chapter9 graph_algorithmstopologicalsort_shortestpath
14 chapter9 graph_algorithmstopologicalsort_shortestpath
 
10 chapter6 heaps_priority_queues
10 chapter6 heaps_priority_queues10 chapter6 heaps_priority_queues
10 chapter6 heaps_priority_queues
 
9 chapter4 trees_avl
9 chapter4 trees_avl9 chapter4 trees_avl
9 chapter4 trees_avl
 
8 chapter4 trees_bst
8 chapter4 trees_bst8 chapter4 trees_bst
8 chapter4 trees_bst
 
7 chapter4 trees_binary
7 chapter4 trees_binary7 chapter4 trees_binary
7 chapter4 trees_binary
 
6 chapter3 list_stackqueuepart3
6 chapter3 list_stackqueuepart36 chapter3 list_stackqueuepart3
6 chapter3 list_stackqueuepart3
 
5 chapter3 list_stackqueuepart2
5 chapter3 list_stackqueuepart25 chapter3 list_stackqueuepart2
5 chapter3 list_stackqueuepart2
 
4 chapter3 list_stackqueuepart1
4 chapter3 list_stackqueuepart14 chapter3 list_stackqueuepart1
4 chapter3 list_stackqueuepart1
 
3 chapter2 algorithm_analysispart2
3 chapter2 algorithm_analysispart23 chapter2 algorithm_analysispart2
3 chapter2 algorithm_analysispart2
 
2 chapter2 algorithm_analysispart1
2 chapter2 algorithm_analysispart12 chapter2 algorithm_analysispart1
2 chapter2 algorithm_analysispart1
 
1 chapter1 introduction
1 chapter1 introduction1 chapter1 introduction
1 chapter1 introduction
 

Recently uploaded

Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAbhinavSharma374939
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 

Recently uploaded (20)

Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog Converter
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 

Chapter 02 Logic Functions and Gates

  • 2.  The three basic logic functions are: ◦ AND ◦ OR ◦ NOT 2
  • 3.  Logic functions can be represented:  algebraically  using truth tables  using electronic circuits. 3
  • 4.  Uses Boolean algebra.  Boolean variables have two states (binary).  Boolean operators include AND, OR, and NOT. 4
  • 5.  Defines the output of a function for every possible combination of inputs.  A system with n inputs has 2n possible combinations. 5
  • 6.  Uses logic gates to perform Boolean algebraic functions.  Gates can be represented by schematic symbols.  Symbols can be either distinctive-shape or rectangular-outline. 6
  • 7.  Uses different graphic representations for different logic functions.  Uses a bubble (a small circle) to indicate a logical inversion. 7
  • 8.  All functions are shown in rectangular form with the logic function indicated by standard notation inside the rectangle.  The notation specifying the logic function is called the qualifying symbol.  Inversion is indicated by a 1/2 arrowhead. 8
  • 9.  One input and one output.  The output is the opposite logic level of the input.  The output is the complement of the input. 9
  • 10.  Inversion is indicated by a bar over the signal to be inverted. 10 AY 
  • 11.  Called a NOT gate or, more usually, an INVERTER.  Distinctive-shape symbol is a triangle with inversion bubble.  Rectangular-shape symbol uses “1” and the inversion 1/2 arrowhead. 11
  • 12. 12
  • 13.  Two or more inputs, one output.  Output is HIGH only when all of the inputs are HIGH.  Output is LOW whenever any input is LOW. 13
  • 14. A B Y 0 0 0 0 1 0 1 0 0 1 1 1 14
  • 15.  AND symbol is “•” or nothing at all. 15 ABY BAY  
  • 16.  Called an AND gate.  Distinctive-shape symbol uses AND designation.  Rectangular-shape symbol use “&” as designator. 16
  • 17. 17
  • 18. 18
  • 19. A B C Y 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 19
  • 20.  Two or more inputs, one output.  Output is HIGH whenever one or more input is HIGH.  Output is LOW only when all of the inputs are LOW. 20
  • 21. A B Y 0 0 0 0 1 1 1 0 1 1 1 1 21
  • 22.  OR symbol is “+”.  Y = A + B 22
  • 23.  Called an OR gate.  Distinctive-shape symbol uses OR designation.  Rectangular-shape symbol uses “” as designator. 23
  • 24. 24
  • 25.  The logic level defined as “ON” for a circuit.  When a logic HIGH is “ON”, the signal is active-HIGH.  When a logic LOW is “ON”, the signal is active-LOW. 25
  • 26.  Generated by inverting the output of the AND function.  Output is HIGH whenever any input is LOW.  Output is LOW only when all inputs are HIGH. 26
  • 27. A B Y 0 0 1 0 1 1 1 0 1 1 1 0 27
  • 28.  Uses AND with an inversion overbar. 28 BAY 
  • 29.  Called a NAND gate.  Uses the AND symbol with inversion on. 29
  • 30. 30
  • 31.  Generated by inverting the output of the OR function.  Output is HIGH only when all inputs are LOW.  Outputs is LOW whenever any input is HIGH. 31
  • 32. A B Y 0 0 1 0 1 0 1 0 0 1 1 0 32
  • 33.  Uses OR with an inversion overbar. 33 BAY 
  • 34.  Called a NOR gate.  Uses OR symbol with inversion on the output. 34
  • 35. 35
  • 36.  3 Input NAND:  3 Input NOR: 36 CBAY  CBAY 
  • 37. CBA A B C 0 0 0 1 1 0 0 1 1 0 0 1 0 1 0 0 1 1 1 0 1 0 0 1 0 1 0 1 1 0 1 1 0 1 0 1 1 1 0 0 CBA  37 CBA
  • 38.  Two inputs, one output.  Output is HIGH when one, and only one, input is HIGH.  Output is LOW when both inputs are equal – both HIGH or both LOW. 38
  • 39. 39
  • 40. A B Y 0 0 0 0 1 1 1 0 1 1 1 0 40
  • 41.  Two inputs, one output.  Output is HIGH when both inputs are equal – both HIGH or both LOW.  Output is LOW when one, and only one, input is HIGH. 41
  • 42. 42
  • 43. A B Y 0 0 1 0 1 0 1 0 0 1 1 1 43
  • 44.  A NAND gate can be represented by an AND gate with inverted output.  A NAND gate can be represented by an OR gate with inverted inputs. 44
  • 45. 45
  • 46.  A NOR gate can be represented by an OR gate with inverted output.  A NOR gate can be represented by an AND gate with inverted inputs. 46
  • 47.  Change an AND function to an OR function and an OR function to an AND function.  Invert the inputs.  Invert the outputs. 47
  • 48.  Break the line and change the sign 48 BABA  BABA 
  • 49.  The following are two common errors associated with DeMorgan’s Theorem:   49 BABA  BABA 
  • 50.  Any INPUT or OUTPUT that has a BUBBLE is considered as active LOW.  Any INPUT or OUTPUT that has no BUBBLE is considered as active HIGH. 50
  • 51.   At least one input HIGH makes the output LOW.   All inputs LOW make the output HIGH. 51 BAY  BAY 
  • 52. 52
  • 53.  Provides a logic HIGH or LOW depending on switch position.  Commonly used types include normally-open pushbutton, normally-closed pushbutton, single-pole single-throw, and single-pole double-throw. 53
  • 54. 54
  • 55. 55
  • 56.  Two-pole push button allows for normally HIGH and normally LOW levels from the same switch. 56
  • 57. 57
  • 58.  Used to indicate the status of a digital output.  Has two terminals the anode and the cathode.  If the anode is approximately 1.5 V greater than the cathode, current flows and the LED illuminates. 58
  • 59. 59
  • 60. 60
  • 61.  Used to provide a visual indication of a logic state.  Can be wired to display active-HIGH or active-LOW. 61
  • 62. 62
  • 63. 63
  • 64.  The input to a gate that allows the output to respond to other inputs.  A logic LOW for an OR or NOR gate, a logic HIGH for an AND or NAND gate. 64
  • 65.  The input to a gate that forces the output to ignore any other input.  A logic HIGH for an OR or NOR gate, a logic LOW for an AND or NAND gate. 65
  • 66. 66
  • 67. 67
  • 68. 68
  • 69. 69
  • 70. 70
  • 71. 71
  • 72. Control AND OR NAND NOR XOR XNOR A = 0 Y = 0 Y = B Y = 1 Y = B A = 1 Y = B Y = 1 Y = 0 Y = BBY  BY  BY  72 BY 
  • 73.  Three output states, HIGH, LOW and high- impedance.  Requires a separate input to control which output state is selected. 73
  • 74. 74
  • 75. 75
  • 76.  Used to connect multiple outputs together.  Used in controlling the operation of buses. 76
  • 77. 77
  • 78.  Contains two groups of four non-inverting tri-state buffers.  Each group is controlled by a separate enable input. 78 G
  • 79. 79
  • 80.  Integrated Circuits (ICs) contain many components in a single package.  Several packaging options are available.  One common package is called dual-in-line (DIP). 80
  • 81. 81
  • 82.  One common form is transistor-transistor logic, called TTL.  The other common form is Complementary Metal-Oxide Semiconductor, called CMOS. 82
  • 83. Part Number Logic Family 74LS00 Low-power Schottky TTL 74ALS00 Advanced low-power Schottky TTL 74F00 FAST TTL 74HC00 High-speed CMOS 74CT00 High-speed CMOS (TTL-compatible inputs) 74LVX00 Low-voltage CMOS 74ABT00 Advanced BiCMOS (TTL/CMOS hybrid) 83
  • 84.  Standard form is 74XXFF, where 74 is the logic family identifier, XX is the logic family member and FF identifies the specific logic function.  SN74ALS00N 84
  • 85.  PLCC - plastic lead chip carrier  SOIC - small outline integrated circuit  TSSOP – thin shrink small outline package  QFP – quad flat pack  DIP – dual inline package  BGA – ball grid array 85
  • 86. 86
  • 87.  Can be mounted on the surface of a circuit board or mounted in a socket.  Pins are equally distributed on four sides.  Pin 1 placed on the center of one of the rows, as indicated by a dot.  Pins number counterclockwise from this point. 87
  • 88. 88