Sir Syed University of Engineering & Technology, Karachi
Sir Syed University of Engineering & Technology, Karachi
Technology, Karachi
2nd Semester
Analog Signal
100
95
90
85
80
75
70
Time of day
1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10 11 12
A .M . P.M .
1.Accuracy of results
2.More reliable than analog systems due to better immunity to
noise.
3.Ease of design: No special math skills needed to visualize the
behavior of small digital (logic) circuits.
4.Flexibility and functionality.
5.Programmability.
6.Speed: A digital logic element can produce an output in less than
10 nanoseconds (10-8 seconds).
7.Economy: Due to the integration of millions of digital logic
elements on a single miniature chip forming low cost integrated
circuit (ICs).
VH(max)
HIGH HIGH
LOW LOW
t0 t1 t0 t1
Pulse
width
Amplitude (tW)
(A)
Time
Period, T
14 13 12 11 10 9 8 Truth table
1 2 3 4 5 6 7
Ground
Top View of a TTL 74LS family 74LS08 Quad 2-input AND Gate IC Package
Top View of a TTL 74LS family 74LS08 Quad 2-input OR Gate IC Package
Floyd, Digital Fundamentals, 10th ed 16
Logic Gates: The NAND Gate
• The NAND Gate
A A
B
(A.B)'
(A.B)'
B
• NAND gate is self-sufficient (can build any logic circuit with it).
• Can be used to implement AND/OR/NOT.
• Implementing an inverter using NAND gate:
x x'
A B (A.B)'
0 0 1
0 1 1
1 0 1
1 1 0
Truth table
Floyd,Top View
Digital of a TTL
Fundamentals, 10th74LS
ed family 74LS00 Quad 2-input NAND Gate IC Package 17
Logic Gates: The NOR Gate
• The NOR Gate
A
B
(A+B)' A
B
(A+B)'
• NOR gate is also self-sufficient (can build any logic circuit with it).
• Can be used to implement AND/OR/NOT.
• Implementing an inverter using NOR gate:
x x'
A B (A+B)'
0 0 1
0 1 0
1 0 0
1 1 0
Truth table
Top View of a TTL 74LS family 74LS02 Quad 2-input NOR Gate IC Package
1 2 3 4 5 6 7
Ground
Top View of a TTL 74LS family 74LS86 Quad 2-input XOR Gate IC Package