CSE141: Introduction to Computer Architecture

Schedule and Slides Homework

Peterson Hall 102

Lecture: MTuWTh 2:00p - 3:20p

Discussion Section: TuTh 1:00p - 1:50p


Hung-Wei Tseng
email: h1tseng @ cs.ucsd.edu (Please put [CSE141SU12] in your title.)
IM: bunnyhwtseng @ AIM
Office: CSE 2218
Office Hours: TuTh 11a-12p or by appointment

Teaching Assistants

Joonleng Tan
email: jot017 @ cs.ucsd.edu
Office: CSE B260A
Office Hours: MW 4:00p-5:00p or by appointment

Course Discussion Board

csemoodle. Required reading. Get signed up. You should also be subscribed to the discussion forums for the course

Course Description

This course will describe the basics of modern processor operation. Topics include computer system performance, instruction set architectures, pipelining, branch prediction, memory-hierarchy design, and a brief introduction to multiprocessor architecture issues.

This course is taught in tandem with CSE141L. Unless you have discussed it with you me, you should be in enrolled in both.

Text books

Required: Patterson & Hennessy, Computer Organization and Design: The Hardware/Software Interface, Patterson & Hennessy, Morgan Kaufmann, Revised 4th Edition

Required: Other assigned readings throughout the quarter.

Optional: The History of Computing This a great set of lectures from a course taught at UCSD/UW/Berkeley three years ago. Most of them are by the folks that actually made the history (Steve Wozniak, Ray Ozzie, Gordon Bell, etc.)


Homework 15%

Homeworks will be assigned throughout the course. They are due on Mondays

Class participation 10%

We will be using clickers in the class!

Reading Quizzes 15%

We will have reading quizzes on csemoodle!

Midterm 25%

Final 35%

The final will be cumulative.

Additional notes about grades in this course:

  1. Your score will be available on csemoodle. Your final grade is the weighted average of these grades.
    We do our best to record grades accurately, but you should double-check.

  2. Errors in grading If you feel there has been an error in how an assignment or test was graded, you have one week from when the assignment is return to bring it to our attention. You must submit (via email to the instructor and the appropriate TAs) a written description of the problem. Neither I nor the TAs will discuss regrades without receiving an email from you about it first.
    For arithmetic errors (adding up points etc.) you do not need to submit anything in writing, but the one week limit still applies.

  3. Final grades If you have a problem with your final grade in the course, send me email and we can set up an appoinment to discuss it.

Schedule and Slides

DateTopicReadingsPre-release slidesSlidesDueNotes
2012/8/7ISA2.1-2.14ISA_20120807.pdfISA_20120807.pdfReading quizzes for 2.1-2.14 due before class
2012/8/8ISA2.17ISA_2_20120808.pdfPre-class test due midnight
2012/8/9Performance Evaluation1.4-1.8Performance.pdfPerformance_20120809.pdfReading quizzes for 1.4-1.8 due before class
2012/8/13Performance EvaluationPerformance_2_20120813.pdfHomework 1 due today before class
2012/8/14Single cycle processor4.1-4.4SingleCycleProcessor.pdfSingleCycleProcessor_20120814.pdfReading quizzes for Sections 4.1-4.4 due today before class
2012/8/15Pipeline4.5-4.9PipelinedProcessor.pdfPipelinedProcessor_20120815.pdfReading quizzes for Sections 4.5-4.9 due today before class
2012/8/16Pipeline / Data HazardsPipelinedProcessor_2_20120816.pdf
2012/8/20Pipeline / Control HazardsPipelinedProcessor_3_20120820.pdf
2012/8/21Branch PredictionBranch_20120821.pdfHomework 2 due today before class
2012/8/22Midterm reviewDeepPipeline_20120822.pdf
2012/8/27Memory and caching5.1-5.3 and 5.5Cache.pdfCache_20120827.pdfReading quizzes for 5.1-5.3 and 5.5 due today before class
2012/8/28Memory and cachingCache_2_20120828.pdfHomework 3 due today before class
2012/8/29Memory and cachingCache_3_20120829.pdf
2012/8/30Virtual Memory5.4VM.pdfVM_20120830.pdfReading quizzes for 5.4 due today before class
2012/9/03Labor Day!!!
2012/9/04Out-of-order processor4.10AdvancedPipeline.pdfAdvancedPipeline_20120904Homework 4 due today before class
2012/9/05Introduction to multiprocessor5.8, 7.1-7.5SMT_CMP.pdfSMT_CMP_20120905.pdfReading quizzes for 5.8, 7.1-7.5 due before class
2012/9/06Final reviewEnd of term survey for peer instruction due today before class

Integrity Policy

  • Cheating WILL be taken seriously. Doing otherwise is not fair to honest students. It is also not fair to allow the cheater to thing that it is a reasonable alternative in life.

  • Please review the UCSD student handbook for more details on Academic Integrity.

  • Anyone copying information or having information copied during a test will receive an F for the class and will not be allowed to drop. They will be reported to their college dean. If you can prove non-cooperative copying took place, your grade may be restored, but you must prove it to the dean--I don't want to be involved. Anyone caught cheating or falsely representing the work of others on the homework will not be allowed to turn in further homework. Your grade will be based exclusively on the tests with a penalty of 25% OR GREATER applied.

  • We photocopy a random sampling of the exams in order to ensure that students do not modify their tests after they have been returned.

  • Online solutions, etc.: A solutions manual exists for this text. Using it, or any solutions you may find on the internet elsewhere IS CHEATING and will be dealt with accordingly. We know what the solution manual solutions look like. Homework is a small fraction of your grade, so cheating on it is unproductive.


Homework 1

Homework 2

Homework 3

Homework 4