CPE 315
Professor Stearns
Winter 2008
Lab #3 FAQ


Lab #3

  1. Which instructions does Lab 3 support?
    You must support the relevant actions of the following instructions; since this is a partial CPU implementation, it doesn't necessarily support the whole instruction.
    add, sub, addi, addu, subu, addiu, and, or, andi, ori, lw, sw, slt

  2. Can I work on the ALU with my Lab Project #1 partner?
    Yes. But everything else is individual work.

  3. Do I have to use the formatter tool?
    No. You can write the romfile yourself - it's not that long.

  4. How do I get started on the Register File?
    There is a good example in the SIM signatures file.
    In fact, it nearly does all the work for you.

  5. What character should our Carry-in be for our ALU because c is already taken?
    Don't use a switch.
    If op=3 the ALU is doing an SLT instruction so you should assert Cin0 when op=3.

  6. What happens if my project isn't working by 3:00 ?
    Turn in what you have in a formal report.
    It will earn a R grade; you must continue working until the project is complete.
    Speed is important; your R grade might be raised if you finish the lab quickly.

    If you turn in nothing, you will earn a zero on the lab project.


last updated on 2/14/08