CS 240: Principles of Computer Organization

Bryn Mawr College
Fall 2017
Professor Douglas Blank

General Information

Item Description
Instructor Douglas Blank
Office hours 9:30am - 11:00am MTWR, and by appointment, Park 205
E-Mail dblank@cs.brynmawr.edu
Website http://cs.brynmawr.edu/cs240/
Class Mondays and Wednesdays 1:10pm-2:30pm
Room Park 336
Phone (610)526-6501
Open Lab Wednesdays 2:40pm-4:00pm, Park Room 231 (Computer Science Lab)
Lab Assistants TBA
Grades http://moodle.brynmawr.edu/
Jupyter, login https://athena.brynmawr.edu/jupyter/

Syllabus and Schedule

Course Description: A classroom/laboratory course studying the hierarchical design of modern digital computers. Combinatorial and sequential logic elements; construction of microprocessors; instruction sets; assembly language programming. Lectures cover the theoretical aspects of machine architecture. In the laboratory, designs discussed in lecture are constructed in software. Prerequisite: CMSC B206 and CMSC B231.

Schedule

Week DOW Date    Topic Lab
1 Wed 9/6 Introduction Lab1, fetch from Assignments tab
2 Mon 9/11 Welcome aboard!, Discuss Chapter 1
Wed 9/13 Bits, Data Types, and Operations Lab2, Discuss Chapter 2
3 Mon 9/18 Numbers: Two's Complement
Wed 9/20 Numbers Lab3: Floating-Point Representation
4 Mon 9/25 Memory, Discuss Floating-Point Representation
Wed 9/27 Flow of Control Lab4: Memory and Flow of Control
5 Mon 10/2 New Instructions and Directives
Wed 10/4 Chapter 6: Programming Lab4, continued
6 Mon 10/9 Sections 5.4.5, 9.1, 9.2: Subroutines
Wed 10/11 Review No Lab
7 Mon 10/16 Fall Break
Wed 10/18 Fall Break
8 Mon 10/23 Review
Wed 10/25 Midterm Exam
9 Mon 10/30 Assembly Language Discuss Chapter 7
Wed 11/1 Debugging
10 Mon 11/6 Assembly Language, Variables
Wed 11/8 I/O
11 Mon 11/13 Functions
Wed 11/15 The Stack Discuss Chapter 10
12 Mon 11/20 The C Programming Language
Wed 11/22 Thanksgiving Break
13 Mon 11/27 Disassembly
Wed 11/29 Optimization
14 Mon 12/4 Review
Wed 12/6 Review
15 Mon 12/11 Presentations
Wed 12/13 Presentations, Final Paperwork Project write-up due Thursday, 5pm

Academic Calendar

  • September 4, Labor Day (no classes)
  • Septmber 5, Classes begin
  • October 13, Fall break begins after last class
  • October 22, Fall break ends at 8 a.m.
  • November 22, Thanksgiving break begins after last class
  • November 26, Thanksgiving break ends
  • December 14, Last day of classes
  • December 15–16, Review period
  • December 17–22, Examination period

Text and Software

Text

Introduction to Computing Systems: From Bits & Gates to C & Beyond (second edition), by Yale N. Patt & Sanjay J. Patel, McGraw Hill Publishers, 2004.

Software

We will be using the Jupyter Little Computer 3 simulator and software, installed on the Athena computer cluster:

You should have already received a password and username via email. If not, please let me know.

Course Policies

Participation

Attendance and active participation are expected in every class. Participation includes asking questions, contributing answers, proposing ideas, and providing constructive comments.

As you will discover, we are proponents of two-way communication and we welcome feedback during the semester about the course. We are available to answer student questions, listen to concerns, and talk about any course-related topic (or otherwise!). Come to office hours! This helps us get to know you. You are welcome to stop by and chat. There are many more exciting topics to talk about that we won't have time to cover in-class.

Although computer science work can be intense, please stay in touch with us, particularly if you feel stuck on a topic or project and can't figure out how to proceed. Often a quick e-mail, phone call or face-to-face conference can reveal solutions to problems and generate renewed creative and scholarly energy. It is essential that you begin assignments early, since we will be covering a variety of challenging topics in this course.

Grading

There will be about seven assignments, weighted equally in the final grading. Assignments must be submitted according to the Assignment Submission instructions.

At the end of the semester, final grades will be calculated as a weighted average of all grades according to the following weights:

Item Percentage
Exam 1 20%
Exam 2 25%
Assignments 45%
Project 10%
Total 100%

Incomplete grades will be given only for verifiable medical illness or other such dire circumstances.

Submission and Late Policy

All work must be turned in either in hard-copy or electronic submission, depending on the instructions given in the assignment. E-mail submissions, when permitted, should request a "delivery receipt" to document time and date of submission. Extensions will be given only in the case of verifiable medical excuses or other such dire circumstances, if requested in advance and supported by your Academic Dean.

No assignment will be accepted after it is past due.

No past work can be "made up" after it is due.

Exams

There will be two exams in this course. The exams will be open-book and open-notes. The exams will cover material from lectures, homeworks, and assigned readings (including topics not discussed in class).

Study Groups

We encourage you to discuss the material and work together to understand it. Here are our thoughts on collaborating with other students:

  • The readings and lecture topics are group work. Please discuss the readings and associated topics with each other. Work together to understand the material. We highly recommend forming a reading group to discuss the material -- we will explore many ideas and it helps to have multiple people working together to understand them.
  • It is fine to discuss the topics covered in the homeworks, to discuss approaches to problems, and to sketch out general solutions. However, you MUST write up the homework answers, solutions, and programs individually without sharing specific solutions, mathematical results, program code, etc. If you made any notes or worked out something on a white board with another person while you were discussing the homework, you shouldn't use those notes while writing up your answer.
  • You should not show your code to other students before it is submitted. After it has been submitted, we will share and demonstrate code.
  • You may discuss high-level code ideas with others.

If you have any questions as to what types of collaborations are allowed, please feel free to ask.