Sie sind auf Seite 1von 3

TEJ2O1: Digital Logic

Go to the following website: www.neuroproductions.be/logic-lab/



1. Scroll to the bottom, and click on LOGIC PORTS to examine circuits
illustrating the gates that we have learned about. Turn the switches on and off,
and observe what happens.

a) Under what condition(s) does the light turn on for the AND gate?
If both inputs are on
b) Under what condition(s) does the light turn on for the OR gate?
If one of the inputs is on
c) Under what condition(s) does the light turn on for the NOT gate?
If the input is off
d) Under what condition(s) does the light turn on for the NAND gate?
When one or both inputs are off
e) Under what condition(s) does the light turn on for the NOR gate?
When both inputs are off
f) Under what condition(s) does the light turn on for the XOR gate?
When one input is on


2. Clear the stage by clicking on

Create the circuits listed below, and answer the following questions. Take a
screenshot of the circuit and paste it into the answer space to the right.

a) One input flowing straight to a red light bulb.

What happens when the switch is turned ON?
The light turns on
What happens when the switch is turned OFF?
The light turns off



b) Two inputs flowing to an OR gate (but one flows through a NOT gate first), and the
output goes into a light bulb.

You will notice that there are many conditions under
which the light bulb will be ON. What is the only
scenario in which the light bulb will be OFF?
If the input that goes though the NOT gate is turned on




TEJ2O1: Digital Logic
c) Two inputs flowing to an XOR gate, and the fan as the output.

What happens when one switch is ON?
The fan turns on
What happens when both switches are ON?
Fan turns off
What happens when both switches are OFF?
Nothing



d) Two inputs flowing to an AND gate and then that output flows through a NOT gate,
and into a light bulb.

Under what conditions does the light bulb turn OFF?
When both switches are turned on
Describe what is happening under this condition.
(i.e. follow the flow through the circuit)
Both inputs are flowing though the and gate giving the
and gate a signal therefore turning off the light because
the not gate does the opposite.


e) Two inputs flowing to a NAND gate and then that output flows through a NOT gate,
and into a light bulb.

Under what conditions does the light bulb turn ON?
When both inputs are on
Describe what is happening under this condition.
(i.e. follow the flow through the circuit)
Both inputs flow through to the NAND gate turning it
off allowing the not gate to keep the light on

f) Two inputs flowing to a NOR gate and then that output flows (along with a third
input) to an AND gate.

Under what conditions does the light bulb turn ON?
If the third input is turned on
Describe what is happening under this condition.
(i.e. follow the flow through the circuit)
When the two inputs are turned off the XNOR outputs
. a on signal which goes to an AND gate, when the third
Switch is turned on the AND gate is complete and the light turns on




TEJ2O1: Digital Logic
.

3. Use these basic logic gates to create a couple of your own complex circuits.
Then figure out the truth table for them. Challenge another member of the class
to figure out the truth table as well. See if your truth tables match what actually
happens in the circuit. Limit yourself to only 2 inputs.












A B Output
0 0 1
0 1 1
1 0 1
1 1 0
A B Output
0 0 1
0 1 0
1 0 0
1 1 1

Das könnte Ihnen auch gefallen