Presentation is loading. Please wait.

Presentation is loading. Please wait.

Irwin Fall 2006 PSU CSE331 Computer Organization and Design Fall 2007 Read Me Mary Jane Irwin (www.cse.psu.edu/~mji)www.cse.psu.edu/~mji Course url: www.cse.psu.edu/~cg331www.cse.psu.edu/~cg331.

Similar presentations


Presentation on theme: "Irwin Fall 2006 PSU CSE331 Computer Organization and Design Fall 2007 Read Me Mary Jane Irwin (www.cse.psu.edu/~mji)www.cse.psu.edu/~mji Course url: www.cse.psu.edu/~cg331www.cse.psu.edu/~cg331."— Presentation transcript:

1 Irwin Fall 2006 PSU CSE331 Computer Organization and Design Fall 2007 Read Me Mary Jane Irwin (www.cse.psu.edu/~mji)www.cse.psu.edu/~mji Course url: www.cse.psu.edu/~cg331www.cse.psu.edu/~cg331 [Adapted from Dave Patterson’s UCB CS152 slides]

2 Irwin Fall 2006 PSU An Initial Request  This set of slides have been revised (and revised again) from an earlier set to more closely match the 3 rd edition of COD (by Dave Patterson and John Hennessy).  This is the current set as of Fall 2007  While you are welcome to use, modify, expand on the slides contained in this slide set, I do ask that you acknowledge my efforts in some way as well as the fact that my slides are adapted from a set I got from Dave Patterson many years back (I doubt that Dave would recognize most of them by this point). I do this on the first slide of each set of slides (one set per week of classes).

3 Irwin Fall 2006 PSU Course Structure and Goals  The slides are for a 15 week (full semester) first semester junior level course that is required for all computer science and computer engineering majors.  The course, CSE 331, covers an introduction to assembly language programming (using spim), VHDL and computer organization (covering the first 5 chapters (minus chapter 4), an intro to pipelining, and an intro to cache memories of the 3 rd edition of COD)  The course prerequisite is a soph level course in logic design and two semesters of programming (C or java)  There is a follow on senior level course in computer architecture that covers the rest of the book plus superscalar, VLIW, hyperthreading, etc. My slides for this course are also available on-line.

4 Irwin Fall 2006 PSU Course Outline WeekTopicReadingHW 1Course intro, intro to SPIMPH: 1.1-1.3, A.9-A.10HW1: SPIM 2Intro to assembly prog., adds, loads/storesPH: 2.1-2.4HW2: SPIM 3Logic operations, control flow instr.PH: 2.5-2.6HW3: SPIM 4Supporting procedures; addressing modesPH: 2.7-2.9, A.6, D.2HW4: SPIM 5Assemblers, linker, and loaders PH: 2.10, A.1-A.5 Exam #1 6Intro to design and use of HDLsY: Chp1-3HW5: VHDL 7VHDL behavior and structure; number repr and basic arith ops Y: Chp 4-5, PH: 3.1-3.3HW6: VHDL 8ALU designPH: B.5, 3.4-3.5 9Building a datapathPH: 5.1-5.3, B.7 10A simple single cycle impl.PH: 5.4, B.8, C.1-C.2HW7: VHDL Exam #2 11A multicycle impl., control unit designPH: 5.5, 5.7. C.3-C.5 12Thanksgiving week (no classes) 13I/O, exceptions and interrupts, bus designPH: 5.6, 8.1, 8.5, A.7- A.8 HW8: SPIM 14Intro to pipelined datapath designPH: 6.1 15Memory hierarchies, the basics of cachesPH: 8.4-8.5, B.9, 7.1-7.2 Final

5 Irwin Fall 2006 PSU Things to be Aware Of  Throughout the set of slides, you will often see two slides that are almost identical. One is for the class handout and is missing some key points (it is marked in the notes section as “for class handout”). The other is for lecture (marked “for lecture”) where the key points are included and are animated to appear as students respond to questions posed to them in class. l Put the “for lecture” slide in hide mode when preparing class handouts and the “for class handouts” in hide mode when preparing lectures l A sample pair of slides follows  Reminder - be sure to put the Dilbert comics in hide mode when printing class handouts or preparing pdf to post on the web. I have Bob Colwell’s (verbal) okay to use the quotes from him book (which is great, btw).

6 Irwin Fall 2006 PSU Below the Program  High-level language program (in C) swap (int v[], int k) (int temp; temp = v[k]; v[k] = v[k+1]; v[k+1] = temp; )  Assembly language program (for MIPS) swap:sll$2, $5, 2 add$2, $4,$2 lw$15, 0($2) lw$16, 4($2) sw$16, 0($2) sw$15, 4($2) jr$31  Machine (object) code (for MIPS) 000000 00000 00101 0001000010000000 000000 00100 00010 0001000000100000...

7 Irwin Fall 2006 PSU Below the Program  High-level language program (in C) swap (int v[], int k) (int temp; temp = v[k]; v[k] = v[k+1]; v[k+1] = temp; )  Assembly language program (for MIPS) swap:sll$2, $5, 2 add$2, $4,$2 lw$15, 0($2) lw$16, 4($2) sw$16, 0($2) sw$15, 4($2) jr$31  Machine (object) code (for MIPS) 000000 00000 00101 0001000010000000 000000 00100 00010 0001000000100000... C compilerassembler


Download ppt "Irwin Fall 2006 PSU CSE331 Computer Organization and Design Fall 2007 Read Me Mary Jane Irwin (www.cse.psu.edu/~mji)www.cse.psu.edu/~mji Course url: www.cse.psu.edu/~cg331www.cse.psu.edu/~cg331."

Similar presentations


Ads by Google