Logic Gstes
Logic Gstes
Lecture 7
(For Higher Secondary Second Year)
Fig 1
Input A Input B Output y
0 0 0
0 1 1
1 0 1
1 1 1
Fig 2
Fig 3
AND Gate:
An AND gate possesses two or more inputs and a single
output. The output of an AND gate is in 1 if and only if all the
inputs assume the state 1. Consequently an AND gate is also
referred to as a coincidence circuit. The operation of an AND
can be given in 𝑇𝑎𝑏𝑙𝑒 2. Here 0 volt and 5 volt represent the
states 0 and 1 respectively
Fig 4
Input A Input B Output Y
0 0 0
0 1 0
1 0 0
1 1 1
Fig 5 Fig 6
NOT Gate:
The NOT circuit has single input and single output. The output
of the NOT circuit is in the state 1 if and only if the input does
not assume the state 1. The output of the circuit is therefore
high when the input is low and vice versa. As the NOT circuit
inverts the sense of the output with respect to the input it is
also referred to as an inverter. The NOT operation is also
known as negation.
Fig 7
Table 3: Truth Table of NOT Gate
A transistor circuit implementing an inverter as shown in
figure. When the input voltage is low the transistor is cut off
and the output voltage is 𝑣0 = 𝑉𝑐𝑐 . Thus output is high.
However if the input voltage is high the transistor saturates
and the output voltage becomes low.
Fig 8
NOR Gate:
The logic circuit where a NOT gate follows an OR gate is
termed as NOT-OR or NOR gate. NOT circuit can be
constructed with transistor where OR gate can be constructed
with diodes or transistors. Therefore NOR gate can be realised
by diode-transistor logic
Fig 9
Input A Input B Output Y
0 0 1
0 1 0
1 0 0
1 1 0
Fig 10
NAND Gate:
The logic circuit in which a NOT gate follows an AND gate is
referred to as a NOT-AND or NAND gate. The Boolean
expression characterising the NAND gate 𝑌 = 𝐴. 𝐵. The NOT
gates can be built with transistors and AND gates can be
constructed with diode or transistors. Consequently NAND
gates can be built with diode-transistor logic.
Fig 11
Input A Input B Output Y
0 0 1
0 1 1
1 0 1
1 1 0
Fig 12
De Morgan’s Theorem:
Second Theorem: 𝐴. 𝐵 = 𝐴ҧ + 𝐵ത
𝐴+ 𝐵+𝐶 = 𝐴+𝐵 +𝐶
𝐴. 𝐵. 𝐶 = 𝐴. 𝐵 . 𝐶
(C)Distributive Laws
𝐴. 𝐵 + 𝐶 = 𝐴. 𝐵 + 𝐴. 𝐶
The basic OR relation are
𝐴+0=𝐴
𝐴+1=1
𝐴+𝐴 =𝐴
𝐴 + 𝐴ҧ = 1
The basic AND relations are
𝐴. 0 = 0
𝐴. 1 = 𝐴
𝐴. 𝐴 = 𝐴
𝐴. 𝐴ҧ = 0
(D)Absorptive Laws:
𝐴 + 𝐴. 𝐵 = 𝐴
𝐴. 𝐴 + 𝐵 = 𝐴
The Boolean Inequalities are
𝐴 𝐴ҧ + 𝐵 = 𝐴. 𝐵
𝐴 + 𝐴.ҧ 𝐵 = 𝐴 + 𝐵
𝐴 + 𝐵. 𝐶 = 𝐴 + 𝐵 . 𝐴 + 𝐶
𝐴ҧ + 𝐵 . 𝐴 + 𝐶 = 𝐴.
ഥ 𝐶 + 𝐴. 𝐵
𝐴 + 𝐵 . 𝐵 + 𝐶 . 𝐶 + 𝐴 = 𝐴. 𝐵 + 𝐵. 𝐶 + 𝐶. 𝐴
𝐴.ҧ 𝐵. 𝐶ҧ + 𝐴.
ഥ 𝐵. 𝐶 + 𝐴. 𝐵. 𝐶 = 𝐵. 𝐴ҧ + 𝐶ҧ