Homework Solutions

To help you prepare for the exam, the TAs have provided solutions for homework 1-3. They can be found on the Resources Page.

Following along in the text

If you're interesting in following what we're doing in class in the text, we're starting Chapter 4 of Computer Organization and Design.  In particular, Section 4.3 covers the design of a datapath.  The book uses a different processor than we do that is somewhat more complicated, but its structure is identical to KURM09.


Midterm Exam

The midterm is scheduled for April 2 in class.  A set of study topics is available on the exams page.  Bring questions to class Thursday and Tuesday.


Combinational not Sequential ALU

The project 3 description specifies a sequential ALU. It should be combinational. Also, the VHDL skeleton uses a control input with 3 values (2 downto 0). Only two are required. I have posted an updated project description should you want to download a new version. However, these are the only changes.

Project 3 update

I just updated the project 3 writeup to use std_logic rather than bit. Shouldn't make any difference other than being consistent with what's in the KURM synthesis library. If you started to use bit, it should be easy to simply replace bit with std_logic and bit_vector with std_logic_vector.

Project 3 due date

Project 3 due date is the week starting April 7. Note that the Monday lab is still a week behind.

Project 3 due date

Project 3 due date is the week starting April 7. Note that the Monday lab is still a week behind.

Project 3 due date

Project 3 due date is the week starting April 7. Note that the Monday lab is still a week behind.

Book references

There are references in the texts for topics I have been covering in class. However, it appears most of the information has been moved to the CD-ROM in the current edition of Computer Organization and Design.

In Ashenden, there are two examples of ALUs on p203 and 208. They are both more abstract that what I covered in class, but the structure of the code is identical. In Computer Organization and Design, ALU information is on the CD-ROM in chapter C.

In Computer Organization and Design, there is information on register files on the CD-ROM in chapter C.

In Computer Organization and Design, arithmetic is discussed starting on page 222.

Homework 3

Homework 3 is available on the homework page. Due date is March 12 in class.
0