Assignment #1, DUE Tuesday Sept 8th, 9:00 am


Problem Statement

This zip archive contains the VHDL model of the abstract pipelined CPU discussed in class. The instrmem entity has already been modified to contain a test program. This model does not handle data hazards. Make the appropriate modifications to add data forwarding or bypassing in order to correct the data hazards present in the test program.

VHDL Simulator Environment

This following link: Introduction to the Mentor QHDL Environment is a tutorial which I did for the VHDL course on the use of the VHDL simulator. You can look at this tutorial for information on the simulator. Differences between the files/directory structure referenced in the tutorial and the files/directory structure found in the above zip archive are:

  1. The tutorial refers to 'src/utilties', 'src/Makefiles', 'src/exam1' directories. The directories contained in the above zip archive are 'src/abm_pipe' and 'src/Makefiles'; there is no 'utilities' directory.
  2. To compile the processor VHDL model do:
       % cd vhdl/src
       % gmake -f Makefiles/Makefile.abm_pipe TOOLSET=qhdl
  3. To run the simulation model, do:
       % cd vhdl/src
       % qhsim -lib abm_pipe processor 
  4. To display the signals in the waveform window, execute the following from with the 'qhsim' command window:
     qhsim> do abm_pipe.do

If you using the Win95 version of qhsim, be sure to read the notes in the tutorial concerning Win95 usage.

Submission Procedure

Please execute this submission script to submit your work. You will need to save this file, then give if execute mode permission:

  % chmod +x submit_ee8273_sim1.sh

The script looks for a directory called 'sim1', you need to place all of your modified VHDL files in this directory before executing the script. It will tar up the directory and the email it to me. This script must be executed on a Sun Solaris machine.


Last modified: Thu Sep 3 15:07:27 CDT 1998