Beruflich Dokumente
Kultur Dokumente
INTRODUCTION
A logic gate is an elementary building block of a digital circuit. Most logic gates
have two inputs and one output. At any given moment, every terminal is in one of
the two binary conditions low (0) or high (1), represented by the different voltage
levels. The logic state of a terminal can, and generally does, change often, as the
circuit processes data. In most logic gates, the low state is approximately zero volts
( 0V ), while the high state is approximately five volts positive (+5V).
INPUT
OUTPUT
A B
0 0 0
0 1 1
1 0 1
1 1 0
In the realm of digital logic there are several ways of stating this in a more
detailed and precise format. We will express the verbal statement, "NOT A and B, or
A and NOT B." into logic diagram.
PROCEDURE
1. IC Testing
2. Draw / sketch the IC pin config
74LS86 - XOR
INPUT
OUTPUT Vout
A B
0 0 0 0.10 V
0 1 1 2.49 V
1 0 1 2.49 V
1 1 0 0.13 V
Design a logic circuit that will turn on a light for the ff. condition:
INPUT OUTPUT
L P T W Y
0 0 0 0 0
0 0 0 1 1
0 0 1 0 1
0 0 1 1 0
0 1 0 0 1
0 1 0 1 0
0 1 1 0 0
0 1 1 1 0
1 0 0 0 1
1 0 0 1 0
1 0 1 0 0
1 0 1 1 0
1 1 0 0 0
1 1 0 1 0
1 1 1 0 0
1 1 1 1 1
INPUT OUTPUT
L P T W Y MINTERMS
0 0 0 0 0 ------
0 0 0 1 1 LPTW
0 0 1 0 1 LPTW
0 0 1 1 0 ------
0 1 0 0 1 LPTW
0 1 0 1 0 ------
0 1 1 0 0 ------
0 1 1 1 0 ------
1 0 0 0 1 LPTW
1 0 0 1 0 ------
1 0 1 0 0 ------
1 0 1 1 0 ------
1 1 0 0 0 ------
1 1 0 1 0 ------
1 1 1 0 0 ------
1 1 1 1 1 LPTW
Using MINTERMS in X
The experiment entitled Exclusive –OR (XOR) is about the familiarization of the
XOR Gate, its corresponding op-amp configuration and as well as its behavior after
inputting input combinations of logic 1’s and 0’s. At the first part of the experiment,
we test the logic gates if it functioning properly by comparing its output with the
theoretical truth table of the corresponding logic gate. The logic gate used is a
74LS86 op-amp, it is a Quad 2 Input Exclusive OR Gate.
Figure 4:
This is the 74LS86 op-amp used in the experiment
and its corresponding pin configurations
We obtained only a low output (0.10V ~ 0.13V) when all inputs are all high and
when all inputs are all low, while we obtained a high output (2.49V) when the inputs
are different that means one input is low and the other input is high or vice versa.
Comparing it with the theoretical truth table we can say that it follows the theory
from the results obtained. The theory says that the “XOR” operator would produce
a logic 1 output only if its two inputs are different. If the inputs are the same, the
output is a logic 0.
The second part, is a design problem wherein we are asked to design a logic
circuit with the condition that it will turn on a buzzer for the condition of a) Output is
high if and only if one input is high or all is high. It is summarize in table 3 and using
minterms (shown on table next to table 3), minterms for the output Y we obtained a
logic expression X=LPTW+TW+TWL P+LP+LPTW, we haven’t simplified it further
in order to put emphasis on how to use the XOR gate. We then express these logic
expression to a logic diagram for the creation of the logic circuit (shown in figure 3).
Upon the creation of the circuit an error is encountered due to misplaced wire
and cause the circuit to produce wrong results. This is solve by taking the output
one by one from each logic gate in the logic diagram and test it if its correct or not.
This is done until the circuit produces required or correct output.
VI. CONCLUSION
There are many types of logic gates, The logic gate XOR would produce an
output of high (0) if and only if all inputs are the same, otherwise if the inputs are not
the same it will produce a logic 1 which agrees to the results of the experiments.
VII. RECOMMENDATION
In designing in logic circuits the smaller the number of IC logic gates the much
better. This could be solved using minterms and maxterms on the output. Knowing
also the official pin configuration is a must to be done first rather than determining
the pin configuration by trial and error.
VIII. SUMMARY
The experiment entitled Exclusive – OR (XOR) is all about the function and
uses of XOR Gate. The logic gate XOR would produce an output of high (0) if and
only if all inputs are the same, otherwise if the inputs are not the same it will produce
a logic 1 which agrees to the results of the experiments. The test done on the circuit
is summarized on table 2. It indicates the corresponding low voltage for logic 0’s
and a corresponding high output voltage for logic 1’s.
Proper placing are also required to improve the circuit, it is wise to check
whether your program will fully functions or not.
IX. GLOSSARY
AND Gate - the “AND” operator would produce an output of high (1) if and only if all
inputs are high (1), otherwise it’s the output is low.
OR Gate - The “OR” operator would produce an output of low (0) if and only if all
inputs are low (0), otherwise it’s the output is high.
NAND Gate - The “NAND” operator would produce an output of low (0) if and only if
all inputs are high (1), otherwise it’s the output is high.
INVERT Gate - The “Inverter” would produce a low (0) output if the input is high (1)
and high(1) output if input is low (0). Thus it reverses input.
NOR Gate - The “NOR” operator would produce an output of high (1) if and only if
all inputs are low (0), otherwise it’s the output is low (0).
XOR Gate - The “XOR” operator would produce an output of low (0) if all inputs are
the same otherwise its output is high (1).
XNOR Gate - The “XNOR” operator would produce an output of high (1) if all inputs
are the same otherwise its output is low (0).
Gate - The most basic logic element. A combination of transistors which form a
circuit that performs a logic function, such as NAND or NOR.
The science that investigates the principles governing correct or reliable inference.
IV. REFERENCES
WEBSITES:
http://www.wavecor.co.uk/gloss.htm
http://en.wikipedia.org/wiki/Logic_IC
http://en.wikipedia.org/wiki/7400series
http://www.tpub.com/neets/book10/21.htm
http://www.highbeam.com/doc/1P3-100539721.html
en.wikipedia.org/wiki/Exclusive_or
BOOKS:
EXPERIMENT No. 2
EXCLUSIVE – OR
XOR
Grad
e
BARBOSA, Armando Jr. C.
20060134750