Professional Documents
Culture Documents
Switches Gates
Switches Gates
ibezzam@iitpkd.ac.in
8/2/2016
x = 0
x = 1
(a) Two states of a switch
S
x
(b) Symbol for a switch
Battery
Light
S
Power
supply
Light
0 Floating
Power
supply
x1
x2
Light
0 Floating
x1
Power
supply
Light
x2
(b) The logical OR function (parallel connection)
S
X1
Power
supply
S
X3
X2
Light
x1
x2
x1
x2
x1 x2 xn
x1 x2
xn
x1
x2
x1
x2
x1 + x2 + + xn
x1 + x2
xn
(b) OR gates
x1
x2
0 01 1
1 1 0 0
A
0 0 0 1
0 10 1
x2
f ( x1 , x2 )
0
0
1
1
0
1
0
1
1
1
0
1
1 1 0 1
B
f = x 1 + x 1 x2
A
1
0
1
0
1
0
1
0
1
0
Time
(c) Timing diagram
x1
x2
0 0 1 1
1 1 0 0
1 1 0 1
0 1 0 1
(d) Network that implements
g = x 1 + x2
VD
VD = 0 V
VD
VG
VS = 0 V
Closed switch
whenVG = VDD
Open switch
whenVG = 0 V
VS = VDD
VDD
VDD
VD
VD
VD = VDD
VG
Open switch
whenVG = VDD
Closed switch
whenVG = 0 V
VDD
T1
Vx
Vf
T2
T1 T2
0
1
on off
off on
1
0
Well defined 0 forced
to Ground and NOT floating
(a) Circuit
V DD
T1
T2
Vf
Vx
Vx
T3
T4
x1 x2
T1 T2 T3 T4
0
1
0
1
on on off off
on off off on
off on on off
1
1
1
0
0
0
1
1
off off on on
(a) Circuit
V DD
Vx
T1
Vx
T2
Vf
T3
T4
x1 x2
T1 T2 T3 T4
0
1
0
1
on on off off
on off off on
off on on off
1
0
0
0
0
0
1
1
off off on on
(a) Circuit
V DD
V DD
Vf
Vx
Vx
VDD
Gnd
VDD
7404
7408
x1
x2
x3
7432
f
Figure 3.22. Physical pin diagrams schematics of An implementation of
f = x1 x2 + x 2 x3 .
SUMMARY
ISSUES:
How to systematically analyze circuits with multiple switches & gates without errors?
Can complex switches & gate circuits be made simpler?