Beruflich Dokumente
Kultur Dokumente
Prelab work:
Submit your Prelab before starting the experiment
1. Form the truth table for three basic gates known as AND , OR and NOT
gate(Inverter). Assume the number of inputs to be 3.
X Y Z=(X.Y)/
0 0 1
0 1 1
1 0 1
1 1 0
The circle at the output of the NAND gate denotes the logical inversion.Also in the
figure , note that the overbar is a solid bar over both input values at once. This shows
that it is the AND function itself that is inverted, rather than each separate input.
The NOR Gate
The NOR gate is an OR gate with the output inverted. Where the OR gate allows the
output to be true (logic 1) if any one or more of its inputs are true, the NOR gate inverts
this and forces the output to logic 0 when any input is true.
X Y (X+Y)/
0 0 1
0 1 0
1 0 0
1 1 0
In symbols, the NOR function is designated with a plus sign (+), with an overbar over
the entire expression to indicate the inversion. In logical diagrams, this is indicated by
an OR gate with a circle to designate the inversion.
The Exclusive-OR, or XOR Gate
The Exclusive-OR, or XOR function is an interesting and useful variation on the basic
OR function. Verbally, it can be stated as, "Either A or B, but not both." The XOR gate
produces a logic 1 output only if its two inputs are different. If the inputs are the same,
the output is a logic 0.
A B AB
1 0 0 0
3 0 1 1
2
1 0 1
1 1 0
The XOR symbol is a variation on the standard OR symbol. It consists of a plus (+)
sign with a circle around it. The logic symbol, as shown here, is a variation on the
standard OR symbol.
A+ AC+ A B+BC
STEP5: Apply OR operation ( A (1 + C ) = A ) to the first and second terms
A+ A B+BC
STEP5: Apply OR operation to the first and second terms
A+BC
Problem:
For the following logic function, find out the truth table, write down the logic
expression and simplify the logic expression as far as possible using Boolean
algebra.
F(A,B,C,D)=∑(5,7,10,11,13,14,15)
Draw the circuit diagrams both before and after simplification. Can you see the
effect of simplification?
Is your simplified logic expression matches exactly with that of all your classmates?????
(a) Simplify the problem as shown in Part B using K map and draw and construct the
circuit diagram. Which method provides better simplification? Implement your simplified
circuit in the breadboard and verify the functionality of the circuit.
(b) Simplify the following problem using K map. Draw and construct the circuit
diagram
F(A,B,C,D)=Σ(5,6,7,9,13)
Is there only one solution or more?
Report:
1) For each of the experiment above, formulate the problem, show the
implemented circuit diagram and the measured truth table of your circuit.
2) Answer all the questions in the sheet including the additional questions asked
below.
3) Discussion
Additional questions:
1. It is possible to implement all the basic logic gates using only NAND gate. That is why
it is called universal gate. With necessary circuit diagram ,show how AND, OR,NOT
and XOR gates can be implemented using NAND gates only.
2. Simplify(circuit diagram not required) the following problem using K map .(note that
it is a 5 variable problem)
F(A,B,C,D,E)=Σ(1,4,5,13,20,21,22,28) +d(6,9,11,12,14,29,30)
IC PIN Diagram
INPUT OUTPUT
1-2 3
4-5 6
9-10 8
12-13 11
7 GND
14 VCC
IC 7404 INVERTER
INPUT OUTPUT
1 2
3 4
5 6
7 GND