DLD Lab Experiment 3&4
DLD Lab Experiment 3&4
DLD Lab Experiment 3&4
EXPERIMENT - 3
Aim: Introduction to digital electronics lab- nomenclature of digital ICs,
specifications, study of the data sheet, concept of Vcc and ground, verification of the
truth tables of logic gates using TTL ICs. Also to realize all logic gates using NAND and
NOR gates.
Apparatus Required:-
Digital lab kit, single strand wires, breadboard, TTL IC’s
Gates IC NO.
AND 7408
OR 7432
NAND 7400
NOR 7402
NOT 7404
XOR 74136
Bread Board
Theory:-
Logic gates are idealized or physical devices implementing a Boolean function, which it
performs a logical operation on one or more logical inputs and produce a single output.
Depending on the context, the term may refer to an ideal logic gate, one that has for instance
zero rise time and unlimited fan out or it may refer to anon-ideal physical device.
1. Basic Gates
2. Universal Gates
3. Advanced Gates
Basic Gates
1. AND gate: - Function of AND gate is to give the output true when both the inputsare
true. In all the other remaining cases output becomes false. Following table justifies
the statement:-
IC 7408
2. OR gate: - Function of OR gate is to give output true when one of the either inputsare
true .In the remaining case output becomes false. Following table justify the
statement:-
Input A Input B Output
0 0
0 1
1 0
1 1
DLD LAB IITDMK
NOT gate: -Function of NOR gate is to reverse the nature of the input .It converts true input to
false and vice versa. Following table justifies the statement :-
Input Output
1
0
Vcc 6A 6Y 5A 5Y 4A 4Y
14 13 12 11 10 9 8
1 2 3 4 5 6 7
1A 1Y 2A 2Y 3A 3Y GND
7404:Y = A
Hex inverters
Universal Gates
1. NAND gate: -Function of NAND gate is to give true output when one of the two
provided input are false. In the remaining output is true case .Following table justifies
the statement :-
IC 7400
DLD LAB IITDMK
2. NOR gate: - NOR gate gives the output true when both the two provided inputare
false. In all the other cases output remains false. Following table justifies the statement
:-
IC 7402
Advanced Gates
1. XOR gate: - The function of XOR gate is to give output true only when both the
inputs are true. Following table explain this:-
IC 74136
DLD LAB IITDMK
A B Y
0 0
0 1
1 0
1 1
A B Y
0 0
0 1
1 0
1 1
A B Y
0 0
0 1
1 0
1 1
A B Y
0 0
0 1
1 0
1 1
DLD LAB IITDMK
A B Y
0 0
0 1
1 0
1 1
A B Y
0 0
0 1
1 0
1 1
Procedure:-
Place the breadboard gently on the observation table.
Fix the IC which is under observation between the half shadow line of
breadboard, so there is no shortage of voltage.
Connect the wire to the main voltage source (Vcc) whose other end is connectedto
last pin of the IC (14 place from the notch).
Connect the ground of IC (7th place from the notch) to the ground terminal
provided on the digital lab kit.
Give the input at any one of the gate of the ICs i.e. 1st, 2nd, 3rd, 4th gate by using
connecting wires.(In accordance to IC provided).
If led glows red then output is true, if it glows green output is false, which is
numerically denoted as 1 and 0 respectively. The Color can change based on the IC
manufacturer it’s just verification of the Truth Table not the color change.
By applying the inputs, the outputs are observed and the operation is verified with
the help of truth table.
Precautions:-
All connections should be made neat and tight.
Digital lab kits and ICs should be handled with utmost care.
While making connections main voltage should be kept switched off.
Never touch live and naked wires
Result:
Viva Questions:-
1. What is a logic gate?
DLD LAB IITDMK
operation on one or more logic inputs and produces a single logic output.
Ans: NAND and NOR gates are called universal gates as any type of logic gates or logic
5. What is the primary motivation for using Boolean algebra to simplify logicexpressions?
Ans: OR gate
7. Which of the two input logic gate can be used to implement an inverter circuit?
8. Which are the logic gates whose all output entries are logic 1 except for one entrythere is logic
0?
Boolean algebra has postulates and identities. We can often use these laws to reduce
expressions or put expressions into a more desirable form. One of these laws is the De-
Morgan's law.
De-Morgan's law has two conditions, or conversely, there are two laws called De-
Morgan's Laws.
First Condition or First law:
The complement of the product of two variables is equal to the sum of thecomplement of each
variable.
Thus, according to De-Morgan's laws or De-Morgan's theorem if A and Bare the two
variables or Boolean numbers. Then accordingly
𝐴. 𝐵 =A̅+B̅
Second Condition or Second law:
The complement of the sum of two variables is equal to the product of the complement of
each variable.
Thus, according to De Morgan’s theorem if A and B are the two variables then.
𝐴 + 𝐵 =A̅.B̅
Logic Diagram:
DLD LAB IITDMK
First Condition:
Left Hand Side:
A B 𝐘 =𝐴. 𝐵 𝒀 =A̅+B̅
0 0
0 1
1 0
1 1
Second Condition:
Left Hand Side:
PROCEDURE:
1. Patch the left-hand side circuit for the first condition of De-
Morgan's Law on the Digital electronics trainer. Connect the
inputs to the input switches and output to the LED and verify the
DLD LAB IITDMK
Result: