Welcome to CSE 141!

Instructor: Prof. Jason Mars
  • Office: CSE 3208
  • Email: mars at cs.ucsd.edu
  • Office Hours: Tues./Thurs. 4-4:50pm
TA: Ryan Mast
  • Office Hours: Mon./Wed. 1-2pm
  • Location: CSE B250A
  • Email: rmast at eng.ucsd.edu
TA: Usha Subburaj
  • Office Hours: Tues./Thurs. 2-3pm
  • Location: Tues - CSE B240A, Thurs - CSE B250A
  • Email: usubbura at eng.ucsd.edu
Course Info:
  • Lecture: CENTR 212, MWF 11-11:50am
  • Discussion: CENTR 109, F 3-3:50pm
Course Textbook:
  • Patterson and Hennessy, "Computer Organization and Design -- The Hardware/Software Interface", Morgan Kaufmann, Fourth Edition
Lab Section Slides

CSE 141 -- Introduction to Computer Architecture
Winter 2013, Instructor: Jason Mars

Course Description

The course examines the basics of modern processor operation and the hardware/software interface that enables computing. Topics include instruction set architectures, computer system performance, pipelining, memory-hierarchy design, and a brief introduction to multiprocessor architecture issues.

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

Guidelines and Grading Info.

  • REQUIRED: PIAZZA
    • I will be using PIAZZA for the majority of class correspondence. Piazza is great. It connects everyone in the class as well as the instructors. Use it to ask questions, discuss homeworks/projects, etc. Myself and the TAs will be checking Piazza regularly to chime in.
    • URL: https://piazza.com/ucsd/winter2013/cse141/home
    • The initial class roster will receive invites, however it is your responsibility to make sure you are signed up. If you are not already on, click the link and sign up.
    • I will put slides and other materials on Piazza from time to time in PDF format.
  • Assignments
    • You will always have at least a week to do homework assignments. When seeking help from instructor and TA, avoid the crowds and come early. Office hours are crowded and less effective the day before an assignment is due. Also, think about coming after an assignment is due (or returned) to clear up mistakes, etc.
    • Homework assignments must be typed (typeset).
    • Submit all homework to the TA's (Ryan Mast) mailbox in the CSE Building before 5pm on Due Date
  • Grading
    • The grade for 141 will be based on homeworks, one midterm, and a final, as follows:
      • Homeworks: 20%
      • Midterm: 30%
      • Final: 50%
      • Subjective influences like class / Piazza participation will have an impact in the margins -- it does pay to let the professor know who you are!
    • The final will be inclusive of all course material.
    • Late assignments are not encouraged. You will have two grace days during the quarter. I.e., you can turn one assignment in two days late, or two assignments in one day late. I recommend not spending those days frivolously early in the quarter. After you have spent your grace days, late assignments will be accepted, but with no guarantees that they will be graded, and with significant penalties if they are. We will make every effort to return assignments to you in a timely manner -- limiting your ability to turn things in late is, unfortunately, critical to that goal. Anytime after the end of class counts as a day late. The second day begins 24 hours later.
    • You have the right of appeal for grading on all tests. You have one week from the time the midterms are returned to make appeals, including addition errors on your score. Check it over carefully when you get it. All appeals must be made in writing and given to the instructor.
    • There is no appeal on homeworks, except for addition errors. No single problem will have a significant impact on your grade.
  • Integrity
    • Cheating WILL be taken seriously. It is not fair to honest students to take cheating lightly, nor is it fair to the cheater to let him/her go on thinking that is a reasonable alternative in life. Don't test me on this one.
    • The following is not considered cheating:
      • discussing homework in groups (with the writeup done separately, later).
    • The following is:
      • discussing homework with someone who has already completed the problem, or looking at their completed write-up.
      • using hw solutions from the web, previous versions of the class, or anywhere else.
      • Receiving, providing, or soliciting assistance from another student during a test.
    • Homework is not intended to be a grade-maker, but to prepare you for the tests, which are the grade-makers. Cheating on the homeworks is just stupid.
    • Penalties -- 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 on the homework will not be allowed to turn in further homework.  Your grade will be based exclusively on the tests (with a suitable penalty applied) -- it will be roughly 60% final, 35% midterm, 5% homework (zero).

Course Schedule

Subject to jitter
Mon, Jan 7 Overview, Administrivia, ISA Design Read: 1.2
Wed, Jan 9 Instruction Set Design Read: 2.1-2.3,2.5-2.10,2.12
Fri, Jan 11 Instruction Set Design -
Mon, Jan 14 Instruction Set Design -
Wed, Jan 16 Instruction Set Design -
Fri, Jan 18 ISA Wrapup / Measruing Performance 1.4
Mon, Jan 21 MLK DAY (Thank goodness for that guy! ;-)) Read About MLK
Wed, Jan 23 Measuring Performance Read: 2.4,3.1-3.5
Fri, Jan 25 Measuring Performance / Comp. Arithmetic -
Mon, Jan 28 Single Cycle processors Read: 4.1-4.4
Wed, Jan 30 Single-Cycle CPU Control, Multi-cycle CPU -
Fri, Feb 1 Multi-cycle CPU / Exceptions -
Mon, Feb 4 Exceptions / Pipelining Read: 4.9
Wed, Feb 6 Pipelining Read: 4.5-4.6
Fri, Feb 8 Pipelining -
Mon, Feb 11 Midterm Review
Wed, Feb 13 Midterm
Fri, Feb 15 Data Hazards Read: 4.7
Mon, Feb 18 PRESIDENT's DAY Read about your fav. Pres.
Wed, Feb 20 Control Hazards Read: 4.8
Fri, Feb 22 Advanced Pipelining Read: 4.10
Mon, Feb 25 Cache Basics Read: 5.1-5.3, Guest Lecture
Wed, Feb 27 Cache Basics / Better Caches Read: 5.5, Guest Lecture
Fri, Mar 1 Cache Optimization - , Guest Lecture
Mon, Mar 4 Multicore, Multiprocessing Read: 7.1-7.5
Wed, Mar 6 Multithreading -
Fri, Mar 8 Special Topics
Mon, Mar 11 Special Topics
Wed, Mar 13 Final Review
Fri, Mar 15 Final Review
Mon, Mar 18 FINAL EXAM

Homework Assignments

HW Problems Due Date
Homework 1 1.1.19, 2.2.1, 2.6.1, 2.12.1, 2.15.5, 2.17.4, 2.19.1, 2.24.1, 2.26.4, 2.30.1, 1.5.5, 2.8.1, 3.2.4 Extra Credit: 3.4.2, 3.7.1, 3.10.4 Jan 28
Homework 2 4.2.1, 4.4.1, 4.7.1, 4.11.1, 4.12.1, 4.13.1, 4.18.1, 4.25.1 Extra Credit: Do one of the problems covering Section <4.11> Feb 11
Homework 3 4.12.3, 4.16.4, 4.20.2, 4.21.1, 4.22.1, 4.23.1, 4.24.1, 4.24.2 Mar 4
Homework 4 5.2.2, 5.2.3, 5.3.1, 5.4.1, 5.6.1, 5.7.2, 7.5.1, 7.11.1, 7.12.3 Optional