CPE 315
Professor Stearns
Winter 2008
Laboratory Exercise #4 - MIPS cpu fetch unit
You may do this with one partner if you wish
Due at the end of lab Feb. 5
Objectives:
- acquaint you with the MIPS fetch circuit (fig. 5.6 in textbook)
Files:
Fetch Circuit
clock signature
clock implementation
fetch unit signature
fetch unit implementation
fetch unit test
sample machine code file (Note: one word per line)
makefile
Description:
- Create a machine code file that contains your full name
in ascii.
The format must be identical to the sample file; blank fill the last
word if
size(your name) mod 4 != 0
- Build and operate the fetch circuit.
The fetch circuit works as provided; you need not make any changes.
The machine code file shows the expected input format.
Load your name into the instruction memory and use the fetch circuit
to read each word.
Note: the PC does not start at 0!
- Demo
Show your run to Prof. Stearns; be sure you can identify your name and the memory locations that contain your name.
- Schematic
Draw a (rough) schematic of the fetch circuit and show it to Prof. Stearns
Your drawing must show all the gates in the SIM implementation.
Last updated 2/3/08