Académique Documents
Professionnel Documents
Culture Documents
Logic Gates
The Inverter The AND Gate The OR Gate The NAND Gate The NOR Gate The XOR Gate The XNOR Gate Drawing Logic Circuit
Logic Gates
Gate Symbols
AND OR
a b
Symbol set 1
a.b
Symbol set 2
(ANSI/IEEE Standard 91-1984) a & a.b b
a
b
a+b
a
b a a b a b a b
a+b
NOT
a a
a'
a'
b a b a b
Introduction to Logic Gates
(a.b)'
&
(a.b)'
(a+b)'
(a+b)'
ab
=1
ab
A A' 0 1 1 0
1s Complement
FLB 20203 DIGITAL SYSTEMS Introduction to Logic Gates 5
A.B
A B
&
A.B
A 0 0 1 1
B 0 1 0 1
A.B 0 0 0 1
A Enable
A Enable
Counter
1 sec
A+B
A B
A+B
A 0 0 1 1
B 0 1 0 1
A+B 0 1 1 1
(A.B)'
A B
&
(A.B)'
A 0 0 1 1
B 0 1 0 1
(A.B)' 1 1 1 0
NAND Negative-OR
A B
(A+B)'
A B
(A+B)'
A 0 0 1 1
B 0 1 0 1
(A+B)' 1 0 0 0
NOR Negative-AND
10
AB
A B
=1
AB
A 0 0 1 1
B 0 1 0 1
AB 0 1 1 0
11
(A B)'
A B
=1
(A B)'
A 0 0 1 1
B (A B) ' 0 1 1 0 0 0 1 1
12
Examples:
(i) F1 = xyz' (note the use of a 3-input AND gate)
x y z z'
F1
13
x y' x' z
xy' F3 x'z
14
A'
B'
C
A'B'+C
(A'B'+C)'
F4
F4 = (A'B'+C)' = (A+B).C'
15
Propagation Delay
Every logic gate experiences some delay (though very small)
in propagating signals forward.
This delay is called Gate (Propagation) Delay. Formally, it is the average transition time taken for the output
signal of the gate to change in response to changes in the input signals.
16
Propagation Delay
Input Output
Input
L H L
Output
tPHL
tPLH
17
Propagation Delay
A B C
Ideally, no
delay:
1 0 1 0 1 0
Signal for A
0 1
Signal for A
Signal for B
0 1 0
Signal for B
Signal for C
time
Signal for C
time
18
19
If inputs are stable at times t1,t2,..,tn, respectively; then the earliest time in which the output will be stable is: max(t1, t2, .., tn) + t
20
X 0 Y 0
max(0,0)+t = t
max(t,0)+t = 2t
S
t 2t
max(t,2t)+t = 3t
C Z
0
22
NAND Gate
NAND gate is self-sufficient (can build any logic circuit with
it). Therefore, {NAND} is also a complete set of logic.
(x.x)' = x'
(T1: idempotency)
23
NAND Gate
Implementing AND using NAND gates:
x y (x.y)'
24
NOR Gate
NOR gate is also self-sufficient. Therefore, {NOR} is also a complete set of logic Can be used to implement AND/OR/NOT. Implementing an inverter using NOR gate:
x'
(x+x)' = x'
(T1: idempotency)
25
NOR Gate
Implementing AND using NOR gates:
x x'
y'
26
27
x y' x' z
(xy')' F3 (x'z)'
28
29
x y' x' z
(x+y')' F6 (x'+z)'
F6 = ((x+y')'+(x'+z)')' = (x+y').(x'+z)
30
A
B C D E F
F = AB + CD + E
Two or more product terms are summed by boolean addition
Introduction to Logic Gates 31
A
B C D E'
32
A
B
G = (A+B).(C+D).E
G
C
D E
33
A
B
C
D E'
34
This convention positive logic. However, the reverse convention, negative logic possible:
H (high voltage) = 0
L (low voltage) = 1
35
36
Enable
Negative logic:
Active Low: 0: Enabled 1: Disabled
Enable
37
TTL, Schottky TTL, low-power Schottky TTL, advanced Schottky TTL, etc.
38
TTL Series Standard TTL Low-power TTL Schottky TTL Low-power Schottky TTL
Prefix Designation Example of Device 54 or 74 54L or 74L 54S or 74S 54LS or 74LS 7400 (quad NAND gates) 74L00 (quad NAND gates) 74S00 (quad NAND gates) 74LS00 (quad NAND gates)
39
40
41
Summary
Logic Gates Drawing Logic Circuit
Given a Boolean expression, draw the circuit.
NAND NOR
End of file
FLB 20203 DIGITAL SYSTEMS Introduction to Logic Gates 42