Great Ideas in Computer Architecture (Machine Structures)

CS 61C at UC Berkeley with Charles Hong, Jero Wang, Rosalie Fang - Summer 2023

Lecture: Monday/Tuesday/Wednesday/Thursday 3:30PM - 5:00PM PT, Pimentel 1
Recordings will be published to bCourses Media Gallery

If you're interested in taking CS 61C in Fall 2023, see our Fall 2023 FAQs.

Week Date Lecture Discussion Lab HW Project
1 Mon 6/19 No lecture: Holiday
Tue 6/20 Lecture 1: Intro, Number Rep
Readings: Course Policies, P&H:2.4, Binary slides
Lab 0: Intro, Setup Due 6/26 Homework 1: Number Rep, C Due 6/28
Wed 6/21 Lecture 2: C Basics Discussion 1: Number Rep
Project 1: snek Due 6/30
Thu 6/22 Lecture 3: C Pointers, Arrays, Memory Management
Readings: K&R 5-6
2 Mon 6/26 Lecture 4: C Memory (Mis)Management
Readings: K&R 7.8.5, 8.7
Discussion 2: C
Lab 1: C Due 6/29
Tue 6/27 Lecture 5: Floating Point
Readings: P&H 3.5, 3.9, IEEE 754 Simulator
Wed 6/28 Lecture 6: RISC-V Intro
Readings: P&H 2.1-2.3, P&H 2.9, 2.10
Discussion 3: C, Floating Point
Lab 2: C Debugging Due 6/29
Thu 6/29 Lecture 7: RISC-V Procedures
Readings: P&H 2.6, 2.7, 3.2, P&H 2.8
Homework 2: Floating Point Due 7/05
3 Mon 7/3 No lecture: Holiday Project 2: CS61Classify A: Due 7/07 B: Due 7/18
Tue 7/4 No lecture: Holiday
Wed 7/5 Lecture 8: RISC-V Instruction Format
Readings: P&H 2.5, 2.10, P&H 2.5, 2.10
Discussion 4: RISC-V
Lab 3: RISC-V, Venus Due 7/11
Thu 7/6 Lecture 9: Compiler, Assembler, Linker, Loader
Readings: P&H 2.12
Homework 3: RISC-V, Logic Due 7/12
4 Mon 7/10 Lecture 10: Combinational Logic, FSM
Readings: P&H A.3-A.6, State Handout, Blocks Handout
Discussion 5: RISC-V, CALL
Lab 4: RISC-V Calling Convention Due 7/11
Tue 7/11 Lecture 11: Synchronous Digital Systems
Readings: P&H A.2-A.3, Logic Handout, SDS Handout
Wed 7/12 Lecture 12: RISC-V Single Cycle Datapath
Readings: P&H 4.1, 4.3, 4.4
Discussion 6: FSM, SDS
Thu 7/13 Homework 4: Datapath Due 7/19
Fri 7/14 Midterm 5-7 PM
5 Mon 7/17 Lecture 13: RISC-V Single Cycle Datapath Controls, Intro to Pipelining
Readings: P&H 4.4, 4.5, 4.6
Discussion 7: Datapath
Lab 5: Logisim Due 7/20
Tue 7/18 Lecture 14: RISC-V 5-Stage Pipelining
Readings: P&H 4.7, 4.8, 4.10
Wed 7/19 Lecture 15: Parallelism I - Data-Level Parallelism
Readings: P&H 1.7, 1.8, 2.11, 4.10, 4.11, 5.10, 6.1-6.3, 6.5, 6.7, OpenMP Summary Card
Discussion 8: Pipelining
Lab 6: CPU, Pipelining Due 7/20 Project 3: CS61CPU A: Due 7/25 B: Due 8/01
Thu 7/20 Lecture 16: Parallelism II - Thread-Level Parallelism
Readings: P&H 1.7, 1.8, 2.11, 4.10, 4.11, 5.10, 6.1-6.3, 6.5, 6.7, OpenMP Summary Card
Homework 5: Performance Due 7/26
6 Mon 7/24 Lecture 17: Parallelism III - Process-Level Parallelism
Readings: P&H 1.7, 1.8, 2.11, 4.10, 4.11, 5.10, 6.1-6.3, 6.5, 6.7, OpenMP Summary Card
Discussion 9: Data and Thread Level Parallelism
Lab 7: Parallelism I - SIMD Due 7/27
Tue 7/25 Lecture 18: Caches I
Readings: P&H 5.1-5.4, 5.8, 5.9, 5.13, Cache Flowchart
Wed 7/26 Lecture 19: Caches II
Readings: P&H 5.1-5.4, 5.8, 5.9, 5.13, Cache Flowchart
Discussion 10: Process Level Parallelism, Caches
Lab 8: Parallelism II: OpenMP Due 7/27
Thu 7/27 Lecture 20: Caches III
Readings: P&H 5.1-5.4, 5.8, 5.9, 5.13, Cache Flowchart
Homework 6: Caches. Virtual Memory Due 8/02
7 Mon 7/31 Lecture 21: Virtual Memory I
Readings: P&H 5.7-5.8
Discussion 11: Caches
Lab 9: Parallelism III - OpenMPI Due 8/03
Tue 8/1 Lecture 22: Virtual Memory II
Readings: P&H 5.7-5.8
Wed 8/2 Lecture 23: Warehouse-Scale Computing (Guest Lecture) Discussion 12: Virtual Memory
Project 4: CS61kaChow Due 8/08
Thu 8/3 Lecture 24: Dependability, Parity, ECC, RAID
Readings: P&H 5.2, 5.5, 5.11
Homework 7: ECC, Dependability Due 8/09
8 Mon 8/7 Lecture 25: Summary, What's Next?
Tue 8/8
Wed 8/9
Thu 8/10 Final 3-6 PM