Archived · Spring 2026

CS 230 Computer Architecture

All offerings: Spring 2025Spring 2026 Current course page →
This is the course website as it was published for Spring 2026. Dates, links and policies reflect that semester and may be out of date; see the current course page for the latest version.

Course Info

An introduction to the foundational principles of computer architecture, including the design and organization of processors, memory hierarchies, input/output systems, and multiple CPU systems. Learn the core components that make up modern computer systems, including the CPU, GPU, memory, buses, and storage. Learn how to optimize performance, analyze trade-offs, and appreciate the historical and societal context of computing.

Instructor:

Dr. Peilong Li

Office:

Esbenshade 284B

Appointments:

By email

Number of Credits

4

Pre-requisites

  • CS 121 Computer Science I

Textbooks

  • (Required) Noam Nisan and Shimon Schocken.
    The Elements of Computing Systems. 2nd Edition. Cambridge, Massachusetts: The MIT Press, [2021].
    ISBN-13: 9780262539807.

Course Overview

Course Coverage

An introduction to the foundational principles of computer architecture, including the design and organization of processors, memory hierarchies, input/output systems, and multiple CPU systems. Learn the core components that make up modern computer systems, including the CPU, GPU, memory, buses, and storage. Learn how to optimize performance, analyze trade-offs, and appreciate the historical and societal context of computing.

Student Learning Outcomes

By the end of the course, students will be able to:

  • apply Boolean algebra and digital logic principles to design and analyze combinational and sequential circuits, demonstrating their ability to solve complex computing problems.
  • design and implement arithmetic and logic units using digital logic, including creating optimal solutions for adders, ALUs, and memory elements while evaluating performance trade-offs.
  • develop proficiency in assembly language programming using the HACK language, including writing, debugging, and optimizing low-level code to create computing-based solutions.
  • analyze computer system organization by understanding the interaction between processors, memory, and I/O systems, enabling them to evaluate architectural design choices and their performance implications.
  • work collaboratively to design and implement computer architecture components, making informed decisions about trade-offs while effectively communicating technical solutions in professional contexts.

Course Schedule

Schedule

Note this tentative schedule is subject to change. Please check the schedule regularly.

Last updated: 01/12/2026

Week Starting Topics Reading Notes
1 1/12/25 T: Lec1 - Course intro Ch 1 Tue: HW1 out
H: Lec2 - Boolean Algebra and Expressions
2 1/19/25 T: Lec3 - Switch and Logic Gate Implementation Ch 1
H: PE1 - Boolean Algebra and Logic Gates
3 1/26/25 T: Lec4 - Number System and Conversions Ch 2 Tue: P1 out, HW 1 due
H: Lec5 - Boolean Addition
4 2/2/25 T: Lec6 - Multi-bit and Multi-input Adders Ch 2 Tue: HW2 out
H: Lec7 - Boolean Substraction and ALU Design
5 2/9/25 T: Lec8 - Time and Memory Elements Ch 3 Tue: P1 due; P2 out
H: Lec9 - Registers and RAMs; Meet & Greet P1 Raid
6 2/16/25 T: Lec10 - State Machine Design and Program Counter Ch 3 Tue: HW2 due
H: PE2 - ALU and Sequential Logic P1 Raid
7 2/23/25 T: Lec 11 - Module Summary and Exam 1 Preview All Tue: P2 due; P2 Raid
H: Exam 1
8 3/2/25 T: Spring Break, No Classes
H: Spring Break, No Classes
9 3/9/25 T: Lec12 - Machine Language Ch 4 Tue: P3 out
H: Lec13 - HACK Assembly 1 P2 Raid
10 3/16/25 T: Lec14 - HACK Assembly 2 Ch 4
H: Lec15 - HACK Assembly 3
11 3/23/25 T: PE3 - Assembly Ch 5 Tue: HW3 out; P3 due
H: Lec16 - Comp Arch Intro P3 Raid
12 3/30/25 T: Lec17 - Buses; CPU Interface Ch 6 Tue: P4 out
H: Lec18 - Hack CPU Design P3 Raid
13 4/6/25 T: Lec19 - Hack I/O and Memory Ch 6 Tue: HW3 due
H: Lec20 - The Hack Computer; Project 5
14 4/13/25 T: Lec21 - Module Summary and Exam 2 Preview All Tue: P4 due; P5 out
H: Exam 2 P4 Raid
15 4/20/25 T: Scholarship Day, No Classes P4 Raid
H: Lec22 - Exam 2 Review and Final Preview
16 4/27/25 T: Q&A Tue: P5 due
H: Reading Day, No Classes P5 Raid
17 5/4/25 Tue: Final Exam 2:30–5:30 PM P5 Raid
Have a great summer!

Grading Policies

Grading Weights

The final grade for this course depends upon the grades and scores earned on course components weighted as follows:

  • 10%: Roll call and pop quizzes.
  • 35%: 5 team projects.
  • 15%: 3 individual homework.
  • 25%: 2 midterm exams.
  • 15%: Final exam.

Grades will be computed by rounding numerical percentages to the nearest integer and applying the following table:

Letter Range Letter Range Letter Range
A 93-100 B- 80-82 D+ 67-69
A- 90-92 C+ 77-79 D 63-66
B+ 87-89 C 73-76 D- 60-62
B 83-86 C- 70-72 F 0-59

Signature Team Projects

This course organizes students into “Clans” where a Leader earns a full-letter grade boost for successful team oversight, but all members share a collective fate during random “Audits.” In these audits, the instructor picks 1–2 members to explain the project’s logic; if they pass, the entire Clan receives 100%, but a failure caps the entire group’s grade at that individual’s performance level. This system emphasizes total team mastery, rewarding the fastest successful group with “Gold Status” exam points and allowing Clans to “boot” non-contributing members via a 60% majority vote. For more details, read on.

1. Clan Formation & Leadership

  • Structure: Each Clan consists of one Leader and 3–4 Members.
  • The Draft (Quiz 0): On Day 1, students complete Quiz 0 to nominate a Leader and a Co-leader. Self-nominations are allowed.
  • Succession:
    • In the event of a tie, the Instructor decides.
    • The runner-up becomes the Co-leader.
    • If the primary Leader is disqualified (e.g., fails an audit or loses status), the Co-leader automatically assumes the role and perks.

2. The “Gatekeeper” Perks

Leaders are the backbone of the course. In recognition of their workload, they receive:

  • The Prestige Perk: A one-letter grade increase on the final weighted grade (e.g., B → A).
  • Leadership Endorsement: A formal recommendation letter from the Instructor upon request for any positions.
  • The Qualification Requirement:
    • Leaders must pass their own Check-off with a Coach/Instructor one week prior to each project deadline.
    • Failure to qualify results in demotion to Co-leader.

3. The Member Sign-Off Process

Once a Leader is qualified, they check off members using a Digital Sign-Off Card (MS Forms).

  • Explanation Phase: The member presents a truth table and a hand-drawn diagram.
  • Stress Test: The Leader asks Instructor-provided “what-if” logic questions.
  • Validity Window: Sign-offs are valid only until one week after the project due date.
  • Accountability:
    • If a Leader signs off on a student who later fails an Instructor Audit, the Leader permanently loses Leader status.

4. The Raid: Random Audit Grading

Once the Clan is marked Ready, the Raid begins:

  • Selection: The Instructor/Coach randomly selects 1–2 signed-off members (excluding booted members) for a face-to-face explanation.
  • The Win: If the selected member(s) pass, the entire Clan earns 100%.
  • The Risk (Grade Cap):
    • If a selected member fails, the entire Clan’s grade is capped at that member’s demonstrated performance level
      (e.g., 60% mastery → Clan grade capped at 60%).

5. The Booting Policy: Clan Protection

To prevent inactive members from jeopardizing the Clan’s audit grade, Clans may remove members.

  • Requirement: A booting request must be approved by more than 60% of the Clan
    (e.g., 3 of 4 members, or 3 of 5).
  • Process:
    • The Leader submits an official Booting Request Email to the Instructor describing the member’s lack of participation or mastery.
  • Instructor Audit:
    • The Instructor investigates. If approved, the booted member is excluded from the Clan’s Random Audit for that project.
  • Consequences:
    • The booted member receives 0% for the project.
    • To rejoin the Clan for the next project, the student must demonstrate 100% mastery of the missed content to the Instructor in a private session before the next project starts.

6. Gold Status (The Speed Bonus)

  • Reward: For each project, the first Clan to submit a flawless package and complete all sign-offs earns Gold Status.
  • Perk: +2 extra points on the next exam for all Clan members.
  • The Steal:
    • If a Gold Status Clan fails its Audit, the status is revoked and awarded to the next fastest successful Clan.

7. Grading Rubric: The Raid Audit

Performance Level Requirement for the Randomly Selected Member Clan Result
Mastery (100%) Explains the gate logic, truth table, and passes the Stress Test flawlessly. Full Credit (100%)
Proficient (85%) Understands the general logic but misses one nuance in the stress test. Grade capped at 85%
Developing (70%) Can show working code but struggles to explain the hand-drawn diagram. Grade capped at 70%
Unsatisfactory (<50%) Cannot explain the logic or truth table; clear evidence of copying. Zero Credit / Academic Integrity Review

Policy Statements

Course Schedule

The most up-to-date course schedule will be posted on course website schedule page: https://peilong.github.io/courses/cs230/schedule/. Students are responsible for checking the schedule regularly. Schedule page will include: 1) teaching topics for each meeting; 2) reading assignments for each week and 3) special notes on specific days.

Course Announcements & Discussion

All course announcements will be sent to your Etown email accounts via Canvas Announcements. You are responsible for signing up for this service and checking your emails regularly.

I have created a Microsoft Teams channel (link) to facilitate course related discussion. Discussions are encouraged to be posted on the “QA” channel from Teams. Private instant messages can be sent directly to your recipient by search your recipient’s name on the “search” bar.

Attendance Policies

Attendance is expected of every student at every lecture. Students are responsible for all content covered in class as well as assigned book chapters. Due to their nature, pop quizzes cannot be made up.

Except in the case of documented emergencies, neither exams nor in-class labs can be made up afterwards. For excused absences, students must arrange to take the exam or do the lab before the normally scheduled time. Arrangements must be made with the instructor at least two weeks prior to the scheduled time.

Students are expected to maintain an attitude of respect at all times toward their colleagues, the equipment, and the instructor. Cell phones and similar devices is prohibited from using during lecturing time. Students who use offensive language, misuse computing facilities, or are otherwise disruptive of the classroom will be asked to leave.

Statement on School Closure

In the event that classes do not meet because Elizabethtown College is closed or delayed due to inclement weather or some other emergency, the slides that would have been covered during the missed classes will be posted through Canvas. Students are expected to do the assigned reading, review the slides, and e-mail the instructor with any questions. There will also be an opportunity to ask questions about the material when classes resume.

If a scheduled exam or lab is missed, it will normally be made up on the day that classes resume. If the College is closed on a day when a project is due, the project due date will also normally be extended until the day when classes resume. If circumstances render either of these makeup policies unreasonable, the instructor will send an e-mail explaining an alternative makeup opportunity to each student’s Elizabethtown e-mail account.

Statement on Academic Integrity

Check out the up-to-date statement from: Elizabethtown College Catalog, “Academic Judicial System”

Statement on the Use of ChatGPT and Generative AI Tools

The use of GenAI tools like ChatGPT to generate source code is prohibited for your assignments in this course unless otherwise noted in the syllabus. Therefore, your instructor will consider it a violation of academic integrity to use a GenAI tool for any purpose that is not explicitly outlined in assignment instructions. While this new technology can be very useful in certain contexts, it is important to make sure that its usage in the classroom setting is limited in order to ensure that you are doing original work and developing your critical thinking skills. In circumstances in which AI usage is permitted in class, you must acknowledge that usage and provide the chatbot with credit when it is a cited source. For instance, to cite ChatGPT in APA, the APA provides some direction at https://apastyle.apa.org/blog/how-to-cite-chatgpt. If you have any questions or uncertainty over the use of AI in this course, please reach out to the instructor.

Respect for Diversity

It is the College’s intent that students from all backgrounds and perspectives be well served by this course, that students’ learning needs be addressed both in and out of class, and that the diversity that students bring to this class be viewed as a resource, strength, and benefit. The College desires to present materials and activities that respect diversity: gender, sexuality, disability, age, religion, socioeconomic status, ethnicity, race, and culture. Please let me know if there are ways to further serve the diverse needs you or other students may have.

Religious Observances

The College is eager to facilitate individual religious beliefs and practices whenever possible while retaining course student learning outcomes. It is your responsibility to meet with the class instructor in advance to request arrangements related to your religious observances that may conflict with this class, and to make appropriate plans to make up any missed work. The following is a link from the Chaplain’s Office website where a list of Religious Holidays needing accommodations (if requested) is posted: https://www.etown.edu/offices/chaplain/index.aspx

Mental Health and Counseling Resources

Counseling Services provides a broad range of counseling and mental health support services that facilitate students’ personal, social, and academic development. The licensed mental health professionals provide short-term individual counseling, group counseling, crisis intervention, and consultation to currently enrolled students for no additional charge. Counseling services are provided in a confidential and diversity-affirming environment to help students address a variety of mental health, situational, and developmental concerns. The office is located in the Baugher Student Center, Suite 216. Appointments can be made in person or by calling 717-361-1405. Urgent walk-in services are also available. To access the after-hours crisis services, please call the 24/7 Campus Security number of 717-361-1111. For more information, please visit www.etown.edu/offices/counseling.

ADA Statement

Elizabethtown College is committed to providing access for all students to courses, programs, services, and activities. If you have a documented disability such as a learning disability, chronic illness, or a new circumstance such as a concussion and would like to request accommodations, contact Dr. Michele Moohr, Coordinator of Disability Services by phone (717-361-1227) or e-mail (moohr@etown.edu). The Office of Disability Services can provide resources to you and facilitate communication with faculty about reasonable accommodations. After meeting with the Office of Disability Services, students must set up an appointment to meet with me, the instructor, to discuss the accommodations as they pertain to my class. Common accommodations may include extra time on exams, an alternate exam location, the ability to record class lectures, and access to content with a screen reader.

Modifications for Non-native English Speakers

Elizabethtown College is committed to providing equitable access to all courses, programs, and services for non-native (international and domestic) English speakers. Students may request tutoring, learning resources, course modifications, and learning opportunities. Students interested in seeking a course modification should contact Ms. Maria Petty (pettym@etown.edu), International Student Programs Advisor, at (717) 361-1594.

Title IX

Elizabethtown College and its faculty are committed to creating a safe and open learning environment for all students. If you or someone you know has experienced sexual harassment, including sexual assault, dating or domestic violence, and stalking, please know that help and support are available. Etown strongly encourages all members of the community to take action, seek support, and report incidents of sexual harassment to the Title IX Office. You may contact the Title IX Coordinator at reedg@etown.edu or learn more by visiting https://www.etown.edu/offices/diversity/titleix/index.aspx. 

Please be aware that faculty members are required to disclose information about suspected or alleged sexual harassment or other potential violations of the College Sexual Misconduct Policies and Procedures to the Title IX Coordinator. If the Title IX Coordinator receives information about an incident, they will reach out to offer information about resources, rights, and procedural options as a member of the campus community. Community members are not required to respond to this outreach. If you, or another student you know, wishes to speak to a confidential resource who does not have this reporting responsibility, please contact Counseling Services at 717-361-1405.

Software

From NAND to Tetris

This website contains all the lectures, project materials and tools necessary for building a general-purpose computer system and a modern software hierarchy from the ground up.

NAND2Tetris Online IDE

This new Integrated Development Environment is web-based, meaning that you don’t have to download anything: All the tools and files necessary for completing all the projects are available from your browser. The files that you’ll develop using this IDE will be saved automatically in your browser’s memory, and you’ll be able to download them to your local PC.

Archived from Peilong/Peilong.github.io@a8eb08a (2026-03-09).