0% found this document useful (0 votes)
30 views4 pages

Lab Report 4

The document describes an experiment to implement common logic gates like AND, OR, NOT, XOR and XNOR using only NAND gates. It includes the theoretical background of different logic gates, circuit diagrams to build each gate with NAND gates, truth tables and results confirming the output behavior matches what is expected.

Uploaded by

omaima shafeeq
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)
30 views4 pages

Lab Report 4

The document describes an experiment to implement common logic gates like AND, OR, NOT, XOR and XNOR using only NAND gates. It includes the theoretical background of different logic gates, circuit diagrams to build each gate with NAND gates, truth tables and results confirming the output behavior matches what is expected.

Uploaded by

omaima shafeeq
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
You are on page 1/ 4

LAB REPORT:

Experiment Title:

Implementation of Logic Gates (AND, OR, NOT, NAND, XOR, XNOR) Using NAND Gates

Equipment Required:

Breadboard

NAND gate ICs (Integrated Circuits)

Connecting wires

Power supply (5V)

Theoretical Background:

Logic gates are fundamental building blocks of digital circuits. NAND gates are versatile because they can
be used to create other logic gates. Here's a brief explanation of each gate:

NAND Gate: Outputs 0 only if both inputs are 1. It is often called the universal gate because you can use
it to create other gates.

AND Gate: Outputs 1 only if both inputs are 1.

OR Gate: Outputs 1 if at least one input is 1.

NOT Gate: Inverts the input signal.

XOR Gate: Outputs 1 if the inputs are different.

XNOR Gate: Outputs 1 if the inputs are the same.

Circuit Diagram:

Insert the circuit diagrams for creating each logic gate (AND, OR, NOT, XOR, XNOR) using NAND gates.
Label all components and connections clearly.

AND Gate Using NAND Gates:

AND Gate Using NAND Gates:


OR Gate Using NAND Gates:

NOT Gate Using NAND Gates:

XOR Gate Using NAND Gates:

XNOR Gate Using NAND Gates:


Truth Table:

Create truth tables for each logic gate (AND, OR, NOT, XOR, XNOR) showing the input combinations and
their corresponding output values.

Truth Table for AND Gate (Using NAND Gates):

Input (A) | Input (B) | Output (Y)

--------------|-------------|-------------

0 | 0 | 1

0 | 1 | 1

1 | 0 | 1

1 | 1 | 0

Truth Table for OR Gate (Using NAND Gates):

Input (A) | Input (B) | Output (Y)

--------------|-------------|-------------

0 | 0 | 0

0 | 1 | 1

1 | 0 | 1

1 | 1 | 1

Truth Table for NOT Gate (Using NAND Gates):

Input (A) | Output (Y)

--------------|-------------

0 | 1

1 | 0

Truth Table for XOR Gate (Using NAND Gates):

Input (A) | Input (B) | Output (Y)

--------------|-------------|-------------

0 | 0 | 0

0 | 1 | 1

1 | 0 | 1
1 | 1 | 0

Truth Table for XNOR Gate (Using NAND Gates):

Input (A) | Input (B) | Output (Y)

--------------|-------------|-------------

0 | 0 | 1

0 | 1 | 0

1 | 0 | 0

1 | 1 | 1

Results:

In this experiment, we successfully implemented basic logic gates (AND, OR, NOT, XOR, XNOR) using
NAND gates as building blocks. We observed the expected output behavior for each gate and confirmed
it by comparing the observed results with the truth tables.

Conclusion:

This experiment demonstrated the versatility of NAND gates, which can be used to construct various
other logic gates. We learned how to create AND, OR, NOT, XOR, and XNOR gates using NAND gates and
verified their functionality through experimentation. Understanding how to build these gates using basic
components is crucial for digital circuit design and logic applications.

You might also like