Tutorial 3
Tutorial 3
BUILT ENVIRONMENT
TUTORIAL 3
Semester 2
NAME ……………………………………………………………………
ID ……………………………………………………………………
Chapter 3: Logic Gates
Figure 1
Figure 2
3. The input waveforms applied to a 4-input AND gate are as indicated in Figure 3. Draw the
net output waveform of this system.
Figure 3
2
Section 3–4 The NAND Gate
7. Determine the output waveform in Figure 4.
Figure 4
8. The two logic symbols shown in Figure 5 represent equivalent operations. The difference
between the two is strictly from a functional viewpoint. For the NAND symbol, look for
two HIGHs on the inputs to give a LOW output. For the negative-OR, look for at least one
LOW on the inputs to give a HIGH on the output. Using these two functional viewpoints,
show that each gate will produce the same output for the given inputs.
Figure 5
10. The NAND and the negative-OR symbols represent equivalent operations, but they are
functionally different. For the NOR symbol, look for at least one HIGH on the inputs to
give a LOW on the output. For the negative-AND, look for two LOWs on the inputs to give
a HIGH output. Using these two functional points of view, show that both gates in Figure
6 will produce the same output for the given inputs.
Figure 6
3
Section 3–6 The Exclusive-OR and Exclusive-NOR Gates
11. How does an exclusive-OR gate differ from an OR gate in its logical operation?
12. Determine the output of an exclusive-NOR gate for the inputs shown in Figure 2 and draw
a timing diagram.
Figure 7
14. Describe a 4-input AND gate using VHDL.
Design Problems
15. Design a circuit to fit in the beige block of Figure 8 that will cause the headlights of an
automobile to be turned off automatically 15 s after the ignition switch is turned off, if the
light switch is left on. Assume that a LOW is required to turn the lights off.
Figure 8
16. Design a circuit for an intrusion detection and alarm system. This system could be used for
three rooms in a home, whereby each room has two windows and a door. The sensors are
magnetic switches that produce a HIGH output when open and a LOW output when closed.