Skip to content

CSE141: Introduction Computer Architecture (2020 Summer)

Online: Zoom or https://www.youtube.com/profusagi
Lecture: MTuWTh 2:00p – 3:20p @ Zoom Lecture Link

Schedule and SlidesAssignmentsLogistics

Instructor

Hung-Wei Tseng
email: htseng @ eng.ucsd.edu
Office Hours: M 7:30p-9:30p F 10a-12p @ Zoom Office Hour Link

Teaching Assistant

Po-Ya Hsu
email: p8hsu @ eng.ucsd.edu
Office hours: M 11a-1p @ Zoom Office Hour Link
Discussion Session: Th 5p-5:50p @ Zoom Lecture Link

Other important links

Quizzes, Assignments, Gradeing: Canvas
Discussion Forum on Piazza: https://www.piazza.com/ucsd/summer2020/cse141cse141l
YouTube Channel: https://www.youtube.com/profusagi

Course Overview

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 MIPS Edition: The Hardware/Software Interface (The Morgan Kaufmann Series in Computer Architecture and Design) 5th Edition
Required: Other assigned readings throughout the quarter.

Grading

  • Homework 20%
    Homeworks will be assigned throughout the course.
  • Class participation 2% (Clicker-based)
    This class uses “peer instruction” and your participation in discussion questions during the lecture is important to the success of the class!
  • Reading Quizzes 18%
    We will have reading quizzes on Canvas!
  • Midterm 25%
  • Final 35%
    The final will be cumulative.
  • Additional notes about grades in this course
    • Your score will be available on Canvas. Your final grade is the weighted average of these grades.
      We do our best to record grades accurately, but you should double-check.
    • Late submission: We do not accept any late submission, including quiz, assignments, projects.
    • 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.
    • For midterm and final: We do not regrade on a single problem. We will re-grade your whole test. The one week regrading window still applies.
    • Final grades: If you have a problem with your final grade in the course, send me email and we can set up an appointment to discuss it.

Schedule and Slides


Topic Reading Slides
(Preview)
Slides (Release) Due Note
08/03/2020 Introduction 1.1-1.5, 2.12
Intro

Demo


08/04/2020 Instruction Set Architecture2.1-2.8 and 2.10ISA (Preview)ISAReading quiz for 2.1-2.8 and 2.10, 2.13, 2.14 due before class
08/05/2020 Instruction Set Architecture (II)2.8, 2.10, 2.12-2.14, 2.17, 1.6ISA (2)

Demo
Reading quiz for 1.6, 1.8 and 1.10
due before class

08/06/2020 Performance Evaluation1.6, 1.8, 1.10Performance (Preview)Performance
08/10/2020 Performance (II)

Performance (2)

Demo (programmer)
Assignment #1 Due Before Class
08/11/2020 Performance (III) & Basic Processor Design4.1-4.4Performance (3)

Demo
Reading quizzes for 4.1-4.4 due before class
08/12/2020Pipeline Processor (I)Basic Processor Design (Preview)Basic processor design and pipelining

Demo
Reading quizzes for 4.5-4.6 due before class
08/13/2020 Pipeline Processor (II) — Structure/Data Hazards
Pipeline Processor (2)

Demo
Reading quizzes for 4.7-4.8 due before class
08/17/2020Pipeline (III) — Control Hazard/Branch Prediction
Pipeline Processor (3)Assignment #2 Due @ Midnight
08/18/2020 Pipelining and Software Performance

Pipeline Processor and Performance Programming

Demo
08/19/2020Midterm ReviewMidterm ReviewAssignment #3 Due Midnight
08/20/2020 Midterm (During the lecture time)




08/24/2020 Memory hierarchy5.1-5.3Memory Hierarchy (Preview)Memories (1)Reading quizzes for 5.1-5.3 due before class
08/25/2020 Memory hierarchy (II)5.4Memories (2)Reading quizzes for 5.4 and 5.7 due before class
08/26/2020 Memory hierarchy (III)Memories (3)

Demo

08/27/2020 Virtual Memory5.7Virtual Memory (Preview)Virtual Memory

Demo
Reading quizzes for 4.10, 6.4 due before class
08/31/2020Modern Processor Pipeline4.10Modern Processor Pipeline (Preview)Modern Processor Pipeline (1)Assignment #4 Due Midnight
09/01/2020 Introduction to multithreaded processors (I)6.4-6.5Multithreaded ArchitectureModern Processor Pipeline (2)Reading quizzes for 1.7, 6.5-6.6 due before class
09/02/2020 Introduction to multithreaded processors (II)6.4-6.5
Parallel Architectures
09/03/2020 Final Review
Final ReviewAssignment #5 Due Midnight
09/04/2020Final Exam (3p-6p)

Assignments

  • Assignment #1
    • Please find the homework questions and complete the homework using the pdf template or the word template.
    • Due 8/10/2020 midnight
  • Assignment #2
    • Please find the homework questions and complete the homework using the pdf template or the word template.
    • Due 8/17/2020 midnight
  • Assignment #3
    • Please find the homework questions and complete the homework using the pdf template or the word template.
    • Due 8/19/2020 midnight
  • Assignment #4
    • Please find the homework questions and complete the homework using the pdf template or the word template.
    • Due 8/24/2020 midnight
  • Assignment #5
    • Please find the homework questions and complete the homework using the pdf template or the word template.
    • Due 9/3/2020 midnight
  • 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.