Lab Report #1
Lab Report #1
EEE241
Lab Report
REG NO SP22-BDS-032
Class BDS-2A
A B F = A. B
0 0 0
0 1 0
1 0 0
1 1 1
OR Gate:
OR gate gives high output if any one of its inputs is 1 and even if both inputs are 1.
Only condition for or gate to give low output is when both inputs are low. As the
name “or” suggests. Input is 1 when either a or b is 1.
Functionally OR = a+b
A B F=A+B
0 0 0
0 1 1
1 0 1
1 1 1
NAND Gate:
NAND gate is negation of and gate. It gives 0 output when both of its inputs are 1
and give 1 output in all other cases.
Functionally NAND = ~(a.b)
A B F = A. B ~F
0 0 0 1
0 1 0 1
1 0 0 1
1 1 1 0
NOR gate:
NOR gate is negation of OR gate. It gives 1 output only when both inputs are 0,
otherwise gives 0.
Functionally NOR = ~(a+b)
A B F=A+B F’
0 0 0 1
0 1 1 0
1 0 1 0
1 1 1 0
XOR Gate:
XOR gate gives 1 as output when either one of the inputs is 1 and other is 0. It
gives 0 if inputs are same. In case of inputs more than 2, even 1’s make output 0
and odd 1’s make output 1.
Functionally XOR = (a.~b) + (~a.b)
A B F = AB’ + A’B
0 0 0
0 1 1
1 0 1
1 1 0
XNOR Gate:
XNOR gate is negation of XOR gate. It gives high output when both inputs are 1 or
in case of more than 2 inputs, even inputs are 1.
Functionally XNOR = ~((a.~b) +(~a.b))
A B F = AB’ + A’B ~F
0 0 0 1
0 1 1 0
1 0 1 0
1 1 0 1
Part 2:
Verify all the basic logic gates using the Proteus simulation tool and note down the
values in the Tables 1.10 & 1.11 with the corresponding logic symbol and Boolean
function. Then show the simulated logic circuit diagrams to your Lab Instructor.
Truth Table:
A B AND OR XOR NAND NOR XNOR
0 0 0 0 0 1 1 1
0 1 0 1 1 1 0 0
1 0 0 1 1 1 0 0
1 1 1 1 0 0 0 1
𝑨 𝑩
0 1
1 0
0 0 0 1
0 1 0 1
1 0 0 1
1 1 1 0
0 0 0 1
0 1 1 0
1 0 1 0
1 1 1 0