Time and Location: Monday/Wednesday 3:30pm-4:50PM, Small Physics Lab, 110
Instructor: Adwait Jog (Personal Website)
Office hours: Monday/Wednesday 2:00PM-3:30 PM or by appointment, McGl 111
Email: ajog@wm.edu
Teaching Assistant: Hongyuan Liu (Personal Website)
Office hours: by appointment
Deadlines: Sept 7 (add/drop deadline) and Oct 26 (withdraw deadline). See the UG calender for more details.
Exam Dates: Oct 17th (Midterm Exam, in-class) and Dec 11 (Final Exam, 9:00 to noon in our regular class-room, see Fall 2018 Final Exam Schedule for more details.)
Prerequisite(s): CSCI 304 and either CSCI 301 or CSCI 303
This course will introduce principles of computer design. The students will apply their knowledge of digital logic design to understand the high-level interactions between different computer system hardware components. Specifically, this course will cover various computer architecture aspects related to MIPS ISA, single-cycle data-path design, multiple-cycle design, pipelining, memory hierarchy, and multiprocessor architecture.
Required Textbook: Computer Organization and Design, Patterson & Hennessey (P&H), 5th Edition (MIPS Edition), see this website for more details.
Resources: Some homeworks will also have simulation-based component. Access to a computer with remote access to a lab machine is necessary. See Simulators section for more details.
Materials: Lecture slides, homeworks, and other course materials will be posted on Blackboard. Updates will be posted on this website as well as course announcements/reminders will be delivered via piazza. Please keep checking all forums regularly for the latest information.
Help: It is important to start working on homeworks early, especially the homeworks that have simulation component. If you need help, show up in the office hours or ask questions in or after the class. You are also highly encouraged to use piazza to ask general clarification or conceptual questions regarding homeworks, quizzes, exams etc.
Homework Assignments (40%, around 8)
In-class/Blackboard Quizzes and Class participation (10%)
In-class Midterm Exam (25%)
Final Exam (25%)
Optional Research Project: Talk to the instructor for details. If you are interested in grad school and need a recommendation letter from the instructor, he would definitely be interested to know what you did on your research project.
Final letter grades will be given based on the standard scale used in WM. Grades may be curved at the instructor's discretion.
Homework Assignments (35%, around 8)
In-class/Blackboard Quizzes and Class participation (10%)
In-class Midterm Exam (20%)
Final Exam (20%)
Required Research Project (15%): Schedule an appointment with the instructor for more details.
Final letter grades will be given based on the standard scale used in WM. Grades may be curved at the instructor's discretion.
We have two exams: mid-term and final exam. Dates for the exams are mentioned at the top of this page.
All exams are closed textbook/slides. No electronic devices are allowed during exams. One A4-sized cheat sheet is allowed. Yes, you can use both sides of the page.
You are expected to attend all lectures. You are responsible for all materials covered in lectures.
You can use laptops only to take notes. Other electronic devices are not allowed to be used in the class.
You can collaborate on the homework problems with one more student currently enrolled in the class. However, you must write up each problem solution (or MIPS code) by yourself without assistance. You must also identify your collaborator. If you did not work with anyone, you should write ”Collaborator: none.” It is a violation of this policy to submit a problem solution that you cannot orally explain to the instructor or TA.
No collaboration whatsoever is allowed on exams and quizzes. However, you may you use your notes, lecture material, or textbook for quizzes.
Homework Assignments and Reports should be submitted electronically (no hard copies) on Blackboard by 23:00 hrs on the due date in the PDF format. You may use MS-word or Latex to typeset your answers, however, final submission must be in the PDF format. Submission in any other format (including hand-written and then scanned PDFs) will not be graded and will receive zero.
Some homeworks will have simulation-based component. Some homeworks may carry more points than others.
Submission deadlines are hard. However, we do have a late/miss policy:
Late HWs are accepted with 20% penalty for each day they are late by.
If you miss an exam or quiz, you will get zero on that. The lowest score on the quizzes will be dropped. Exceptions will be handled case by case.
If you have any grading-related questions, please contact the TA first. If issues are not resolved, then you can escalate the matter to the instructor. The instructor will make the final decision.
MARS: A MIPS Simulator. Download and Install V4.5, Aug. 2014 and JAVA SDK. As MARS is a Java program, it should run on any OS. Browse through the software and documentation to familiarize yourself with the software. Here is a good tutorial with lots of screenshots. Read the tutorial first before starting MARS. More documentation can be found here.
SimpleScalar. It is an architecture-level simulator. Refer to these presentation slides and this user guide. Browse through the simulator-software and documentation to familiarize yourself with the environment.
Week | Date | Agenda | Readings | HW | Quiz | Notes |
---|---|---|---|---|---|---|
Week 1 | Aug 29 | Administrativia and Introductions | Quiz 1 is out | First Day of class. Turing Lecture: https://www.youtube.com/watch?v=3LVeEjsn8Ts | ||
Week 2 | Sep 3 | Introduction, Abstractions, and Technology | Chapter 1 | Download/Install MARS and run sample codes to prepare for upcoming homeworks. | ||
Sep 5 | Introduction, Abstractions, and Technology | HW 1 Out | Sept 7 is the Add/drop deadline. | |||
Week 3 | Sep 10 | MIPS ISA | Appendix A | |||
Sep 12 | -- | Class suspended due to Hurricane Florence | ||||
Week 4 | Sep 17 | MIPS ISA | HW 2 Out | Quiz 2 Out | ||
Sep 19 | MIPS ISA | Chapter 2 | ||||
Week 5 | Sep 24 | MIPS ISA | HW 3 Out | Quiz 3 Out | ||
Sep 26 | MIPS Datapath | Appendix B.1 -- B.3 and B.7--B.9 | ||||
Week 6 | Oct 1 | Single-cycle Design | Chapter 4.1 -- 4.3 | |||
Oct 3 | Intro to Pipelining | Chapter 4.4 -- 4.7 | HW4 out | Quiz 4 out | Midterm Sample Exam Out | |
Week 7 | Oct 8 | Mid-term Review | ||||
Oct 10 | -- | Instructor on travel | ||||
Week 8 | Oct 15 | -- | Fall break | |||
Oct 17 | Midterm | In-class Midterm Exam | ||||
Week 9 | Oct 22 | Intro to Simple-scalar (1) | Instructor on Travel. | |||
Oct 24 | Intro to Simple-scalar (2) | Instructor on Travel. | ||||
Week 10 | Oct 29 | Intro to Branch Prediction | ||||
Oct 31 | Caches | Chapter 5.1 -- 5.4 | HW5 out | |||
Week 11 | Nov 5 | Caches | Quiz 5 Out | |||
Nov 7 | Caches | HW6 out | ||||
Week 12 | Nov 12 | Virtual Memory and TLBs | Chapter 5.6 -- 5.8 | |||
Nov 14 | Virtual Memory and TLBs | |||||
Week 13 | Nov 19 | DRAM | HW7 out | Quiz 6 Out | ||
Nov 21 | No Class | Thanksgiving | ||||
Week 14 | Nov 26 | Multi-processors | Chapter 6.1 -- 6.5 | |||
Nov 28 | Multi-processors | Appendix C-2 | HW8 Out | Quiz 7 Out | ||
Week 15 | Dec 3 | GPUs | ||||
Dec 5 | Final Exam Review | |||||
Finals | Dec 11 | Comprehensive Final Exam, 9:00am to noon, classroom | To be held in the Regular Classroom. (Exam Schedule). Final exam will include all material covered during the semester. |
The university and department policies against academic dishonesty will be strictly enforced.
Students are required to follow the Honor System of the College of William and Mary.
It is the policy of The College of William and Mary to accommodate students with disabilities and qualifying diagnosed conditions in accordance with federal and state laws. Any student who feels s/he may need an accommodation based on the impact of a learning, psychiatric, physical, or chronic health diagnosis should contact Student Accessibility Services staff at 757-221-2509 or at sas@wm.edu to determine if accommodations are warranted and to obtain an official letter of accommodation. For more information, please click here.
The Writing Resources Center, located on the first floor of Swem Library, is a free service provided to W&M students. Trained consultants offer individual assistance with writing, presentation, and other communication assignments across disciplines and at any stage, from generating ideas to polishing a final product. To make an appointment, visit the WRC webpage.
The lecture slides of this course are developed based on the original lecture slides from Mary. J. Irwin (Penn State), which were adapted from Computer Organization and Design, 5th Edition, Patterson & Hennessy (P&H), Morgan Kaufmann. The course staff also acknowledges the contributions of Mary. J. Irwin, Chita Das, Yuan Xie, N. Vijaykrishnan, and other instructors and TAs at Penn State, towards developing the course material over a period of time. Some of the collaboration rules are inspired by CSE 465 course at Penn State.