Professional Documents
Culture Documents
ECNG 2004
LABORATORY & PROJECT DESIGN II
http://myelearning.sta.uwi.edu/course/view.php?id=1678
Semester I, 2009/2010
1. GENERAL INFORMATION
Lab #:
Name of the Lab:
DIGLAB2
Design of Hold Registers and Multiplexers
Lab Weighting:
Delivery mode:
Electronics Laboratory
Lab Dependencies2
Recommended
prior knowledge
and skills3:
Course Staff
Position/Role
E-mail
Phone
Office
Marcus.George@uwi.sta.edu ext3164 Electronics
Lab Office
Office
Hours
Friday
10am - 1pm
Cognitive
Level
C
C, Ap
structural approach)
3. Implement of a 1-bit 4 to1-line multiplexer using buses and bus taps
4. Implement of a 2-bit 4 to 1-line multiplexer using 1-bit 4 to1-line
C
C, Ap
An
digital systems.
6. Use a structural approach to the implementation of simple and complex
Ap
digital systems.
3. PRE-LAB
Due Date:
Submission
Procedure:
Estimated time to
completion:
Students must have completed the pre-lab exercise in advance of the inlab exercise.
N/A
30 minutes
D Flip Flop
Hold Register
Multiplexer
Make sure to fully understand the implementation of these digital circuits using logic gates. Also
read through the laboratory manual for DIGLAB2 to understand how these circuits may have
been utilized.
4. IN-LAB
Allotted Completion 3 hours
Time:
1 printed copy of the digital lab2 manual (students must bring to the lab)
Required lab
Equipment:
1 Computer
Use the Xilinx Schematic Editor to create a 4-bit hold register as shown in
Figure 1 below.
4.1.2.
4.1.3.
Create a new test bench waveform and simulate both the functional and
timing behavior of the 4-bit hold register created.
4.1.4.
Figure 1: Schematic of the 4-bit hold register without buses and bus taps
4.2. Implementation of a 4-bit hold register using buses and bus taps
4.2.1.
Use the Xilinx Schematic Editor to create a 4-bit hold register as shown in
Figure 2 below.
a. Place bus taps as shown in Figure 2 below.
Rotate or mirror the bus taps by placing the cursor over the bus
tap and clicking using the right mouse button. Select rotate or
mirror using the left mouse button.
Now repeat the first three steps of part(c) for all other bus taps
using values D(n) and Q(n) where n = 0,1,2,3.
4.2.2.
4.2.3.
Create a new test bench waveform and simulate both the functional and
timing behavior of the 4-bit hold register created.
4.2.4.
Figure 2: Schematic of the 4-bit hold register with buses and bus taps
Use the Xilinx Schematic Editor to create an 8-bit hold register as shown in
Figure 3 below.
4.3.2.
4.3.3.
Create a new test bench waveform and simulate both the functional and
timing behavior of the 8-bit hold register created.
4.3.4.
Q(3:0)
D(3:0)
D(7:4)
Q(7:4)
D(7:4)
Figure 3: Schematic of an 8-bit hold register implemented using 4-bit hold registers
Using the Xilinx Schematic editor, create the 1-bit 4 to1-line multiplexer of
Figure 4 using the schematic given in Figure 5.
4.4.2.
4.4.3.
Create a new test bench waveform and simulate both the functional and
timing behavior of this module.
4.4.4.
This is where your understanding of multiplexers and creativity will become very
useful.
4.5.1.
Using the Xilinx Schematic editor, create the 2-bit 4 to1-line multiplexer
using the macro of the 1-bit 4 to1-line multiplexer created previously.
4.5.2.
4.5.3.
Create a new test bench waveform and simulate both the functional and
timing behavior of this module.
10
5. POST-LAB
A signed plagiarism declaration form must be submitted with your assignment.
Due Date:
Feedback on Lab
Submission
Procedure:
Deliverables:
11
5.1. Assignment:
5.1.1.
Design and implement a 16-bit hold register. The hold register should have a
single 16-bit data input (D) port and a single 16-bit data output(Q) port. The
design should be thoroughly tested to ensure that functional and timing errors
do not exist.
Students must submit the following for this question:
i. Schematic [2 marks]
ii. functional simulation [1 mark]
iii. timing simulation [1 mark]
5.1.2.
Explain the operation of the 4-bit hold register created in this lab exercise. [2
marks]
5.1.3.
What is the significance of using buses and bus taps in digital system design?
[1 mark]
5.1.4.
5.1.5.
5.1.6.
Explain how to implement a 16-bit 3 to1-line multiplexer. Implement the 16bit 3 to1-line multiplexer and perform functional and timing simulation on it.
[total = 6 marks]
Students must submit the following for this question:
i. Schematic [2 marks]
ii. functional simulation [1 mark]
iii. timing simulation [1 mark]
End of DIGLAB2: Design of Hold Registers and Multiplexers
12