EE 361 Homework 8A
Due: Nov. 11, 2005 friday, 12:30pm (before class)
Problem 1 [8 pts]
You will build the MIPS-L0
processor in verilog. A description of the MIPS-L0 processor can
be found in the Hardware Design Tips notes as follows. Go
to the EE 361 web site --> Lecture schedule and notes -->
Lecture notes --> Hardware Design Tips.
The MIPS-L0 is a simplified version of the MIPS-L, which is a
16 bit version of the single cycle MIPS. You will build the
MIPS-L in an upcoming assignment.
Your MIPS-L0 module should look like this.
module
MipsL0(iaddr,aluout,aluina,aluinb,clock,reset,idata);
output [15:0] iaddr;
// Program counter value.
output [15:0]
aluout,aluina,aluinb; // Output of the ALU used for
debugging.
input clock;
input reset;
// Reset to
clear PC. If reset = 1 then next clock transition
//
will clear PC.
input [15:0] idata;
// Where the instruction is input
from the program memory
.
.
.
endmodule
Instructions
This is a two week project, and the following is a suggested schedule
Week 1, Building Components of the MIPS-L0
Build the following modules in verilog (test bench each module to
verify it works)
- Register file RegFileL0: has registers $0-$7.
Registers $0, $4, and $5 are stuck at the values, respectively, 0, 2,
and 1.
- ALU: Description can be found in notes
- ALU Control: A ROM
- PC unit: Check if it can be reset and incremented properly
Week 2, Build a veriwell Project HW8A.PRJ that includes
- Your MIPS-L0 processor (you create this)
- The testbench for the MIPS-LO which you can download here. [This test bench should work but let me
know if it doesn't]
- The instruction memory to be used with the testbench which you
can download here. This memory module has
been verified using the following testbench: testbenchIM.V
Put this project and its files in a Windows folder, which is labeled
"Hw8ANNN", where "NNN" is the first six letters of your last name and
your first initial. For example, "Hw8ASasakiG". In the
folder, also include a README file (either txt or word doc) that has
the following information on separate lines: (1) "EE 361
Fall 2004 Homework 8A", (2) Your name (first then last), and (3) the
date. Compress the windows folder as a zipped file. Then
email the zipped file
To:
agomera@hawaii.edu
Cc:
sasaki@spectra.eng.hawaii.edu
Cc: Your own email addres for your records
Subject: EE 361 Hw8A