• Lecture Time and Location: TR 3:40pm - 5:00pm @ WCH 143
  • Discussion (Section 021) Time and Location: F 9:10am - 10:00am @ WCH133
  • Discussion (Section 022) Time and Location: F 10:10am - 11:00am @ Pierce Hall 3374
  • Instructor: Hodjat Asghari Esfeden
    • Email: hasgh001@ucr.edu
    • Office: WCH 459
    • Office Hours: W 2:00pm - 3:00pm, or by appointment
  • TA: Marcus Chow

  • Homework 4 has been posted. Due Friday, March 15, 2019 in discussion's class
  • Homework 3 has been posted. Due Friday, March 8, 2019 in discussion's class
  • Homework 2 has been posted. Due Friday, February 8, 2019 in discussion's class
    Please start early! This is probably the most difficult homework of the class.
  • Homework 1 has been posted. Due Friday, January 25, 2019 in discussion's class
  • Homework 0 has been posted. Due Thursday, January 10, 2019
  • Welcome to CS 161!

Class Webpage and Communication

The class webpage is located at http://hodjat.me/teaching/cs161-w19.

Information, resources, and announcements related to the class will be posted to the webpage.

In addition, we will be using ilearn and piazza for discussions and help.

Course Description

This course covers the relationship between hardware and software, with a focus on computer architecture and design. Topics include instruction set architecture, processor data path design and pipelining, and memory hierarchies.

Prerequisite: CS 120A or EE 120A
Co-requisite: CS161L


  • (Optional) Computer Organization and Design, 5th Edition by Patterson and Hennessy

Grade Breakdown

  • Homework: 20%
  • Quizes: 10%
  • Midterm Exam: 35%
  • Final Exam: 35%
  • Participation: 5%


  • You are responsible for all materials covered in lectures.
  • Late assignments will be assessed 10% penalty per day.
  • The solutions to the homework assignments will be discussed in the discussion session.
  • Cheating in assignments, quizzes, projects, and exams are absolutely prohibited.
    The minimum penalty for a violation of the regulations will be a zero for the assignment; the maximum penalty will be failure in the course.
  • Examinations must be taken in class on the day they are given. There will be no exceptions.

Academic Integrity

Here at UCR we are committed to upholding and promoting the values of the Tartan Soul: Integrity, Accountability, Excellence, and Respect. As a student in this class, it is your responsibility to act in accordance with these values by completing all assignments in the manner described, and by informing the instructor of suspected acts of academic misconduct by your peers. By doing so, you will not only affirm your own integrity, but also the integrity of the intellectual work of this University, and the degree which it represents. Should you choose to commit academic misconduct in this class, you will be held accountable according to the policies set forth by the University, and will incur appropriate consequences both in this class and from Student Conduct and Academic Integrity Programs. For more information regarding University policy and its enforcement, please visit: conduct.ucr.edu.


You are expected to attend all lectures and discussion. While the slides and readings contain all the information you need to know, some of the contents won't make sense unless you attend lecture. =)

The following schedule is tentative and is subject to change.

Week Week starting Topic Assignments Slides Notes
1Jan. 7Intro/Trends/PerformanceHomework 0Introduction.pptx | Performance.pptx
2Jan. 14ISAHomework 1
Homework 1--Solution
3Jan. 21Single cycleSingle cycle.pptx
Single cycle (practice).pptx
4Jan. 28Multi cycleHomework 2Multi cycle.pptx
5Feb. 4Multi cycle/ReviewQuiz 1--Solution
HW 2--Solution
6Feb. 11Midtrerm/PipelinePipeline.pptx
7Feb. 18PipelineHomework 3Pipeline (practice).pptx
Pipeline-branches (practice).pptx
8Feb. 25CacheCaches, Caches, Caches!.pptxMakeup class: SKYE 173, Mar. 1st 3:40-5pm
9Mar. 4Virtual MemoryHomework 4VirtualMemory.pptx
10Mar. 11ReviewHW 3--Solution
Quiz 2--Solution
Quiz 3--Solution
HW 4--Solution