Sie sind auf Seite 1von 8

INTERNATIONAL UNIVERSITY

SCHOOL OF ELECTRICAL ENGINEERING

DIGITAL LOGIC DESIGN LABORATORY

Lab 1

LOGIC GATES

Date: ...................................................................
Group: ...............................................................

Student’s Name: .................................................


ID: ......................................................................
Student’s Name: .................................................
ID: ......................................................................
INTERNATIONAL UNIVERSITY
SCHOOL OF ELECTRICAL ENGINEERING

PART 1
INTRODUCTION

I. OBJECTIVES
- Lab policies and some regulations.
- To be familiar with Digital Logic Systems kit.
- Learn how to use some equipments in the electronic lab.

II. INTRODUCTION
In this lab you’ll use a Digital Logic Systems (DLS) kit to implement some simple digital
circuits. DLS kit provides you with a general wiring fabric in which to make connections
among circuit components. Learning how to use this kit effectively takes time and, more
vital, practice. Introduction to Digital Logic Systems kit shows you the basic layout of the
KIT which you’ll be using in DIGITAL LOGIC DESIGN LABORATORY.

III. LABORATORY POLICIES


a. Each lab session lasts 180 minutes and starts promptly. A brief introduction with demo
may be given by the instructor at the beginning of the lab. Everybody has to finish on
time, so please time yourself carefully. Doing the pre-lab can save you a lot of time.
Preparing the lab is very important; as it will save you time and allow you to work more
efficiently. The pre-lab includes reading the lab assignment in advance, answering the
questions or doing the calculations, and if necessary reviewing the material in the
textbook. All pre-lab preparation must be recorded and dated in the lab notebook prior
doing the lab. The lab instructor will check your pre-lab write-up and sign your pre-lab
sheet.
b. Student partnerships, each lab is done in groups of two. The team approach encourages
interaction and helps with the debugging and data collection. However, lab report has to
be handed in individually.
c. Collaboration, Students are working in groups of two in the laboratory. This encourages
team work and makes the conduction of the experiments more efficient. You can
collaborate on the pre-lab and on interpretation of the measured data. However, each
student is responsible for writing the pre-lab and recording the data in his or her pre-lab
sheet. Copying of data from other groups or altered information will result in a zero
grade for the course. The lab report is a joined effort and each student should contribute
equally to writing the report.
d. Instruments and supplies, the major instruments you will need are permanently installed
in the stations.
e. Leave your workplace at least as clean and tidy as you found it. Put everything back in
its proper place. If the workplace is not tidy after you finish it will cause to lose some
marks.
No foods or drinks are allowed inside the lab for any reason.
DLD lab 1 - LOGIC GATES Page | 1
INTERNATIONAL UNIVERSITY
SCHOOL OF ELECTRICAL ENGINEERING

PART 2
LOGIC GATES

I. OBJECTIVES
Upon completion of this lab, you will able to:
- Understand the operation of logic gates.
- Build a combination circuit that implement a Boolean expression.

II. REQUIRED EQUIPMENT


- 2 INPUT-AND GATE: IC 74LS02.
- INVERTER GATE: IC74LS06.
- 2 INPUT-NAND GATE: IC 74LS00.
- 2 INPUT-XOR GATE: IC 74LS86.
- 2 INPUT-OR GATE: IC 74LS32.
- 2 INPUT-NOR GATE: IC 74LS02.

III. INTRODUCTION
1. Logic gates: IC 74LS02, IC 74LS32, IC 74LS00, IC 74LS08, IC 74LS86, IC 74LS04.
2. Alternate logic gates
a. Use NAND gate for other logic gates
b. Use NOR gate for other logic gates
c. Verify De-Morgan’s theorems
3. Design combinatorial logic circuits using logic gates
a. Using IC 7400 for designing circuit which is satisfied the given truth table
VI. LABORATORY
1. LOGIC GATES
a. IC 74LS04
- Two inputs of NOT 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 NOT gate.

A Y= A
Low
High
b. IC 74LS02
Students follow instructions step by step:
- Two inputs of NOR gate wire up to switch.
- Connect Output pin of NOR gate to a led-display.
- Toggle switch to change input logic level.
- Get 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?_____________


DLD lab 1 - LOGIC GATES Page | 2
INTERNATIONAL UNIVERSITY
SCHOOL OF ELECTRICAL ENGINEERING

- 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.

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

DLD lab 1 - LOGIC GATES Page | 3


INTERNATIONAL UNIVERSITY
SCHOOL OF ELECTRICAL ENGINEERING

2. 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, 1d.

74LS00
Figure 1a

74LS00 74LS00
Figure 1b

74LS00

74LS00

74LS00 Figure 1c

74LS00

74LS00 74LS00

74LS00 Figure 1d

Figure 1

- Which do these circuits in figure 1a, 1b, 1c, 1d 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, 2d.

DLD lab 1 - LOGIC GATES Page | 4


INTERNATIONAL UNIVERSITY
SCHOOL OF ELECTRICAL ENGINEERING

74LS02
Figure 2a

74LS02 74LS02
Figure 2b

74LS02

74LS02

74LS02 Figure 2c

74LS02

74LS02 74LS02

74LS02 Figure 2d

Figure 2

- Which do these circuits in figure 2a, 2b, 2c, 2d correspond with logic gates?
c. Given the following circuit

- Build the circuit. The inputs C, B, A are driven by three switches. The output wires
up to led-display.
- Change the state of three inputs and observe the output of each logic gates to finish
the truth table.
d. Construct the circuit for the expression f (C , B, A)  CBA (0,1,2,3,4) in three cases:
 Case 1: Using logic gates
 Case 2: Just only using NAND gates (74LS00).
 Case 3: Just only using NOR gates (74LS02).
- Simplify f expression.

DLD lab 1 - LOGIC GATES Page | 5


INTERNATIONAL UNIVERSITY
SCHOOL OF ELECTRICAL ENGINEERING

f CB
A 00 01 11 10
0

- Based on part 2a, sketch the circuit diagram for the case 2 and the case 3.
 Case 2:

 Case 3:

DLD lab 1 - LOGIC GATES Page | 6


INTERNATIONAL UNIVERSITY
SCHOOL OF ELECTRICAL ENGINEERING

- Build the circuit. The inputs C, B, A are driven by three switches. The output wires
up to led-display.
- Change the state of three inputs and observe the output to finish the truth table.
- Make comment on the results.

DLD lab 1 - LOGIC GATES Page | 7

Das könnte Ihnen auch gefallen