0% found this document useful (0 votes)
69 views11 pages

National University of Modern Languages: Digital Logic and Computer Design Lab Report 2

This lab report discusses four basic logic gates: AND, OR, NOT, and XOR. For each gate, it provides the truth table, symbol, description of the integrated circuit chip, and pin configuration. The AND and OR gates are implemented using IC 7408 and 7432 respectively, which contain multiple gates in a single package. The NOT gate uses IC 7404, which contains 6 NOT gates. XOR is implemented with IC 7486, containing 4 two-input XOR gates. The report concludes the lab helped learn how these gates work practically and their integrated circuit implementations.

Uploaded by

hassanali
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
69 views11 pages

National University of Modern Languages: Digital Logic and Computer Design Lab Report 2

This lab report discusses four basic logic gates: AND, OR, NOT, and XOR. For each gate, it provides the truth table, symbol, description of the integrated circuit chip, and pin configuration. The AND and OR gates are implemented using IC 7408 and 7432 respectively, which contain multiple gates in a single package. The NOT gate uses IC 7404, which contains 6 NOT gates. XOR is implemented with IC 7486, containing 4 two-input XOR gates. The report concludes the lab helped learn how these gates work practically and their integrated circuit implementations.

Uploaded by

hassanali
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

NUML

National University of Modern Languages

Digital Logic and Computer Design


Lab Report 2

Submitted by Submitted to
Hassan Ali Jahangir Beenish Sharfeen
11961
BSSE 3
Section A (Morning)

Dated
23 September 2019
BEENISH SHARFEEN DIGITAL LOGIC AND COMPUTER DESIGN
LAB REPORT # 2

Lab # 2
Lab title Study of logic gates
Objectives
 Learn About following
 AND gate
 OR gate
 NOT gate
 XOR gate

September 23, 2019 1


BEENISH SHARFEEN DIGITAL LOGIC AND COMPUTER DESIGN
LAB REPORT # 2

1- AND gate
The AND gate is a basic digital logic gate that implements logical conjunction - it behaves
according to the truth table to the right. A HIGH output (1) results only if all the inputs to the
AND gate are HIGH (1). If none or not all inputs to the AND gate are HIGH, a LOW output
results. The function can be extended to any number of inputs.
Truth Table

Inputs Outputs
A B A and B
0 0 0
0 1 0
1 0 0
1 1 1

Symbol

Integreted Circuit of AND gate


IC 7408 is a logic gate IC. It consists of four two-input AND Gates. The AND gate perform logical
AND operation. Logic gates come in form of ICs. The all four AND gates are independent. Each
gate has three pins two inputs and one output

September 23, 2019 2


BEENISH SHARFEEN DIGITAL LOGIC AND COMPUTER DESIGN
LAB REPORT # 2

Pin configuration

Pin Number Description


7 GND- Connected to ground
14 VCC-Connected to positive voltage to provide
power to all four gates
1 ,2 .4 , 5, 9 , 10 ,12 , 13 Input
3, 6 , 8 ,11 Output

Operating Condition of IC 7408 :

 The power supply should be given to the IC from 4.5V DC to 5.25V DC


 The IC can identify a signal as a high-level signal if the voltage of the signal is above 2V
 The IC can identify a signal as a low-level signal if the voltage of the signal is below 0.8V
 The IC should be operated below the 70-degree centigrade

September 23, 2019 3


BEENISH SHARFEEN DIGITAL LOGIC AND COMPUTER DESIGN
LAB REPORT # 2

2- OR gate
The OR gate is a digital logic gate that implements logical disjunction – it behaves
according to the truth table to the right. A HIGH output (1) results if one or both the
inputs to the gate are HIGH (1). If neither input is high, a LOW output (0) results. In
another sense, the function of OR effectively finds the maximum between two binary
digits,
Truth Table

Inputs Outputs
A B A OR B
0 0 0
0 1 1
1 0 1
1 1 1

Symbol

Integreted Circuit of OR gate


The 7400 series is a popular set of logic ICs that can be ordered from many vendors, and used in
many applications. 7400 chips are generally 14-pin or 16-pin DIP packages, IC 7432 is a logic
gate IC. It consists of four two-input AND Gates. 4 gates on this package, each with 2 input pins,
1 output pin. The output pin is high only when either one, or both, of the input pins are high.

September 23, 2019 4


BEENISH SHARFEEN DIGITAL LOGIC AND COMPUTER DESIGN
LAB REPORT # 2

Pin configuration

Pin Number Description


7 GND- Connected to ground
14 VCC-Connected to positive voltage to provide
power to all four gates
1 ,2 .4 , 5, 9 , 10 ,12 , 13 Input
3, 6 , 8 ,11 Output

September 23, 2019 5


BEENISH SHARFEEN DIGITAL LOGIC AND COMPUTER DESIGN
LAB REPORT # 2

3- NOT gate
A NOT gate (also often called Inverter) is a logic gate. Each NOT gate has only one input
signal. Logically with NOT gates, the input and the output swap, so if you input 1 it
outputs as 0; likewise if you input 0 it outputs as 1.
Truth Table

Inputs Outputs
A A NOT
0 1
1 0

Symbol

Integreted Circuit of NOT gate


Each 7404 NOT gate IC has 6 NOT gates arranged as shown in the following figure. 14th pin is
the Vcc and the 7th pin is the Ground. The outputs directly interface to CMOS, NMOS and TTL.
It supports wide operating conditions and has large operating voltage range.

September 23, 2019 6


BEENISH SHARFEEN DIGITAL LOGIC AND COMPUTER DESIGN
LAB REPORT # 2

Pin configuration

September 23, 2019 7


BEENISH SHARFEEN DIGITAL LOGIC AND COMPUTER DESIGN
LAB REPORT # 2

4- XOR gate
An XOR gate (sometimes referred to by its extended name, Exclusive OR gate) is a digital logic
gate with two or more inputs and one output that performs exclusive disjunction. The output of
an XOR gate is true only when exactly one of its inputs is true. If both of an XOR gate's inputs
are false, or if both of its inputs are true, then the output of the XOR gate is false. If an XOR gate
has more than two inputs, then its behavior depends on its implementation. In the vast
majority of cases, an XOR gate will output true if an odd number of its inputs is true. However,
it's important to note that this behavior differs from the strict definition of exclusive or, which
insists that exactly one input must be true for the output to be true.
Truth Table

Inputs Outputs
A B A XOR B
0 0 0
0 1 1
1 0 1
1 1 0

Symbol

Integreted Circuit of NOT gate

IC 7486 is used as quad 2-input XOR gate. The IC diagram is shown below. It consists of four
two-input XOR Gates. 4 gates on this package, each with 2 input pins, 1 output pin

September 23, 2019 8


BEENISH SHARFEEN DIGITAL LOGIC AND COMPUTER DESIGN
LAB REPORT # 2

Pin configuration

September 23, 2019 9


BEENISH SHARFEEN DIGITAL LOGIC AND COMPUTER DESIGN
LAB REPORT # 2

Conclusion

In this lab we learned about Logical gates AND gate, OR gate, XOR gate & NOT
gate, That how these gates work paractically. We implimented these gate on
digital learner. We also learned about IC’s of these gates like ic 7404 etc. and
also pin configuration of these IC’s. we paratically learned that how these gates
help us to change values and generate a output in form of glowing led’s on
digital leaner.

September 23, 2019 10

You might also like