|
ECE 30 - Introduction to Computer EngineeringSpring 2008 |
Monday 6:00-6:50pm (CENTR 115) & repeated Monday 7:00-7:50pm (CENTR 201), led by the TA.
The attendance to one discussion per week is mandatory: quizzes will be held during the Monday discussion sessions. By default, you are obliged to be present in the 6pm section to do your quiz. Send the professor an email if scheduling forces you to attend to the 7pm section for the quiz.
You can download a PC version or a Unix version from here. In addition, UC Berkeley maintains a Web page for a MAC OSX version.
You can find a nice tutorial for the SPIM simulator here.
Back
Recommended problems will be posted weekly. It is strongly recommended that these problems be worked out and thoroughly understood (especially since quiz problems will be very similar to the recommended problems).
Week 2 - Performance Measures (Chapter 4 in text): 4.1, 4.8, 4.9, 4.10, 4.12, 4.14, 4.15, 4.17, 4.18, 4.51 (solutions) - Some extra problems and solutions.
Week 3 & 4 - Instruction Set & Assembly Language (Chapter 2 & Appendix A in text): 2.15, 2.29, 2.34, 2.37, 2.38, 2.46 (ignore Java
index out of bounds check) (solutions) - Some extra problems and solutions.
Week 5 - Logic Design Review (Appendix B in text): Problems and solutions.
Week 6 & 7 - Arithmetic for Computers (Appendix B and Chapter 3 in text): 3.4, 3.5, 3.6, 3.7, 3.10, 3.28abc, 3.30, 3.31, 3.37, 3.38 (solutions) - Some extra problems and solutions.
Week 8 - CPU Design (Chapter 5 in text): Problems and solutions.
Week 9 & 10 - Memory Hierarchy (Chapter 7 in text): 7.9, 7.10, 7.14, 7.16, 7.32, 7.39, 7.40 (solutions) - Some extra problems and solutions.
Back
The project: Cyclic Towers of Hanoi.
Due: Thursday, June 5, 2008
The programming project must be done in groups of two. You may select your own partner. Anyone without a partner who didn't contact the TA about this before 11:59:59pm on Tuesday 06/03/08 will lose points on the programming assignment.
It will be a mini programming project in R2000 assembly language. You will need to download a simulator called SPIM (version 6.5) on your own computer, which can be used to verify the correctness of your assembly language program. You can use either the PC (Windows) version, the MAC OSX version, or the Unix/Linux version.
You must turn in a commented source code electronically by the due date.
Please use the provided driver file and carefully follow the instructions in the driver file to write your program: Driver File. Make sure that you turn in a complete program including a .globl main and a main: procedure. See the fact program in Appendix A (A-27 - A-29). If the TA can't easily run your program, you will lose points.
The program is due at 11:59:59 PM on Thursday, June 5, 2007. Any program received after that will lose points for being late.
Turn in the program by emailing it to Omer at olang@ucsd.edu with subject line ECE 30 PROGRAM. In the email body include the email addresses and full names of both parters. Be sure to attach the program!
Back