Professional Documents
Culture Documents
irfanriazshohab@gcuf.edu.pk 1
MSISDN +923338369095
Digital Logic Design Laboratory Hand Book
Verified by:
Approved by:
irfanriazshohab@gcuf.edu.pk 2
MSISDN +923338369095
Digital Logic Design Laboratory Hand Book
PREFACE
The laboratory of each and every subject taught in the degree of Bachelors in Electrical
Engineering is of very much importance in every University. Fully equipped laboratory meeting
the industrial demands under the supervision of qualified, talented and practically motivated lab
assistants and lab engineers is also a basic criterion of the Pakistan Engineering Council. This
Manual has been formulated considering all these above mentioned points.
This manual is according to the equipment supplied by the RIMS, USA and meets the requirements
of all the course of Digital Logic Design as per the curriculum of GC University Faisalabad.
Special thanks to the staff and students for assisting me in the preparation of this manual.
With Regards
Engr. Irfan Riaz Shohab
irfanriazshohab@gcuf.edu.pk 3
MSISDN +923338369095
Digital Logic Design Laboratory Hand Book
irfanriazshohab@gcuf.edu.pk 4
MSISDN +923338369095
Digital Logic Design Laboratory Hand Book
Experiment No. 1
VERIFICATION OF TRUTH TABLES OF ALL LOGIC
GATES
(Assemble the circuit related to each logic gate, manipulate
the circuit and then display their result.)
OBJECTIVE
Familiarization with the RIMS ePAL Trainer (digital logic design prospective) and ICs
of all logic gates
Familiarization with the proteus software tool (digital logic design prospective)
Verification of truth tables of all logic gates
EQUIPMENT
ePAL Trainer Board
2 resisters 1K ohm
Connecting wires
COMPONENTs
IC Type 7400 Quadruple 2-input IC Type 7408 Quadruple 2-input
NAND gates AND gates
IC Type 7402 Quadruple 2-input IC Type 7432 Quadruple 2-input OR
NOR gates gates
IC Type 7404 Inverters IC Type 7486 Quadruple 2-input
XOR gate
THEORY
An integrated circuit (IC) is a small electronic device made out of a semiconductor material. A
semiconductor material is a one which is neither a good conductor of electricity nor a good
insulator. Semiconductors make it possible to miniaturize electronic components, such as
transistors. Not only does miniaturization mean that the components take up less space, it also
means that they are faster and require less energy.
Active Components:
Those devices or components which required external source to their operation is called Active
Components.
For Example:
Diode, Transistors, SCR etc…
Explanation and Example:
irfanriazshohab@gcuf.edu.pk 5
MSISDN +923338369095
Digital Logic Design Laboratory Hand Book
irfanriazshohab@gcuf.edu.pk 6
MSISDN +923338369095
Digital Logic Design Laboratory Hand Book
irfanriazshohab@gcuf.edu.pk 7
MSISDN +923338369095
Digital Logic Design Laboratory Hand Book
ICs Families
irfanriazshohab@gcuf.edu.pk 8
MSISDN +923338369095
Digital Logic Design Laboratory Hand Book
irfanriazshohab@gcuf.edu.pk 9
MSISDN +923338369095
Digital Logic Design Laboratory Hand Book
Logic gates are the digital circuits with one output and one or more inputs. They are the basic
building blocks of any logic circuit. Different logic gates are: AND, OR, NOT, NAND, NOR,
EX-OR. There logic is briefly explained below.
AND: Logic eqn. Y = A.B
The output of AND gate is true when the inputs A and B are True.
OR: Logic eqn. Y = A+B.
The output of OR gate is true when one of the inputs A and B or both the inputs are true.
NOT: Logic eqn. Y = Ā.
The output of NOT gate is complement of the input.
NAND: Logic eqn. Y = A.B
The output of NAND gate is true when one of the inputs or both the inputs are low level.
NOR: Logical eqn. Y = A+B.
The output of NOR gate is true when both the inputs are low.
EX-OR: Logic eqn. Y=AB+AB.
The output of EX-OR gate is true when both the inputs are low.
irfanriazshohab@gcuf.edu.pk 10
MSISDN +923338369095
Digital Logic Design Laboratory Hand Book
In a circuit, logic variables (values 0 and 1) can be represented as levels of voltage. The most
obvious way of representing two logic values as voltage levels is to define a threshold voltage;
any voltage below the threshold represents one logic value and voltages above the threshold
Correspond to the other logic value.
To implement the threshold – voltage concept, a range of low and high voltage levels is defined,
as shown in Fig. 1.2. This figure indicates that voltages in the range Gnd to Vo, max represent
logic value 0. Similarly, the range from V1, min to Vcc corresponds to logic value 1. Logic
signals do not normally assume voltages in undefined range except in transition from one logic
value to the other.
CONNECTION DIAGRAM
irfanriazshohab@gcuf.edu.pk 11
MSISDN +923338369095
Digital Logic Design Laboratory Hand Book
irfanriazshohab@gcuf.edu.pk 12
MSISDN +923338369095
Digital Logic Design Laboratory Hand Book
PROCEDURE
1. First get above mentioned apparatus and component from the lab staff.
2. Turn ON the RIMS (ePAL trainer) and the required functions i.e. input, output terminals,
Vcc and GND etc.
3. Take IC 74LS00 and place it on bread board. Apply Vcc and GND to the specified pins
as shown in the pin configuration below. Apply four combination of input to each gate
of the IC and fill the following table 1.1. And compare your result with truth table.
4. Take IC 74LS02 and place it on bread board. Apply Vcc and GND to the specified pins
as shown in the pin configuration below. Apply four combination of input to each gate
of the IC and fill the following table 1.2. And compare your result with truth table.
5. Take IC 74LS04 and place it on bread board. Apply Vcc and GND to the specified pins
as shown in the pin configuration below. Apply four combination of input to each gate
of the IC and fill the following table 1.3. And compare your result with truth table.
6. Take IC 74LS08 and place it on bread board. Apply Vcc and GND to the specified pins
as shown in the pin configuration below. Apply four combination of input to each gate
of the IC and fill the following table 1.4. And compare your result with truth table.
irfanriazshohab@gcuf.edu.pk 13
MSISDN +923338369095
Digital Logic Design Laboratory Hand Book
7. Take IC 74LS32 and place it on bread board. Apply Vcc and GND to the specified pins
as shown in the pin configuration below. Apply four combination of input to each gate
of the IC and fill the following table 1.5. And compare your result with truth table.
8. Take IC 74LS86 and place it on bread board. Apply Vcc and GND to the specified pins
as shown in the pin configuration below. Apply four combination of input to each gate
of the IC and fill the following table 1.6. And compare your result with truth table.
RESULTS & CALCULATIONS
Table 1.1
IN OUT
A B Gate 1 (V) Gate 1 (H/L) Gate 2 (V) Gate 2 (H/L) Gate 3 (V) Gate 3 (H/L) Gate 4 (V) Gate 4 (H/L)
L L
L H
H L
H H
Table 1.2
IN OUT
A B Gate 1 (V) Gate 1 (H/L) Gate 2 (V) Gate 2 (H/L) Gate 3 (V) Gate 3 (H/L) Gate 4 (V) Gate 4 (H/L)
L L
L H
H L
H H
Table 1.3
IN OUT
A B Gate 1 (V) Gate 1 (H/L) Gate 2 (V) Gate 2 (H/L) Gate 3 (V) Gate 3 (H/L) Gate 4 (V) Gate 4 (H/L)
L L
L H
H L
H H
irfanriazshohab@gcuf.edu.pk 14
MSISDN +923338369095
Digital Logic Design Laboratory Hand Book
Table 1.4
IN OUT
A B Gate Gate 1 Gate Gate 2 Gate Gate 3 Gate Gate 4 Gate Gate 5 Gate Gate 6
1 (V) (H/L) 2 (V) (H/L) 3 (V) (H/L) 4 (V) (H/L) 5 (V) (H/L) 6 (V) (H/L)
L L
L H
H L
H H
. Table 1.5
IN OUT
A B Gate 1 (V) Gate 1 (H/L) Gate 2 (V) Gate 2 (H/L) Gate 3 (V) Gate 3 (H/L) Gate 4 (V) Gate 4 (H/L)
L L
L H
H L
H H
Table 1.6
IN OUT
A B Gate 1 (V) Gate 1 (H/L) Gate 2 (V) Gate 2 (H/L) Gate 3 (V) Gate 3 (H/L) Gate 4 (V) Gate 4 (H/L)
L L
L H
H L
H H
CONCLUSION
-------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------
irfanriazshohab@gcuf.edu.pk 15
MSISDN +923338369095