100% found this document useful (2 votes)
6K views

Expt 4 Truth Table Verification of Logic Gates

This document discusses verifying the operation of logic gates through truth table experiments. It provides background on logic gates like AND, OR, NAND, NOR, XOR and XNOR. The experiment tests these gates using integrated circuits and records their output behaviors in truth tables to confirm they match the expected operations. Verifying logic gates through truth tables in this way is important for understanding computer logic and digital systems which depend on integrated circuits as fundamental building blocks.

Uploaded by

Swapnil Babele
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (2 votes)
6K views

Expt 4 Truth Table Verification of Logic Gates

This document discusses verifying the operation of logic gates through truth table experiments. It provides background on logic gates like AND, OR, NAND, NOR, XOR and XNOR. The experiment tests these gates using integrated circuits and records their output behaviors in truth tables to confirm they match the expected operations. Verifying logic gates through truth tables in this way is important for understanding computer logic and digital systems which depend on integrated circuits as fundamental building blocks.

Uploaded by

Swapnil Babele
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

TRUTH TABLE VERIFICATION OF LOGIC GATES

Objective: In this experiment, investigate the operation of the AND, OR, NAND, NOR, XOR, and XNOR logic gates and verify their operations according to the truth table.

Apparatus Required: Sl.No. 1 2 3 4 5 6 7 8 9 10 11 Items TTL QUAD AND GATE TTL QUAD OR GATE TTL QUAD NAND GATE TTL QUAD NOR GATE TTL QUAD EXCLUSIVE OR GATE TTL QUAD EXCLUSIVE NOR GATE Connecting wires LED Resistor Bread board RPS Specification 7408 7432 7400 7402 7486 4077 Quantity 1 1 1 1 1 1

0-30 V

1 1

Background Information : Logic gates are the simplest component of any logic circuit. So, to understand the computer logic, you should understand and master the logic operators (gates). A gate is a digital electronic circuit having only one output but one or more inputs. The output or a signal will appear at the output of the gate only for certain input-signal combinations. There are many types of logic gates; such as AND, OR and NOT, which are usually called the three basic gates. Other popular gates are the NAND and the NOR gates; which are simply combinations of an AND or an OR gate with a NOT gate inserted just before the output signal. Other gates include the XOR Exclusive-OR and the XNOR "Exclusive NOR" gates. In a digital system there are only few basic operations performed. These basic operations are: AND GATE The AND gate performs logical multiplication. The output will be high only when all the inputs are high. For a two input AND gate, the possible number of input combination is four. Mathematically, AND gate operation can be expressed as:

Y= A.B.CN. Where A, B, C, N are input variables and Y is an output variable. 7408 is the digital IC in TTL and contains four AND.

OR GATE The OR gate performs logical addition. Its output goes high if any of its inputs or both its inputs is high. Mathematically, it can be expressed as: Y=A+B+C+..+N. Where A, B, C, , N are input variables and Y is the output variable. 7432 is a quad two input OR gate.

NAND GATE The NOT-AND operation is called a NAND gate. It is a NOT gate following an AND gate.Its output will be low if all the inputs are in high state. Mathematically, it can be expressed as: Y= (A.B.C.N). 7400 IC is a quad two input NAND gate.

NOR GATE The NOT-OR operation is called a NOR gate. It is a NOT gate following an OR gate. Its output will be low if any of its input is in high state. Mathematically, it can be expressed as :Y= (A+B+C+..+N). 7402 IC is a quad two input NOR gate.

XOR GATE XOR gate is called a EXCLUSIVE OR gate. It is not a basic gate but is a combination of basic gates- AND, OR and NOT gate. Its output will be high if and only if one input is in

high state.Mathematically, it is expressed as:Y=A ex-OR B. 7486 is a quad two input XOR gate.

XNOR GATE The output of XNOR gate is logic one only when both the inputs are at logic one. XNOR gate is nothing but the XOR gate followed by an INVERTER.

PIN DIAGRAM

AND Gate

OR Gate

NAND Gate

XOR GATE Procedure: 1. Collect the components necessary to accomplish this experiment. 2. Plug the IC chip into the breadboard. Connect an LED to the output terminal through a resistor. 3. Connect the supply voltage and ground lines to the chips. PIN 7 = Ground and PIN 14 = +5 Volts. 4. According to the pinout diagram of each IC mentioned above, wire only one gate to verify its truth table. 5. Once all connections have been done, turn on the power supply. 6. Operate the switches and fill in the truth table (Write "1" if LED is ON and "0" if LED is OFF). 7. Repeat the above steps for each IC package. Observation:

AND GATE OR GATE NAND GATE INPUT OUTPUT INPUT OUTPUT INPUT OUTPUT A B Y A B Y A B Y 0 0 0 0 0 0 0 1 0 1 0 1 1 0 1 0 1 0 1 1 1 1 1 1

NOR GATE XOR GATE XNOR GATE INPUT OUTPUT INPUT OUTPUT INPUT OUTPUT A B Y A B Y A B Y 0 0 0 0 0 0 0 1 0 1 0 1 1 0 1 0 1 0 1 1 1 1 1 1

RESULT The function of all logic gates were studied using ICs and result were verified using truth table. APPLICATION An IC can function as an amplifier, oscillator, timer, counter, computer memory, or microprocessor. Modern computing, communications, manufacturing and transport systems, including the Internet, all depend on the existence of integrated circuits. They are the fundamental building blocks of digital system.

You might also like