Logic Gates Boolean Algebra: Instructor: Afroza Sultana
Logic Gates Boolean Algebra: Instructor: Afroza Sultana
&
Boolean Algebra
• Logic Gates
– Digital circuits constructed from diodes,
transistors, and resistors whose output is the
result of a basic logic operation (OR, AND, NOT)
performed on the inputs.
Truth Tables
(c)
(a) Truth Table (b) Gate Symbol (c) waveform
Truth Table and Symbol for a three-input
AND gate
NOT operation
• Truth Table, Symbol, Sample Waveform
x ( A B )( B C )
Evaluating Logic Circuit Outputs
X= A B C (A+D)
Evaluating Logic Circuit Outputs
• X=A B C (A +D)
= 0.1.1.(0+1)
= 1.1.1.1
=1.1.1.0
=0
• We can also evaluate the output levels by simplifying the
logic output using Boolean Algebra.
X= A B C (A +D)
= A B C (A . D)
=ABCD
= 0.1.1.1
=0
Analysis Using Truth Table
NOR Gates
• NOR Symbol, Equivalent Circuit, Truth Table & Wave
form
Output is inverse of the output of OR
Example
x AB C D
1) X.0 =0 5) X+0 =X
2) X.1 =X 6) X+ 1 =1
7) X+X =X
3) X. X =X
4) X. X =0 8) X+X =1
Multivariable Theorems
09. x+y = y+x
10. xy = yx Commutativ law
14. x+xy = x
15. (a) x + x y = x + y
(b) x + x y = x + y
Examples
• Simplify z A B A B
Ans: z B
x y x y
x y x y
Implications of DeMorgan’s Theorems
Example
• Determine the output expression for the following
circuit and simplify it using DeMorgan’s Theorem
• Simplify the expression z A C B D to one
having only single variables inverted.
ans.) z AC B D
Alternate Logic-Gate Representations
Standard and alternate symbols for various logic
gates and inverter.
Logic-symbol Interpretation
• Active high/low
– When an input or output line on a logic circuit symbol has
no bubble on it, that line is said to be active-high, otherwise
it is active-low.
Alternate Logic-Gate Representations
A+B=AB
A
AB A
B
B
X X
C
C
C+D D
D C D= C+D
X= AB (C+D)
Truth Table
Ex-OR gate
Wave form
Exclusive-NOR Circuit
Truth Table
Ex-NOR gate
Parity Method
• Example:
i) 101101110010100 – signal without p.b.
0101101110010100 – signal with p.b.
ii) 1011101001100 - signal without p.b.
11011101001100 - signal with p.b.
Odd Parity Method
• Example:
i) 101101110010100 – signal without p.b.
1101101110010100 – signal with p.b.