DLD Week 3 Class 2 (4)
DLD Week 3 Class 2 (4)
• For example:
• 0 volt – ‘0’
• 5 volt – ‘1’
AND OR
X Y Z = X+Y NOT
X Y Z = X·Y
0 0 0 0 0 0 X Z =X
0 1 0 0 1 1 0 1
1 0 0 1 0 1 1 0
1 1 1 1 1 1
Lec Md Shadman Aadeeb, Dept. of CSE 5
2/12/2023
Logic Gates
• Gate delay -length of time it takes for an input change to result in the
corresponding output change
Boolean Function
A Boolean equation consisting of a binary variable identifying the
function followed by an equals sign and a Boolean expression.
In simpler terms:
It is a function which takes in some inputs and gives an output.
The inputs can take values of 0’s and 1’s.
The output will be either 0 or 1 depending on the inputs
(5-6 Idempotence)
(7-8 Existence of complement)
(9 Involution)
Dual
• The dual of an algebraic
expression is obtained by
interchanging + and · and
interchanging 0’s and 1’s.
• Self dual:
• If the dual expression = the
original expression.
Proofs
1. X + XY = X
2. XY + XY = X
3. X + XY = X+Y
4. X(X+Y)=X
5. (X+Y)(X+Y)= X
6. X (X+Y)=XY
• E.g. :
• F1(A,B,C) = A’B’C + ABC
• F2(A,B,C,D) = A’BCD + AB’C’D + ABCD
• F3(ABC) = (A+B+C’ ) . (A’+B+C) . (A’+B’+C’)
• Standard form : In this case, there should be at least one term that
does not contain all the variables
• E.g. :
• F1(A,B,C) = A’ + ABC
• F2(A,B,C,D) = A’BD + D + ABCD
• F3(ABC) = (A+B+C’ ) . (C) . (B’+C’)
Denoted by mi
Denoted by Mi
X F
Y A Chip
Z
Using De Morgans:
F= XY +YZ +ZX