COMPUTER SCIENCE & ENGINEERING Logic Gates
Experiment 1
LOGIC GATES
Objectives
After completing this experiment, you will be able to:
- Understand the operation of logic gates
- Alternate logic gates such as NAND and NOR gates for other logic gates by verifying
De-Morgan’s theorems.
- Use IC 7400/7402 for designing circuit which is satisfied the truth table
- Build and test a circuit that implements the simplified expression.
Materials Needed
- 2 INPUT-AND GATE: IC 74LS02.
- 2 INPUT-NAND GATE: IC 74LS00.
- 2 INPUT-OR GATE: IC 74LS32.
- 2 INPUT-XOR GATE: IC 74LS86
- 2 INPUT-NOR GATE: IC 74LS02.
For further investigation:
Materials to be determined by students.
Multisim: in Class
On Tuesdays (P2_Figure1d_Figure2d)
On Saturdays (P2_Figure1c_Figure2c)
Procedures
P1. Logic Gates
a. IC 74LS04
- One input of NOT gate wire up to switch.
- Output wire up to LED-display
- Toggle switch to change input logic level.
TN Fall 2014 1
COMPUTER SCIENCE & ENGINEERING Logic Gates
- Get the results and write down the truth table of NOT gate.
A Y= A
Low
High
b. IC 74LS02
Students follow instructions
- Two inputs of NOR gate wire up to switches.
- Connect the output pin of NOR gate to a LED-display.
- Toggle switch to change input logic level.
- Observe the results and write down the truth table of NOR gate.
A B Y= A B
Low Low
Low High
High Low
High High
- Led is on when output Y is logic LOW or logic HIGH? _____________
- Led is off when output Y is logic LOW or logic HIGH? _____________
c. IC 74LS32
- Two inputs of OR gate wire up to switch.
- Connect output’s pin to led-display.
- Toggle switch to change input logic level.
- Get the results and write down the truth table of OR gate.
A B Y= A+B
Low Low
Low High
High Low
High High
d. IC 74LS00
- Two inputs of NAND gate wire up to switch.
- Output wire up to LED-display.
- Toggle switch to change input logic level.
- Get the results and write down the truth table of NAND gate.
TN Fall 2014 2
COMPUTER SCIENCE & ENGINEERING Logic Gates
A B Y= A.B
Low Low
Low High
High Low
High High
e. IC 74LS08
- Two inputs of AND gate wire up to switch.
- Output wire up to LED-display
- Toggle switch to change input logic level.
- Get the results and write down the truth table of AND gate.
A B Y= A.B
Low Low
Low High
High Low
High High
f. IC 74LS86
- Two inputs of XOR gate wire up to switch.
- Output wire up to led-display
- Toggle switch to change input logic level.
- Get the results and write down the truth table of XOR gate.
A B Y = A B
Low Low
Low High
High Low
High High
P2. Changing Gate Methods
a. Using NAND to make other logic gates
- Construct the circuit for each Figure 1
- Output wire up to LED-display
- Toggle switch to change input logic level.
- Get the results and write down the truth table of Figure 1a.
- Do the same steps for Figure 1b, 1c and 1d.
TN Fall 2014 3
COMPUTER SCIENCE & ENGINEERING Logic Gates
Figure 1
- Which do these circuits in Figure 1 correspond with logic gates?
………………………………………………………………………………………….
…………………………………………………………………………………………
……….…………………………………………………………………………………
……………….…………………………………………………………………………
b. Using NOR to make other logic
- Construct the circuit for Figure 2a
- The output wires up to LED-display
- Toggle switch to change input logic level.
- Get the results and write down the truth table of Figure 2a.
- Do the same steps for Figure 2b, 2c and 2d.
TN Fall 2014 4
COMPUTER SCIENCE & ENGINEERING Logic Gates
Figure 2
- Which do these circuits in Figure 2 correspond with logic gates?
………………………………………………………………………………………….
…………………………………………………………………………………………
……….…………………………………………………………………………………
……………….…………………………………………………………………………
TN Fall 2014 5