






































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







































August 2003
This document has been prepared to serve as a laboratory manual for EE 200 Digital Design course for electrical engineering students. The manual consists of a set of experiments designed to allow students to build, and verify digital circuits and systems. This set of experiments cover relevant topics prescribed in the syllabus and are designed to reinforce the theoretical concepts taught in the classroom with practical experience in the lab. By the end of the course, students are expected to have a good understanding of digital logic design and implementation with SSI and MSI devices.
Each student will do his own pre-lab. It is intended in this course to increase the student’s utilization of PC; therefore, the pre-lab write up must be typed. This same write up should be modified to be submitted as the Lab report.
Starting from Lab 3, all pre-lab must be done using LogicWorks simulation package. During the Lab, each student may be asked about the simulation results. All circuit parts with pin numbers should be included in the pre-lab so that you will be ready to start connecting the hardware in the lab. Try to investigate all possible changes on the circuit to acquire full knowledge about your design. All questions in the Lab handout should be answered based on the LogicWorks results. The pre-lab will make 35% of the total grade of the Lab experiment.
During the lab, the students should work as a group. The Pre-Lab results from each student in the group will compared and the circuit the produces the best results will be implemented using hardware parts. Elaborate on your conclusion about the observations about the simulated and obtained results. Punctuality of attendance to the Lab is worth 5% and the active participation on the experiment will count as 30% of the total grade.
Each student should have his own report. The lab reports are intended to serve two equally important purposes. First, they indicate your technical comprehension of the topics addressed in the labs, and second, they indicate your ability to present and discuss your results in a clear and concise manner. You will be graded on both aspects of your report.
The suggested format for your lab report is given below.
(a) Step-by-step description of what you did. Include as many details as possible, and once again, write it in your own words.
(b) All necessary calculations as well as all pin-to-pin circuit diagrams of your design. Please make sure your figures are consistent, legible and well labeled.
(c) Your testing procedure. Explain how you went about testing your design. Did you try testing critical individual blocks first?
The Lab Report will count as 30% of the grade and is due at the beginning of the subsequent lab experiment.
the eight-pole switch, there are two single pole, double throw (SPDT) switches provided for general switching functions.
Fig.1 PB-503 Panel layout.
IC PIN CONNECTIONs: The IC type 7493 is in a 14-pin dual in-line case. The base pins progress in a counter- clockwise direction as seen from the side away from the pins, as shown Fig 2. Pin 1 is located by an identifying symbol, or the location of pins 1 and 14 are identified by an index notch at the end of the case where pins 1 and 14 are located.
14 13 12 11 10 9 8
1 2 3 4 5 6 7
Index notch
Top view away from pins
The switches can, thus, be used to supply logic level inputs to experimental circuits.
EE 200 DIGITAL LOGIC DESIGN EXPERIMENT #
BINARY AND DECIMAL NUMBERS
OBJECTIVE :
APPARATUS :
BINARY COUNT
THE BCD COUNT
QA
QB
QC QD
9
8
11
10
14
1
2
(^3) R (^2)
R (^1)
A
B
12
Push button Pulser or clock
5 V
IC# 7493
QA
QB
QC QD
9
8
11
10
14
1
2
(^3) R (^2)
R (^1)
A
B
12
Push button Pulser or clock
5 V
IC# 7493
Fig.3 Binary Counter (^) Fig.4 BCD counter
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.
a. Two input AND gate (^) b. Two input OR gate c. Inverter
d. Two input NAND gate e. Two input NOR gate f. Two input XOR gate
Fig.1 Symbols for digital logic gates
Part 1: Logic Functions
I. AND, OR, NAND, and NOR gates.
Fig.2 Two input NAND gate
Remember: Lamp ON = Logic 1, (High) Lamp OFF = Logic 0 (Low)
LED-
S1-
S1-
1 2
3
Table 1 Pin 1 Pin 2 Pin 3
S1-1 (^1 2) LED -
Fig.3 Inverter gate
Table 2. Pin 1 Pin 2 0 1
Part-2: Response of Logic Gates:
Connect the circuits of figures 4 and 5 and write the corresponding truth tables 3 and 4, respectively.
A B
E
C
D
A
B C
D
Fig. 4 Fig. 5
Part 4: Review Questions:
Y
X
X X
X X
Y
X
X X
Y
Y
Y
Y
X X
INTRODUCTION TO LOGICWORKS (Handouts will be given to students)
VI. Position the OR gate near the center of the circuit window and click the mouse button. VII. Press the spacebar to return to point mode. VIII. Move again to the Parts Palette and type on the Filter “switch” or part of the word switch e.g. “sw”. IX. Select Binary switch and connect it to an input of the OR gate in the design window. (If you want to move the binary switch around, press the shift key while moving it). X. Move again to the Parts Palette and select ground to be connected to the other input of the OR gate. XI. Using the same method get a Binary Probe and connect it to the output of the OR gate XII. Click on the binary switch to change it between 0 and 1 and notice how the rule A+0 = A is satisfied.
In the lab connect the circuit as shown in the figure using the switch S1- 1 and LED-1 to verify the rule.
1 0
(^1 ) 2
Vo
Fig.1 Verifying Rule 1
b. Connect the circuit of Fig.2 Using LogicWorks. Which rule does this circuit illustrate?
3
1
2
0
0
(^1) Vo
Fig. In the lab connect the circuit as shown in the figure using the switch S1- 1 and LED-1 to verify the rule.
c. Design a circuit that illustrates rule 10. Use clock generator of the PB- 503 for A and one of the logic switches of S1 for B. Copy the circuit from LogicWorks and paste it in your lab report. d. Rule 6 illustrates that A+A’ could be replaced with a wire to Vcc. What does rule 8 illustrate? e. Rule 11 states that A+A’B = A+B. Using LogicWorks design a circuit that illustrates each of these expressions.
A+A’B A+B
Prove that these two circuits perform equivalent logic. (Connect two circuits and show that their outputs are the same).
Procedure 2: Demorgan’s Theorem
Proof of equation (1)
Using LogicWorks construct the two circuits given in Figs.3 and 4 corresponding to the functions A’. B’and (A+B)’ respectively.
Show that for all combinations of A and B, the two circuits give identical results.
3
1
2
A
B B'
A'.B' 4 5
6
8
13
12
11
A'
10
9
A
B
(^21)
3 (A+B)'
0
1
0
1
0
1
0
1
0 1
Fig.3 Fig.
Proof of equation (2)
Using LogicWorks construct two circuits given in Figs. 5 and 6, corresponding to the functions A’+B’ and (A.B)’ A.B, respectively.
Show that, for all combinations of A and B, the two circuits give identical results.
In the lab connect these circuits and verify their operations.
3
1
2
A
B B'
4
5
6
A'
1
2 3
A'+B' (^1) (A.B)' 2
3
A
B
0
1
0
1
1 1
0
1
0
1
Fig. 5 Fig. 6
II. Design of a Digital Circuit
Consider the following problem:
Four chairs A, B, C, and D are placed in a row. Each chair may be occupied (“l”) or empty (“0”). A Boolean function F is “l” if and only if there are two or more adjacent chairs that are empty.