Green University of Bangladesh
Department of Computer Science and Engineering (CSE)
Faculty of Sciences and Engineering
Semester: (Summer, Year:2022), B.Sc. in CSE (Day)
Lab Report 2
Course Title: Digital Logic Design Lab
Course Code: CSE-204 Section: DE
Assignmnt Name: Implement the following gates:
1. AND, OR, NOT, NOR. X-OR, X-NOR using only NAND gate.
2. AND, OR, NOT, NAND. X-OR, X-NOR using only NOR gate.
Student Details
Name ID
1. Junaed 221002642
Lab Date : 05-07-2022
Submission Date : 19-07-2022
Course Teacher’s Name : Mr. Montaser Abdul Quader
[For Teachers use only: Don’t Write Anything inside this box]
Lab Report Status
Marks: ………………………………… Signature:.....................
Comments:.............................................. Date:..............................
1 Objective(s)
• To attain knowledge of the Universal logic gates and how they work.
• To implement Universal and basic logic gates using integrated circuits (ICs) and verify the truth
tables...
2 Problem Analysis
The basic logic gates are the building blocks of more complex logic circuits. These logic gates
perform the basic
Boolean functions, such as AND, OR, NAND, NOR, Inversion, Exclusive-OR, and Exclusive-
NOR. figure 1 below
shows the circuit symbol, Boolean function, and truth. It is seen from figure 1 that each gate has
one or
two binary inputs, A and B, and one binary output, C. The small circle on the output of the circuit
symbols
designates the logic complement. The AND, OR, NAND, and NOR gates can be extended to
have more than
two inputs. A gate can be opened to have multiple inputs if the binary operation it represents is
commutative
and associative.
NAND Gate
NOR Gate
Figure 1: Truth tables of basic logic gates
2.1 Pin Diagrams
Figure: Internal architecture of NAND IC.
Figure: Internal architecture of NOR IC.
3 Required Components & Equipment
1. IC 74LS02, and 7400
2. Power Supply
3. Bread Board
4. Resistors: 1 kΩ – 1 nos.
5. LED’s – 1 no’s.
6. Connecting Wires.
4 Procedure
Setup the circuits shown in figure 2 to analyze the operation of the various basic logic gates. For
each gate:
1. Vary the inputs of each gate and measure the output. Do this for all possible combinations of
inputs.
2. Construct the truth table for each gate.
3. Connect Vcc= 5 volt at pin 14 on each chip
4. Connect ground is at pin 7 on each chip
5 Implementation
Figure 4: Implement NAND and NOR IC’s to make basic gate
6 Input/Output
All the gates will verify the following truth tables.
NAND Gate result
NOR Gate result
7 Discussion & Conclusion
We have faced many problems with connections. There were some damaged IC. Also, we have
to maintain voltage and current supply very carefully. Wire connection was very tricky. Finally,
we had done the experiment with our teacher’s help.