CS 2521 Calendar

Fall 2009

Lecture notes will be up to date just after the lecture on the particular day.


Class Day Date Topic Reading Due

Mon Sept 7 Holiday


1 Wed Sept 9

Course introduction, computer abstractions and technology

P&H Ch. 1 (pptx)

Reading: Ch 1.1-1.6, SPEC CPU benchmark (pp. 48-50), Ch 1.8-1.9.


2 Fri Sept 11

Course introduction, computer abstractions and technology

P&H Ch. 1 (pptx)

Reading: Ch 1.1-1.6, SPEC CPU benchmark (pp. 48-50), Ch 1.8-1.9.


  Fri Sept 11 Lab: Program 0    
3 Mon Sept 14

Performance

P&H Ch. 1.4 (pptx)

Reading: Ch 1.1-1.6, SPEC CPU benchmark (pp. 48-50), Ch 1.8-1.9.


4 Wed Sept 16

Performance + Amdahls' law

MIPS assembly language (MAL)

P&H Ch. 1.4 (pptx)

Reading: Ch 1.1-1.6, SPEC CPU benchmark (pp. 48-50), Ch 1.8-1.9.

P&H Ch. 2.1-2.3 (pptx)


5 Fri Sept 18

MIPS assembly language (MAL)

P&H Ch. 2.1-2.3 (pptx)

 
  Fri Sept 18 Lab: Program 1   Program 0
6 Mon Sept 21

MIPS assembly language (MAL)

Logical Operations

P&H Ch. 2.1-2.3 (pptx)

MAL Reference (p. 1, 15-21, Handout)

P&H Ch. 2.6 (pptx)


7 Wed Sept 23

Logical Operations

Control structures

P&H Ch. 2.6 (pptx)

PIC32IO (pptx)

P&H Ch. 2.7 (pptx)


8 Fri Sept 25

Control structures

Current MAL (Handout)

P&H Ch. 2.7 (pptx)

Top tested while-loop solution (Handout)

P&H Ch. 2.8 (pptx)


  Fri Sept 25 Lab: Program 2   Program 1
9 Mon Sept 28

Procedures

P&H Ch. 2.8 (pptx)

Current MAL (Handout)

Homework 1

 
10 Wed Sept 30

Procedures

P&H Ch. 2.8 (pptx)

nested.s (Handout)


11 Fri Oct 2

Procedures

Alignment & Endian-ness

Bytes, Halfwords, ASCII, Unicode

P&H Ch. 2.8 (pptx)

Lecture Slides (pptx)

P&H Ch. 2.9 (pptx)

 
  Fri Oct 2 Lab: Program 3 (Canceled)   Program 2
12 Mon Oct 5

Bytes, Halfwords, ASCII, Unicode

P&H Ch. 2.9 (pptx)

clear1.s (Handout)


13 Wed Oct 7

Review for Exam

 

Homework 1
14 Fri Oct 9

Midterm Exam #1

   
  Fri Oct 9 Lab: Program 3 (delayed; lab is required unless specific arrangements made beforehand with instructor)    
15 Mon Oct 12

Bytes, Halfwords, ASCII, Unicode

Signed & unsigned numbers

P&H Ch. 2.9 (pptx)

P&H Ch. 2.4 (pptx)


16 Wed Oct 14

Signed & unsigned numbers

MIPS instruction coding

P&H Ch. 2.4 (pptx)

P&H Ch. 2.5-2.10 (pptx)


17 Fri Oct 16

MIPS instruction coding

P&H Ch. 2.5-2.10 (pptx)

 
  Fri Oct 16 Lab: Program 4   Program 3
18 Mon Oct 19

MIPS instruction coding

Linking and loading

P&H Ch. 2.5-2.10 (pptx)

P&H Ch. 2.12 (pptx)

 
19 Wed Oct 21

Arrays versus Pointers and lui Instruction

P&H Ch. 2.14 (pptx)


20 Fri Oct 23

ALU organization

Appendix C.5 (pptx)

 
  Fri Oct 23 Lab: Program 5   Program 4
21 Mon Oct 26

ALU organization

Multiply instructions: mult, multu, mul

Appendix C.5 (pptx)

P&H Ch. 3.1-3.4 (pptx)


22 Wed Oct 28

ALU organization

Overflow, Exceptions, Multiplication and division

Appendix C.5 (pptx)

P&H Ch. 3.1-3.4 (pptx)


23 Fri Oct 30

Multiplication and division

P&H Ch. 3.1-3.4 (pptx)

 
  Fri Oct 30 Lab: Program 6   Program 5
24
Mon Nov 2

 

Multiplication and division

Floating point

 

P&H Ch. 3.1-3.4 (pptx)

P&H Ch. 3.5 (pptx)

Homework 2


25
Wed Nov 4

Floating point

P&H Ch. 3.5 (pptx)


26 Fri Nov 6

Floating point

P&H Ch. 3.5 (pptx)

 

Fri Nov 6

Lab (attendance not required)

   
27 Mon Nov 9

Floating point

Datapath fundamentals

P&H Ch. 3.5 (pptx)

P&H Ch. 4.1-4.4 (pptx)


28 Wed Nov 11

Building a datapath

A single-cycle implementation

P&H Ch. 4.1-4.4 (pptx)

Figures 4.1, and 4.17 (Handout)
Table of instruction control Values (Handout)


29 Fri Nov 13

A single-cycle implementation

Pipelining introduction

P&H Ch. 4.1-4.4 (pptx)

P&H Ch. 4.5 (pptx)

 
  Fri Nov 13 Lab: Program 7   Program 6
30 Mon Nov 16

Review for Exam

 

Homework 2
31 Wed Nov 18

Midterm Exam #2

 


32 Fri Nov 20

Pipelining introduction

Pipelining

P&H Ch. 4.5 (pptx)

P&H Ch. 4.6-4.7 (pptx)

 
  Fri Nov 20 Lab (attendance not required)    
33 Mon Nov 23

Pipelining

P&H Ch. 4.6-4.7 (pptx)

P&H Ch. 4.7-4.9 (pptx)

 
34 Wed Nov 25 Pipelining & Exceptions
P&H Ch. 4.7-4.9 (pptx)

  Fri Nov 27 Thanksgiving    
35 Mon Nov 30

Pipelining & Exceptions

Lab: Program 8 (Covered in class)

P&H Ch. 4.7-4.9 (pptx)

36 Wed Dec 2

Lab: Program 8 (Covered in class)

Introduction & The Basics of Caches

P&H Ch. 5.1, 5.2 (pptx)

37 Fri Dec 4

Introduction & The Basics of Caches

P&H Ch. 5.1, 5.2 (pptx)

Example of Direct-Mapped Cache Access (1b) (Handout)

 
  Fri Dec 4 Lab: Canceled   Program 7
38 Mon Dec 7

Introduction & The Basics of Caches

Measuring and Improving Cache Performance

Homework 3

P&H Ch. 5.1, 5.2 (pptx)

P&H Ch. 5.3 (pptx)


39 Wed Dec 9

Measuring and Improving Cache Performance

P&H Ch. 5.3 (pptx)


40 Fri Dec 11

Measuring and Improving Cache Performance

Virtual Memory

P&H Ch. 5.3 (pptx)

P&H Ch. 5.4 (pptx)


  Fri Dec 11 Lab (attendance not required)  
41 Mon Dec 14 Virtual Memory P&H Ch. 5.4 (pptx) Program 8
42 Wed Dec 16 Final Review  

 

Homework 3

  Mon Dec 21

Final Exam, 12:00noon-1:55pm, MWAH 175