CS 152/252A Spring 2024

Calendar

WeekDateLectureTextbook252a ReadingsDiscussionProblem SetLab
1Tue Jan 161.Early Machines Slides / Recording App. B.1-B.2, Ch.2.1-2.2App.A,Ch.1 No discussion  
1Tue Jan 181.Early Machines Slides / Recording App. B.1-B.2, Ch.2.1-2.2App.A,Ch.1 No discussion  
2Tue Jan 233. Microcoding Slides / RecordingApp.A,Ch.1 1.Microcoding,Lab 1 Overview Worksheet / Slides / VideoHW1(due Feb08) PDF Word Doc Solutions HandoutLab 1(due Feb 10)
2Tue Jan 254. Pipelining I (see Tuesday’s slides)RecordingApp.A,Ch.1 1.Microcoding,Lab 1 Overview Worksheet / Slides / VideoHW1(due Feb08) PDF Word Doc Solutions HandoutLab 1(due Feb 10)
3Tue Jan 305. Pipelining II Slides /RecordingApp.C.4-C.6 2. Pipelining Worksheet / Slides / VideoHW1(due Feb08) PDF Word Doc Solutions HandoutLab 1(due Feb 10)
3Thu Feb 016. Pipelining II +Memory Slides /RecordingApp.B.1-B.2,Ch.2.1-2.2 2. Pipelining Worksheet / Slides / VideoHW1(due Feb08) PDF Word Doc Solutions HandoutLab 1(due Feb 10)
4Tue Feb 067. . Memory (seeThursday’s slides)Recording 1. On Computable Numbers, with an Application to the Entscheidungsproblem(pg 1-20 incl.) 2. Cramming more components onto integrated circuits3.Memory Hierarchy Worksheet / Slides / Video Lab 1(due Feb 10)
4Thu Feb 088. Memory II Slides / Recording1/Recording2App.B.31. On Computable Numbers, with an Application to the Entscheidungsproblem(pg 1-20 incl.) 2. Cramming more components onto integrated circuits3.Memory Hierarchy Worksheet / Slides / VideoHW2(due Feb21)PDF Word Doc Solutions Handout 
5Tue Feb 139. Memory III Slides /Recording  4. Address Translation and Lab 2 Overview Worksheet / Slides / VideoHW2(due Feb21)PDF Word Doc Solutions HandoutLab 2(due Mar 6)
5Thu Feb 1510. Address Translation Slides /RecordingApp.B.4-7 4. Address Translation and Lab 2 Overview Worksheet / Slides / VideoHW2(due Feb21)PDF Word Doc Solutions HandoutLab 2(due Mar 6)
6Tue Feb 2011. Virtual Memory Slides / Recording 1.Architecture of the IBM System/360 2. A Characterization of Processor Performance in theVAX-11/7805. Midterm 1 Review Worksheet / Slides / Video Lab 2(due Mar 6)
6Thu Feb 2212. Complex Pipelines Slides /RecordingCh.3.1,3.4-3.61.Architecture of the IBM System/360 2. A Characterization of Processor Performance in theVAX-11/7805. Midterm 1 Review Worksheet / Slides / Video Lab 2(due Mar 6)
7Tue Feb 27Midterm 1 (L1 -L11)  No Discussion Lab 2(due Mar 6)
7Thu Feb 2913. Complex Pipelines cont.(see Tuesday’s slides)RecordingCh.3.6, 3.8 No Discussion Lab 2(due Mar 6)
8The Mar 0514. ComplexPipelines/Out-of-order Slides /RecordingCh.3.6, 3.8 6. Out-of-order Execution Worksheet /Slides / Video Lab 3(due Mar 20)
8Thu Mar 0715. Out-of-order(see Tuesday’s slides) RecordingCh.16.1-16.3 Note 15 6. Out-of-order Execution Worksheet /Slides / VideoHW3 (due Mar18) PDF Word Doc SolutionsLab 3(due Mar 20)
9Tue Mar 1216. Branch Prediction Slides /RecordingCh.3.3,3.9-3.101. The Case for the Reduced Instruction Set Computer 2.Comments on the The Case for the RISC 3. Instruction Sets and Beyond: Computers, Complexity, andControversy7. Branch Predictions and VLIW Worksheet / Slides / VideoHW3 (due Mar18) PDF Word Doc SolutionsLab 3(due Mar 20)
9Thu Mar 1417. Branch Prediction + VLIW Slides /RecordingCh.3.2, 3.71. The Case for the Reduced Instruction Set Computer 2.Comments on the The Case for the RISC 3. Instruction Sets and Beyond: Computers, Complexity, andControversy7. Branch Predictions and VLIW Worksheet / Slides / VideoHW3 (due Mar18) PDF Word Doc SolutionsLab 3(due Mar 20)
10Tue Mar 1918. VLIW + Multithreading Slides/RecordingCh.3.111. Performance of the VAX-11/780 translation buffer:simulation and measurement 2. Implementing precise interrupts in pipelined processors8.Multithreading Worksheet / Slides Lab 3(due Mar 20)
10Thu Mar 2119. Vectors Slides /RecordingCh.4.1-4.21.Performance of the VAX-11/780 translation buffer:simulation and measurement 2. Implementing precise interrupts in pipelined processors8.Multithreading Worksheet / SlidesLab 4(due Apr 17) 
11Tue Mar 26No lecture(Spring Break)  No Discussion Lab 4(due Apr 17)
11Thu Mar 28No lecture(Spring Break)  No Discussion Lab 4(due Apr 17)
12Tue Apr 0220. Vectors +GPUs Slides /RecordingCh.4.4-4.91. An Efficient Algorithm for Exploiting Multiple Arithmetic Units 2. The Mips R10000 superscalar microprocessor9. Midterm 2 review Worksheet /Slides / Video Lab 4(due Apr 17)
12Thu Apr 0421. GPUs + Cache Coherence (see Tuesday’s slides + whiteboard pics) RecordingCh.5.1-5.41. An Efficient Algorithm for Exploiting Multiple Arithmetic Units 2. The Mips R10000 superscalar microprocessor9. Midterm 2 review Worksheet /Slides / VideoHW4(due Apr8) PDF Word Doc SolutionsLab 4(due Apr 17)
13Tue Apr 0922. Cache Coherence (no slides - justwhiteboard) RecordingCh.5.5-5.6 10. Cache Coherence Worksheet /Slides / VideoHW4(due Apr8) PDF Word Doc SolutionsLab 4(due Apr 17)
13Thu Apr 11Midterm 2 (L11 -L18)   HW4(due Apr8) PDF Word Doc SolutionsLab 4(due Apr 17)
14Tue Apr 16223.Synchronization + Consistency Slides /RecordingCh.5.5-5.61. The Stanford DASH Multiprocessor 2. Combining Branch Predictors11. Memory Consistency Worksheet / Slides / VideoHW5 (due Apr 29) PDF Word Doc Solutions Handout HandoutLab 5(due May 1)
14Thu Apr 1824. Guest lecture #1: Muawya Al-Otoom & Tyler Huberty (Apple) 1. The Stanford DASH Multiprocessor 2. Combining Branch Predictors11. Memory Consistency Worksheet / Slides / VideoHW5 (due Apr 29) PDF Word Doc Solutions Handout HandoutLab 5(due May 1)
15Tue Apr 2325. Guest lecture #2: Sagar Karandikar (UCB &Google)  12. Final Review Worksheet /Slides / VideoHW5 (due Apr 29) PDF Word Doc Solutions Handout HandoutLab 5(due May 1)
15Thu Apr 2526. Guest lecture #3: Nafea Bshara (Annapurna Labs and Amazon)  12. Final Review Worksheet /Slides / VideoHW5 (due Apr 29) PDF Word Doc Solutions Handout HandoutLab 5(due May 1)
16Tue Apr 30No Lecture (RRRWeek)     
16Tue May 02No lecture (RRRWeek)     
17Tue May 07No lecture (RRRWeek)     
17Tue May 09Finals Week