CS462 Computer Architecture and Design

Weber/Spring, 2012

Syllabus Announcements Assignments Examples Resources Project

Announcements

Old announcements

Assignments

Due April 18
Write a Verilog module that implements the 1-bit ALU diagrammed in Figure C.5.6 on p. C-29 of the textbook (on CD).  Create an ISE project that includes this module and a testbench module that will test the design on all inputs that make sense.  Name the project cs462a4your_last_name, so that you can hand it in by just copying it to //recluse/shared$/CSIS/WEBERK/Handin/CS462.
Due Feb 29
Modify bubblesort.s (you can find it in the folder M:\CSIS\WEBERK\Handout\cs462s2012\Bubblesort) so that it will read in up to 100000 integers, sort them, and print them out in order.  Also, "inline" the swap method and remove the code for swap completely.  Try to make the sort method as efficient as possible when you inline swap.
Due Feb 3 Feb 6
Write a MIPS program that can be executed in SPIM that reads in a sequence of (signed) integers, until either a 0 or a 1 is encountered.  If 0, the program should print the sum of the numbers, and if 1, the program should print the product.
Due Jan 25
Work in pairs to translate the C++ program sum2.cpp into MIPS assembler, making sure that it executes properly in QtSPIM.  Send me the assembly program by attaching the file to an email message to me.  Send me just one file for the team, but make sure that the assembly program is documented at the top with a description of the program, the due date, and the team members.

Examples

Resources

Project

All projects are based on the binary gcd algorithm.

Form a team of two members.  Choose one of the following three projects; there can be at most two teams working on the same project.

Teams and projects are to be decided by Monday, March 26.  Anyone not in a team with a project by that time will be grouped into teams by me and given a project by my choice.  Email me the members' names and the choice of project.  Projects will be awarded on a first come, first served, basis.  Remember, there can be at most two teams working on the same project.

The final projects are to be turned in  via email by 11 am on Friday, April 27  4 pm on Tuesday, May 1.  Archive all pertinent files into a zip or tar archive and attach the archive to the email.