CS 3410 - Spring 2014

Computer System Organization and Programming

Instructor: Hakim Weatherspoon

Cornell University Computer Science Department, Spring 2014

Slide formats:
pptx = PowerPoint
c/pdf = Color on black background with lecture notes
c/plain = Color on black background without lecture notes
g/pdf = Grayscale on white background with lecture notes
g/plain = Grayscale on white background without lecture notes

Topic Readings from P&H Homework/Prelims Labs/Projects
1 R Jan 23 Intro [pptx|pptx/plain|c/pdf|c/plain|g/pdf|g/plain|]      
2 T Jan 28 Logic & Gates [pptx|pptx/plain|c/pdf|c/plain|g/pdf|g/plain] Appendix B.1, B.2 and B.3, and Section 2.3   Lab0
(Due in Lab Section)
3 R Jan 30 Numbers & Arithmetic [pptx|c/pdf|c/plain|g/pdf|g/plain]

2.4, 3.2, B.2, B.5 & B.6    
4 T Feb 4 State & FSMs [pptx|pptx/plain|c/pdf|c/plain|g/pdf|g/plain] B.7, B.8 (up to register files), B.10, B.11 HW1
(Due 02/24; 11:59pm)
A docx file is provided in CMS
FAQ for C
Lab1: ALU
(Due 02/14; 11:59pm)
FAQ for Lab1
5 R Feb 6 Memory [pptx|pptx/plain|c/pdf|c/plain|g/pdf|g/plain] B.8 (register files), B.9    
6 T Feb 11 A Simple CPU [pptx|c/pdf|c/plain|g/pdf|g/plain] 2.16-20, 4.1-4.4   Lab2: FSM Pattern Detection
(Due in Lab Section)
7 R Feb 13 A Simple CPU 2 and CPU Performance [pptx|c/pdf|c/plain|g/pdf|g/plain] 4.4    
- T Feb 18 (Winter Break)
8 R Feb 20 CPU Performance and Pipelining [pptx|c/pdf|c/plain|g/pdf|g/plain]
Supplemental: HW1 Review Session [pptx]
1.6, 4.5-4.6   PA1: Pipelined Mini-MIPS
(Design Doc Due 02/26; 11:59pm)
(Project Due 03/11; 11:59pm)
FAQ for PA1
9 T Feb 25 Pipelining and Data Hazards [pptx|c/pdf|c/plain|g/pdf|g/plain] 4.7 HW1 due C - lab1 [pptx|pdf]
Supplemental: [C-Primer-Session-1|C-Primer-Session-2|C-Primer-Session-3|UNIX-Primer-Session]
(Due in Lab Section)
10 R Feb 27 Data Hazards and Control Hazards [pptx|c/pdf|c/plain|g/pdf|g/plain]
Supplemental: Prelim 1 Review Session [pdf]
4.8    
11 T Mar 4 RISC & CISC & ISA Variations [pptx|pptx/plain|c/pdf|c/plain|g/pdf|g/plain] 2.16 - 2.18, & 2.21 Prelim 1 C - lab2 [pptx|pdf]
(Due in the lab sessions
of the week of Mar. 18)
12 R Mar 6 Calling Conventions [pptx|pptx/plain|c/pdf|c/plain|g/pdf|g/plain] A.5-6 & 2.8    
13 T Mar 11 Calling Conventions [pptx|pptx/plain|c/pdf|c/plain|g/pdf|g/plain]     PA2: Fully Pipelined MIPS [pdf]
(WiP Circuit Due 03/17)
(Project Due 03/27)
FAQ for PA2
14 R Mar 13 Linkers [pptx|pptx/plain|c/pdf|c/plain|g/pdf|g/plain]
A.1-2, A.3-4 & 2.12    
15 T Mar 18 Linkers [pptx|pptx/plain|c/pdf|c/plain|g/pdf|g/plain]   HW2
(Due 04/19; 11:59pm)
A docx file is provided in CMS
C - lab2
(Due in Lab Section)
16 R Mar 20 Caches 1 [pptx|pptx/plain|c/pdf|c/plain|g/pdf|g/plain] 5.1-3 (except writes)    
17 T Mar 25 Caches 2 [pptx|pptx/plain|c/pdf|c/plain|g/pdf|g/plain] 5.3-4, 5.8, Also, 5.13 & 5.17   VM & Unix [pptx|pdf]
(Due in Lab Section)
18 R Mar 27 Caches 3 [pptx|pptx/plain|c/pdf|c/plain|g/pdf|g/plain]      
- T Apr 1 (Spring Break)
- R Apr 3 (Spring Break)
19 T Apr 8 Virtual Memory [pptx|pptx/plain|c/pdf|c/plain|g/pdf|g/plain]
5.7 (up to TLBs)   Lab3: Buffer Overflows
(Due 04/16; 11:59pm)
Environment Setup
FAQ for Lab3
20 R Apr 10 Virtual Memory 2 [pptx|pptx/plain|c/pdf|c/plain|g/pdf|g/plain] 5.7    
21 T Apr 15 Traps [pptx|pptx/plain|c/pdf|c/plain|g/pdf|g/plain]
Supplemental: HW2 Review Session [pdf]
(Traps) 4.9, pp 445-452, A.7   PA3: Cache Race
(Due 04/27; 11:59pm)
Environment Setup
FAQ for PA3
22 R Apr 17 Multicore Architectures [pptx|pptx/plain|c/pdf|c/plain] 4.10, 1.7, 1.8, 5.10, 6    
23 T Apr 22 Multicore Architectures and Synchronization 1 [pptx|pptx/plain|c/pdf|c/plain|g/pdf|g/plain] 1.7, 1.8, 2.11, 4.10, 5.10, & 6.4   Lab4: Virtual Memory [pptx]
(Due in Lab Section)
Environment Setup
24 R Apr 24 Synchronization 2 [pptx|pptx/plain|c/pdf|c/plain|g/pdf|g/plain]
Supplemental: Prelim-2 Review Session [pptx]
2.11, 6.4;    
25 T Apr 29 GPU [pptx|pptx/plain|c/pdf|c/plain|g/pdf|g/plain]     PA4: Network Honeypot [pptx|pdf]
(Design Doc Due 05/07; 11:59pm)
(Demos: 05/13 ~ 05/14)
(Project Due 05/15; 4:30pm)
(Project Due 05/14; 6:30pm)
Environment Setup
FAQ for PA4
26 R May 1 I/O [pptx|pptx/plain|c/pdf|c/plain|g/pdf|g/plain]
Online 6.9 (5th edition)
Online 6.5-6 (4th edition)
Prelim 2  
27 T May 6 Future Directions [pptx|pptx/plain|c/pdf|c/plain|g/pdf|g/plain]      
- R May 8 (Study Week)      
- M May 12 - R May 15 (Exam Week)      Final Proj4 due date 05/14
- S May 17 - T May 20 (Exam Week)      
           
NB: Schedule is subject to change.
The slides are in given in PowerPoint PPTX format (with ink annotations from lecture) and PDF (with or without ink).
If you would like some other format, e.g. 2-up or 4-up black and white for printing, let the instructor know.