ECE 30 - Introduction to Computer Engineering

Spring 2008




Practical Information

Course load

4 units

Prerequisites

with grades of C- or better

Lectures

Tuesday & Thursday 5:00-6:20pm, CSB 002 (20 lectures in total)

Discussions

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.

Final Exam

7:00-10:00pm, Thursday, June 12th, 2008

Instructor

Gert Lanckriet

Email: gert@ece.ucsd.edu
Office 5604 EBU1
Office hours: Tuesday/Thursday 12:30-1:30pm

Teaching Assistant

Omer Lang

Email: olang@ucsd.edu
Office Omer will meet students at his desk on the 4th floor of Atkinson Hall (CalIT2 building). His desk is close to room 4107 in Atkinson Hall and will have the sign "ECE30 TA" over his desk
Office hours: Monday 10:00am-noon
The TA is the principal contact to email with questions about the course content

Grading

Quizzes: 40%
(mini) Programming Project: 15%
Final Exam: 45%

Back

Updates & Announcements

Back

Course Materials

Topics

Textbook

The textbook for this course is Computer Organization and Design, Patterson and Hennessy (3rd edition). The book is available in the bookstore.

Lecture Slides

SPIM Simulator

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

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


Quizzes & Final Exam



Back

Programming Project

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