Professional Documents
Culture Documents
Logic Gates e
Logic Gates e
V V
(5 V) V = V0 sin wt
1 0 1 0 1 0 1 0 1
0 (5 V)
t
(-5 V) (0 V) t
0
In an analogue signal the current or In digital signal current (or voltage)
the voltage changes continuously can take only two discrete values.
with time
Digital Circuit:
An electrical or electronic circuit which operates only in two states (binary
mode) namely ON/1 and OFF/0 is called a Digital Circuit
SEMICONDUCTOR ELECTRONICS
LOGIC GATES
A
i/P Logic Gate Y(o/P)
B
1. 0 + 0 = 0 1. 0. 0 = 0 1. 1 =0
2. 0 + 1 = 1 2. 1. 0 = 0 2. 0 =1
3. 1 + 0 = 1 3. 0. 1 = 0
4. 1 + 1 = 1 4. 1. 1 = 1
1. A + 0 = A A. 0 = 0 A+ A =1
2. A + 1 = 1 A. 1 = A A. A = 0
3. A + A = A A. A = A A. A = A.A = A
SEMICONDUCTOR ELECTRONICS
(1) (A B ) A . B
(2) (A . B ) A . B
SEMICONDUCTOR ELECTRONICS
Q. Simplify
A .B + A .B
SEMICONDUCTOR ELECTRONICS
Q. Which of the following Boolean expression is not
correct:–
(1) A. B = A + B (2) A + B = A . B
(3) A. B = A. B (4) 1 + 1 = 1
SEMICONDUCTOR ELECTRONICS
Each logic gate have
Input
Output
Input
'NOT' Gates
(Invert gate)
'NOR' Gate
2. UNIVERSAL GATES
'NAND' gate
'X-OR' (Exclusive OR gute)
3. SPECIAL GATES
'X-NOR' (exclusive
NOR gate)
SEMICONDUCTOR ELECTRONICS
''OR'' Gate
Truth Table
Symbol o/p If at least one of the
I/P
I/P A B Y input is high then
A O/P
0 0 0
Y output will be high.
B 0 1 1
1 0 1
Boolean formula Y = A + B 1 1 1
+ B
SEMICONDUCTOR ELECTRONICS
''AND'' GATE (multiplying gate)
Truth Table
If all the input are high
I/P I/P O/P at a time then
A A B Y output will be high.
O/P
0 0 0
B Y
0 1 0
1 0 0
Boolean formula y = A . B
1 1 1
A B
+
SEMICONDUCTOR ELECTRONICS
''NOT'' GATE (Invert gate)
Truth Table
A
SEMICONDUCTOR ELECTRONICS
Que. To get an output y = 1 from the circuit shown below the
input must be.
1
y=1
C 1
SEMICONDUCTOR ELECTRONICS
Q. The output Y of the combination of gates shown is equal to :–
(1) A
(2) A
AND
(3) A + B
(4) AB
SEMICONDUCTOR ELECTRONICS
Q. The truth table for the following combination of gates is :-
A B Y A B Y
0 0 0 0 0 0
(1) 0 1 0 (2) 0 1 0
1 0 1 1 0 0
1 1 1 1 1 1
A B Y A B Y
0 0 1 0 0 0
(3) 0 1 1 (4) 0 1 1
1 0 1 1 0 1
1 1 0 1 1 0
SEMICONDUCTOR ELECTRONICS
Q. To get an output Y = 1 in given circuit which of the following
input will be correct:
A B C
(1) 1 1 0
(2) 0 1 0
(3) 1 0 0
(4) 1 0 1
SEMICONDUCTOR ELECTRONICS
Q. The combination of the gates shown represents :–
A
Y
I/p I/p
A A (A+B) O/P
B
y
= B
y = (A+B)
I/P O/P
Boolean formula y = (A+B)
Truth table A B Y
0 0 1
0 1 0
1 0 0
1 1 0
Electrical equivalent diagram
+
A B
SEMICONDUCTOR ELECTRONICS
''NAND'' GATE
A
Y" Y
B
A A A A
Y Y
Y
Y =Y
B B = (A + B)
B B Y = (A . B)
= (A + B) ''NAND'' as ''NOR''
''NAND'' as ''OR'' Y = A + B
SEMICONDUCTOR ELECTRONICS
A A
A Y A+B Y
A Y=A+A=A B Y = A + B = A+B
A
A
Y
B Y = (A + B)
B
= (A . B)
''NOR'' as ''AND'' = A.B
A
A
Y
B
Y=Y
B Y = (A. B)
= (A . B)
''NOR'' as ''NAND''
SEMICONDUCTOR ELECTRONICS
Q. The circuit is equivalent to:-
B A.B
B
SEMICONDUCTOR ELECTRONICS
X NOR GATE (Exclusive NOR GATE)
Truth table
A I/P O/P
Y A B Y
0 0 1
B
0 1 0
Boolean function Y (A B) 1 0 0
1 1 1
Y (A B)
Y (A . B A . B) A.B A.B
ILLUSTRATION
Q. The circuit diagram shown here corresponds to the logic
gate +6V
R
(1) NOR A
0
(2) AND 1
(3) OR B 0
(4) NAND 1
LED (Y)
R
ILLUSTRATION
Q. The correct Boolean operation represented by the circuit
diagram drawn is : +6V
R
(1) AND 0
(2) OR A 1 LED (Y)
(3) NAND
R
(4) NOR 0
B 1