DLCOA - Syllabus 1.3 (Part 2) & 1.4: Rithesh Kini Computer Engg. Dept., TSEC
DLCOA - Syllabus 1.3 (Part 2) & 1.4: Rithesh Kini Computer Engg. Dept., TSEC
DLCOA - Syllabus 1.3 (Part 2) & 1.4: Rithesh Kini Computer Engg. Dept., TSEC
3 (Part 2) &
1.4
Rithesh Kini
Computer Engg. Dept., TSEC
Contents
Logic Gates: AND, OR, NOT, NAND, NOR, EX-OR (Syllabus
1.4)
Boolean Algebra (Syllabus 1.3 Part2)
NAND = NOT–AND
It is an N inputs (N≥2) AND gate followed by a NOT gate.
Its Boolean equation : [ref Fig. 1.10 (a)]
Let the output of the AND gate Y’ = AB…N
∴ the output of the NOT gate Y = Y′ = AB…N
NOR = NOT–OR
It is an N inputs (N≥2) OR gate followed by a NOT gate.
Its Boolean equation :
Let the output of the OR gate Y’ = A + B + … + N
Now, the output of the NOT gate Y = Y′ = A + B + … + N
Y= A
Rithesh Kini, Computer Engg Dept., TSEC
AND using NAND
The Boolean expression for AND gate is Y = 𝑨 ∙ 𝑩
Taking double inversion,
𝐘=𝑨∙𝑩
But 𝑨 = 𝐀
Therefore, 𝐘 = 𝐀 ∙ 𝑩
𝑌 =𝐴∙𝐵
𝑩
Rithesh Kini, Computer Engg Dept., TSEC
NOR using NAND
The Boolean expression for NOR gate is Y = A + B
But by De Morgan’s theorem,
A+B =A ∙B
Y=A ∙B
Taking double inversion,
𝐘=𝑨 ∙𝑩
Y =A
Solve the remaining as exercise!
Rithesh Kini, Computer Engg Dept., TSEC
Combinational Circuits versus
Sequential Circuits
Combinational Circuits
The input values explicitly determine the output
Sequential circuit
The output is a function of the input values and the
existing state of the circuit
We describe the circuit operations using
Boolean expressions
Logic diagrams
Truth tables