CS 3410 - Spring 2013

Computer System Organization and Programming

Instructor: Hakim Weatherspoon

Cornell University Computer Science Department, Spring 2013

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 T Jan 22 Intro [pptx|pptx/plain|c/pdf|c/plain|g/pdf|g/plain|]
  Lab0
(Due in Lab Section)
2 R Jan 24 Logic & Gates [pptx|pptx/plain|c/pdf|c/plain|g/pdf|g/plain] Appendix C.2 and C.3, and Section 2.3  
3 T Jan 29 Numbers & Arithmetic [pptx|pptx/plain|c/pdf|c/plain|g/pdf|g/plain]

Supplemental: C [pdf] & UNIX [pdf] Primers
2.4 - 2.6, 3.2, C.5 & C.6 HW1
(Due 02/06; 11:59pm)
Lab1: ALU
(Design Doc Due 02/04)
(Lab Due 02/11; 11:59pm)
FAQ for Lab1
4 R Jan 31 State & FSMs [pptx|pptx/plain|c/pdf|c/plain|g/pdf|g/plain]
Supplemental: Homework1 Help Session [pdf]
C.7, C.8 (up to register files), C.10, C.11    
5 T Feb 5 Memory [pptx|pptx/plain|c/pdf|c/plain|g/pdf|g/plain] C.8 (register files), C.9   Lab2: 8b/10b Encoder
(Due in Lab Section)
FAQ for Lab2
6 R Feb 7 A Simple CPU [pptx|pptx/plain|c/pdf|c/plain|g/pdf|g/plain]
Supplemental: Second C Primer [pdf]
2.16-20, 4.1-4    
7 T Feb 12 CPU Performance & Pipelines [pptx|pptx/plain|c/pdf|c/plain|g/pdf|g/plain]
Supplemental: Third C Primer [pdf]
1.4 & 4.5 HW2
(Due 02/20; 11:59pm)
FAQ for C
PA1: Pipelined Mini-MIPS
(Design Doc Due 02/18)
(Project Due 03/04; 11:59pm)
FAQ for PA1
8 R Feb 14 Pipelined MIPS [pptx|pptx/plain|c/pdf|c/plain|g/pdf|g/plain]
Supplemental: Homework2 Help Session [pdf|key]
4.6    
9 T Feb 19 Data Hazards [pptx|pptx/plain|c/pdf|c/plain|g/pdf|g/plain] 4.7    
10 R Feb 21 Control Hazards [pptx|pptx/plain|c/pdf|c/plain|g/pdf|g/plain]
4.8    
11 T Feb 26 RISC & CISC & Assemblers [pptx|pptx/plain|c/pdf|c/plain|g/pdf|g/plain] B.1-2, 2.8, 2.12;
& 2.16 and 2.17
Prelim 1  
12 R Feb 28 Calling Conventions [pptx|pptx/plain|c/pdf|c/plain|g/pdf|g/plain] B.5-6, 2.8, 2.12    
13 T Mar 5 Calling Conventions [pptx|pptx/plain|c/pdf|c/plain|g/pdf|g/plain]   HW3
(Due 03/13; 11:59pm)
PA2: Fully Pipelined MIPS
(Design Doc Due 03/11)
(WiP Circuit Due 03/15)
(Project Due 04/04)
FAQ for PA2
14 R Mar 7 Linkers [pptx|pptx/plain|c/pdf|c/plain|g/pdf|g/plain]
B.3-4 & 2.8    
15 T Mar 12 Linkers [pptx|pptx/plain|c/pdf|c/plain|g/pdf|g/plain]    
16 R Mar 14 Caches 1 [pptx|pptx/plain|c/pdf|c/plain|g/pdf|g/plain] 5.1-2 (except writes)    
- T Mar 19 (Spring Break)
- R Mar 21 (Spring Break)
17 T Mar 26 Caches 2 [pptx|pptx/plain|c/pdf|c/plain|g/pdf|g/plain]
Supplemental: Prelim2 Review Session [pdf]
5.2-3, 5.5    
18 R Mar 28 Caches3 [pptx|pptx/plain|c/pdf|c/plain|g/pdf|g/plain] & Prelim2 Review   Prelim 2  
19 T Apr 2 Virtual Memory [pptx|pptx/plain|c/pdf|c/plain|g/pdf|g/plain]
Lab Section: Buffer Overflow [pptx/plain|pdf]
5.4 (up to TLBs)   Lab3: Buffer Overflows
(Due 04/11; 11:59pm)
FAQ for Lab3
20 R Apr 4 Virtual Memory 2 [pptx|pptx/plain|c/pdf|c/plain|g/pdf|g/plain] 5.4    
21 T Apr 9 Traps [pptx|pptx/plain|c/pdf|c/plain|g/pdf|g/plain] (Traps) 4.9, pp 509-515, B7 HW4
(Due 04/17; 11:59pm)
PA3: Cache Race
(Design Doc Due 04/15)
(Project Due 04/22; 11:59pm)
FAQ for PA3
22 R Apr 11 Multicore Architectures [pptx|pptx/plain|c/pdf|c/plain|g/pdf|g/plain] 4.10-11, 7.1-6    
23 T Apr 16 Synchronization [pptx|pptx/plain|c/pdf|c/plain|g/pdf|g/plain] 2.11 & 5.8   Lab4: Virtual Memory
(Due in class)
24 R Apr 18 Synchronization 2 [pptx|pptx/plain|c/pdf|c/plain|g/pdf|g/plain]      
25 T Apr 23 I/O [pptx|pptx/plain|c/pdf|c/plain|g/pdf|g/plain]
6.5-6    
26 R Apr 25 Prelim 3 Review [pptx|pptx/plain|c/pdf|c/plain|g/pdf|g/plain]   Prelim 3  
27 T Apr 30 Back to the Future:
A Historical Perspective [pptx|c/pdf|g/pdf]
    PA4: Network Honeypot
(Design Doc Due 05/06)
(Project Due 05/15; 6:30pm)
FAQ for PA4
28 R May 2 Future Directions [pptx|c/pdf|g/pdf]
- T May 7 (Study Week)
- R May 9
- T May 14 - F May 17  
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.