Turning it in
This assignment must be uploaded HW 4 on moodle by 5:10 PM on 1 March.
The assignment
Write a excellent testbench module for Homework 3.
The excellent testbench
should test all of the state transistions and outputs shown in Figure 3.69. This can
be a little challenging since the testbench can not really see the internal states of the device under test.
The excellent testbench should also test that the reset
and clk
inputs
are handled properly.
Your testbench should assume that the device under test is a module named exer_4_32
.
Your solution for this homework must be a ZIPed copy of a ModelSim project stored in a directory named exer4.32_tb. If you use the lab in RRO 223 to work on this project, you must use the following commands to create a read-protected directory for the project.
mkdir -p csci/320/exer4.32_tb chmod go-rwx csci/320/exer4.32_tb
On Linux systems, the ZIP file can be created within the csci/320 directory with the following one-line command:
cd csci/320; zip -r exer4.32_tb.zip exer4.32_tb
A word about appropriate submissions
This is an individual assignment. Other than incorporating the module interface shown about, every character typed to generate this assignment must be typed by you!
You may talk with others about this assignment. However, this is not a “pair” programming exercise, so you should not be typing while talking.
Your may share you Homework 3 solution with other students so that they can use it to test their testbench.