0% found this document useful (0 votes)
23 views6 pages

Boolean Implementation of XOR and XNOR Gates and Examining Related

The experiment focuses on the Boolean implementation of XOR and XNOR gates using truth tables to understand their operations. It involves using specific integrated circuits (7404, 7408, 7432) and a breadboard to construct the gates, verifying their outputs against expected truth tables. The conclusion highlights that the XOR gate outputs 1 when inputs differ, while the XNOR gate outputs 1 when inputs are the same.

Uploaded by

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

Boolean Implementation of XOR and XNOR Gates and Examining Related

The experiment focuses on the Boolean implementation of XOR and XNOR gates using truth tables to understand their operations. It involves using specific integrated circuits (7404, 7408, 7432) and a breadboard to construct the gates, verifying their outputs against expected truth tables. The conclusion highlights that the XOR gate outputs 1 when inputs differ, while the XNOR gate outputs 1 when inputs are the same.

Uploaded by

mahfuzcseku
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Name of the Experiment:

Boolean Implementation of XOR and XNOR gates and examining related Boolean functions
using truth tables.

Objectives:
To have basic and clear knowledge about logic gates.
To investigate the operation of Exclusive-OR and Exclusive-NOR gates.

Theory:

X-OR Gate:
“XOR” an abbreviation for “Exclusively-OR”. It is a digital logic gate that gives a true (1 or HIGH)
output when the number of true inputs is odd. An XOR gate implements an exclusive or from m
athematical logic; that is, a true output results if one, and only one, of the inputs to the gate is
true. If both inputs are false (0/LOW) or both are true, a false output results. XOR represents
the inequality function, i.e., the output is true if the inputs are not alike otherwise the output is
false. A way to remember XOR is "must have one or the other but not both". In scenarios where
an XOR gate entertains more than two inputs, its operational outcome hinges on the specific
implementation.
The exclusive-OR (XOR), operator uses the symbol ⊕, and it performs the following logic
operation:

X ⊕ Y = X Y’ + X’ Y

XNOR Gate:
Exclusive-NOR gate or XNOR gate is formed by combining the Exclusive-OR gate (XOR gate) and
the NOT gate. On analyzing the XNOR truth table, we understand that the output is similar to
the standard NOR gate except that the output of the XNOR gate is high when both inputs are
high. The output of EX-NOR gate is 1 when both the inputs are 1 (high) and if both the inputs are
0 (low)to the gate. If either one of the inputs is 1 (high), the output will be 0 (low). In other
words, both the inputs should be in the same logic level for the output to be 1.
The exclusive-NOR (XNOR) performs the following logic operation

X ⊙ Y = X Y + X’ Y’ = (X ⊕ Y)’

(X ⊕ Y)’ = (X Y’ + X’ Y)’

= (X Y’)’ (X’ Y)’


= (X’ + Y) (X + Y’)
= (XY + X’Y’)

=X⊙Y
Required Devices and Instruments:
1. A bread board
2. Three Integrated Circuits (7404, 7408, 7432)
3. DC voltage source (5V)

Circuit Diagram:

Fig : XOR gate and XNOR gate

Figure 1: X-OR gate using three basic gates


Figure 2: X-NOR gate using three basic gates

Procedures:
1. Firstly we collect 3 type of IC’s. One of NOT gate which have a code 7404
others one AND gate IC having 7408 code and last one is OR gate IC, which
have 7432 code. Every IC’s connested to breadboad and checked all.
2. Then every IC’s(NOT, AND, OR)14th pin is connected to voltage sources(5V)
and every 7th pin connected to ground.
3. Now we selected 2 data switch and connected the inputs of the first stage to
logic sources and the output of the logic indicator. For NOT gate we connect
a data switch in 1st pin then we get the oposite value into 2 nd pin. For AND
gate we connect 2 input(1st and 2nd pin) and get output into 3rd pin. For OR
gate is same to AND gate.
4. Finally we connected output pin to data displays any point and completed
the circuit.
5. Now, we supplied the power DC sources.
6. We verified the truth table for each input and output combination.
7. For XOR & XNOR gate have same process.
Result
Truth table for XOR Gate:

If the two switches are in different states then the output will be 1.

Truth table for XNOR Gate:

If the switches are in same level then then the output will be 1 otherwise 0 .

Conclusion:
From this experiment we have learned to implement Boolean XOR gate and XNOR by
connecting AND,OR,NOT IC’s on bread board and wires and came to the conclusion that in
case of XOR gate, when the inputs are different, the output will be 1 whereas in case of XNOR
gate, if the inputs are same, the output will be 1;otherwise zero.

You might also like