Digital Logic Gates
Digital Logic Gates
Experiment No: 1
I. OBJECTIVES
1. To study the basic logic gates: AND, OR, INVERT, NAND, and NOR.
2. To study the representation of these functions by truth tables, logic diagrams and
Boolean algebra.
3. To observe the pulse response of logic gates.
II. MATERIALS
III. THEORY
AND A multi-input circuit in which the output is 1 only if all inputs are 1.The symbolic
representation of the AND gate is shown in Fig. 1a.
OR A multi-input circuit in which the output is 1 when any input is 1. The symbolic
representation of the OR gate is shown in Fig. 1b.
INVERT The output is 0 when the input is 1, and the output is 1 when the input is 0. The
symbolic representation of an inverter is shown in Fig. 1c.
NAND AND followed by INVERT. The symbolic representation of the NAND gate is
shown in Fig 1d.
NOR OR followed by INVERT as shown in Fig 1e.
EX-OR The output of the Exclusive –OR gate, is 0 when it’s two inputs are the same and
it’s output is 1 when its two inputs are different.
Truth Table Representation of the output logic levels of a logic circuit for every possible
combination of levels of the inputs. This is best done by means of a systematic
tabulation.
d. Two input NAND gate e. Two input NOR gate f. Two input XOR gate
IV. PROCEDURES
For all IC’s in this experiment Vcc = +5v to pin 14, and 0 (ground) to pin 7.
For each part of the experiment, wire the logic diagram as shown. Make the voltage
measurements at the points indicated to complete the tables.
As you perform the experiment, for every output on the logic diagram express the Boolean
function in terms of the input variables and write it on the table.
X y z
0 0 0
0 1 1
1 0 1
1 1 1
3. INVERTER (7404)
Table 1.3
’ x x’
0 1
1 0
4. AND + INVERTER
Table 1.4
x y z
0 0 1
0 1 1
1 0 1
1 1 0
x y z
0 0 1
0 1 1
1 0 1
1 1 0
6. OR + INVERTER
Table 1.6
x y z
0 0 1
0 1 0
1 0 0
1 1 0
x y z
0 0 1
0 1 0
1 0 0
1 1 0
u v w x y
0 0 0 0 1
0 0 0 1 1
0 0 1 1 1
0 1 1 1 1
1 0 0 0 1
1 0 0 1 1
1 0 1 1 1
1 1 0 0 1
1 1 1 1 0
1011
9. AND – OR – INVERTER
Table 1.9
u v w x y
0 0 0 0 1
0 0 0 1 1
0 0 1 1 0
0 1 1 1 0
1 0 0 0 1
1 0 0 1 1
1 0 1 1 0
1 1 0 0 0
1 1 1 1 0
1001 1011
1100 1111
V. DISCUSSION QUESTIONS
1. Based on the data of Table 1.1 what kind of gate is IC type 7408? What is the
characteristic of that gate?
IC type 7408 is an AND gate. Therefore, if either of the two values inputs a 0, the
output is automatically 0.
An inverter simply means that any input will output the opposite logic state input. It is
also a NOT gate.
3. Express the Boolean Equations between inputs and outputs in Table 1.10 for each part
of the experiment. Used letter inputs and outputs when they are used.
Table 1.10
Table 1.11
A B A’ B’ X y z
0 0 1 1 0 1 1
0 1 1 0 1 1 0
1 0 0 1 1 1 0
1 1 0 0 1 0 1
A
B
x
z
VI. CONCLUSION
After the experiment, it is therefore concluded that logic circuits are one of the most essential
fundamentals in any basic electronic circuit up to the most advanced computers we have. All
logic actions, perceived as complicated by many, can just be interpreted into simple means
such as AND, OR, NOT, NAND, NOR, etc., and they are called logic gates. Logic gates
make an electronic operation accessible and possible.
.