Cs2100 4 Logic Gates and Circuits
Cs2100 4 Logic Gates and Circuits
Gate Symbols
Inverter/AND/OR/NAND/NOR/XOR/XNOR
Drawing and Analysing Logic Circuits
Universal Gates
SOP and NAND Circuits
POS and NOR Circuits
Programmable Logic Array
AY11/12 Sem 1
LOGIC GATES
Gate symbols
a
AND
OR
NOT
NAND
NOR
EXCLUSIVE OR
AY11/12 Sem 1
Symbol set 2
Symbol set 1
b
a
b
a
a
b
a
b
a
b
ab
a+b
a'
(ab)'
(a+b)'
ab
a+b
a'
&
(ab)'
(a+b)'
=1
ab
3
INVERTER/AND/OR GATES
A'
A'
A'
0
1
AND gate
AB
AY11/12 Sem 1
OR gate
AB
A+B
A+B
NAND GATE
NAND gate
(A B)'
AY11/12 Sem 1
(A B)'
(A B)'
NAND
Negative-OR
NOR GATE
NOR gate
(A + B)'
AY11/12 Sem 1
(A + B)'
(A + B)'
NOR
Negative-AND
XOR GATE
XOR gate
A
B
AY11/12 Sem 1
AB
AB
XNOR GATE
XNOR gate
A
(A B)'
B
XNOR can be represented by
(Example: A B)
AY11/12 Sem 1
(A
B)'
x
y
z
AY11/12 Sem 1
F1
z'
Logic Gates and Circuits
Example: F2 = x + y'z
x
F2
y'
z
x
y
y'z
If complemented literals
are available
F2
y'z
If complemented literals
are not available
AY11/12 Sem 1
x
y
x.y'
x.y'
F3
F3
x'.z
x'.z
10
F4
F4 = ?
AY11/12 Sem 1
11
page 77
Questions 4-1 to 4-4.
AY11/12 Sem 1
12
UNIVERSAL GATES
AY11/12 Sem 1
13
NAND GATE
x
y
x
x'
(xy)'
xy
x'
x+y
y
AY11/12 Sem 1
((xx)'(yy)')' = (x'y')'
(idempotency)
= (x')'+(y')' (DeMorgan)
= x+y
(involution)
y'
Logic Gates and Circuits
14
NOR GATE
y
x
y
AY11/12 Sem 1
x'
x'
xy
x+y
y'
(x+y)'
15
page 77
Questions 4-6 to 4-8.
AY11/12 Sem 1
16
Example: F = AB + C'D + E
Using 2-level AND-OR circuit
A
B
C
D
E
AY11/12 Sem 1
17
Example: F = AB + C'D + E
Using 2-level NAND circuit
A
B
A
B
C
D
C
D
E
A
B
C
D
E
AY11/12 Sem 1
18
AY11/12 Sem 1
19
A
B
C
D
C
D
E
A
B
C
D
E
AY11/12 Sem 1
20
READING ASSIGNMENT
Propagation
Delay
AY11/12 Sem 1
21
14
13
12
11
10
AY11/12 Sem 1
GND
Vcc = 5v
22
A programmable integrated
circuit implements sum-ofproducts circuits (allow
multiple outputs).
2 stages
AND gates = product terms
OR gates = outputs
AY11/12 Sem 1
23
AY11/12 Sem 1
24
AY11/12 Sem 1
25
Similar to PLA
Set of inputs (called addresses)
Set of outputs
Programmable mapping between inputs and outputs
AY11/12 Sem 1
26
END
AY11/12 Sem 1
27