CSE141: Introduction to Computer Architecture

Warren Lecture Hall 2005

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

Discussion Section: Th 4:00p - 4:50p


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

Teaching Assistants

Ping Yin
email: piyin @ ucsd.edu
Office: CSE B275
Office Hours: MTu 11a-12p or by appointment

Amer Sinha
email: amer @ ucsd.edu
Office: CSE B260A
Office Hours: Tu 12p-1p, W 4p-5p

Course Discussion Board

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


URL http://goo.gl/JJyrXp. This is just a reference for office hours. You should check Schedule and Slides for more details.

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, 5th 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
2014/8/4 Introduction     Intro_20140804    
2014/8/5 ISA 2.1-2.14 ISA_preview ISA_20140805 Reading quizzes for 2.1-2.14 due before class  
2014/8/6 ISA 2.17   ISA2_20140806    
2014/8/7 Performance Evaluation 1.5-1.10 Performance_preview Performance_20140807 Reading quizzes for 1.5-1.10 due before class  
2014/8/11 Performance Evaluation     Performance2_20140811 Homework 1 due before class   
2014/8/12 Single cycle processor 4.1-4.4 SingleCycleProcessor_preview SingleCycleProcessor_20140812 Reading quizzes for 4.1-4.4 due before class  
2014/8/13 Pipeline 4.5-4.9 PipelinedProcessor_preview PipelinedProcessor_20140813 Reading quizzes for 4.5-4.9 due before class  
2014/8/14 Pipeline / Data Hazards     PipelinedProcessor2_20140814    
2014/8/18 Pipeline / Control Hazards     PipelinedProcessor3_20140818 Homework 2 due before class   
2014/8/19 Branch Prediction     PipelinedProcessor4_20140819    
2014/8/20 Midterm review     MidtermPreview_20140820    
2014/8/21 Midterm          
2014/8/25 Memory and caching 5.1-5.5 Cache_preview Cache_20140825 Homework 3 due before class
Reading quizzes for 5.1-5.5 due before class
2014/8/26 Memory and caching     Cache2_20140826    
2014/8/27 Memory and caching     Cache3_20140827    
2014/8/28 Virtual Memory 5.7 VM_preview VM_20140828 Reading quizzes for 5.7 due before class  
2014/9/1 Labor Day!          
2014/9/2 Out-of-order processor 4.10 AdvancedPipeline_preview AdvancedPipeline_20140902 Homework 4 due before class  
2014/9/3 Introduction to multiprocessor 6.4-6.5 SMT_CMP_preview SMT_CMP_20140903 Reading quizzes for 6.4-6.5 due before class  
2014/9/4 Final review     Final_review    
2014/9/5 Final          

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