Fall 2021 - CMPT 295 D200

Introduction to Computer Systems (3)

Class Number: 4554

Delivery Method: In Person

Overview

  • Course Times + Location:

    Sep 8 – Dec 7, 2021: Mon, 8:30–9:20 a.m.
    Surrey

    Sep 8 – Dec 7, 2021: Thu, 8:30–10:20 a.m.
    Surrey

  • Exam Times + Location:

    Dec 9, 2021
    Thu, 3:30–6:30 p.m.
    Surrey

  • Prerequisites:

    Either (MACM 101 and (CMPT 125 or CMPT 135)) or (MATH 151 and CMPT 102 for students in an Applied Physics program), all with a minimum grade of C-.

Description

CALENDAR DESCRIPTION:

The curriculum introduces students to topics in computer architecture that are considered fundamental to an understanding of the digital systems underpinnings of computer systems.

COURSE DETAILS:

Prerequisites: ----------------- Basic programming skills (C++ or C). Basic background at Unix/Linux. https://www.cs.sfu.ca/~ashriram/Courses/CS431/assets/notebooks/essentialC.pdf (We assume familiarity with the Essential programming constructs listed in the pdf) https://www.cs.sfu.ca/~ashriram/Courses/CS431/assets/notebooks/unixProgrammingTools.pdf (We assume familiarity with basic unix shell programming tools) We assume linux environmental experience; typically obtained through CMPT 127, 135 or related course at SFU. All assignments and lab in this course are administered through the linux environment and shell. If you are not comfortable working with linux shell, talk to an advisor.

As of May 26, 2021, the university has announced its plan for approximately 70-80% of teaching in person in Fall 2021. It has also stated that: "not all courses will be delivered in person. The fall will be a transitional term. Deans, supported by the work of chairs and directors, will make final decisions about whether courses will be taught remotely or in person." Please continue to check our course outline for further information. Should this course be taught remotely, students must have access to a computer with internet access, allowing the use of a conferencing system such as Zoom or BB Collaborate Ultra. Some components of the course will require synchronous (real-time) participation during the scheduled lecture and/or exam times. Visual proctoring will most likely be required for midterms and exams.

Overview --------------- This course should develop students' sense of what really happens when software runs — and that this question can be answered at several levels of abstraction, including the hardware architecture level, the assembly level and the C programming level. The core around which the course is built is C, assembly, and low-level data representation, but this is connected to higher levels (roughly how basic other programming langauges could could be implemented), lower levels (the general structure of a processor), and the role of the processor and its how it is implemented. This course provides an introduction to computer organization, systems programming and the hardware/software interface. Topics include instruction sets, computer arithmetic, datapath design, data formats, addressing modes, memory hierarchies including caches and virtual memory, and multicore architectures. Students learn assembly language programming and design a pipelined RISC V processor. The course is open to any undergraduate who has mastered the 120s material. #### RISC V This version of the course will study the core components in computer architecture through the lens of the RISC-V (V : Five) ISA. What is RISC V? It is a modern open source instruction set that enables students to learn both assembly-level programming and the digital design of a processor. **This course is a hands-on, programming-heavy course**. Expect to get down and get your hands dirty with C programming and hardware design. We will discuss the fundamental design and engineering trade-offs in computer architecture at every level.

Course Offer Plan: **Lab:** There will be dedicated lab days. (required lab). Attendance is required and counts towards 2.5% of your overall grade.zoom/in-person (To be decided) **Instructor Hours (50 minute session) will be instructor hours. zoom/in-person (To be decided). **Lecture (1hr 50minute)** will be live lecture day. I will be reviewing the quiz from the previous week. I will be on presenting some of the material from the week's module. Further time will be spent on answering class-wide questions.zoom/in-person (To be decided) **Videos** - All lecture content will be made available as videos 1 week prior. The expectation is that these videos are watched prior to the class. https://en.wikipedia.org/wiki/Flipped_classroom Text books. Please try and obtain the eversions of these text books.

COURSE-LEVEL EDUCATIONAL GOALS:

Topics

  • RISC-V
  • Bits, Arrays, Pointers
  • Number formats
  • Caches
  • Memory allocator
  • Processor Pipeline and Digital logic
  • Parallelism

Grading

NOTES:

Tentative: 6 programming-heavy assignments (45-50%) 1 Midterm (15%) 1 Final (30%) 9-10 Labs (2.5%) 9-10 Weekly Quizes (2.5%)

Students must attain an overall passing grade on the weighted average of exams in the course in order to obtain a clear pass (C- or better).

Materials

REQUIRED READING:

  • Computer organization and design : the hardware/software interface , David A. Patterson author John L. Hennessy, 9780128122754, https://www.elsevier.com/books/computer-organization-and-design-risc-v-edition/patterson/978-0-12-812275-4
  • All of Programming, Andrew Hilton and Anne Bracy, 0000000000000, https://play.google.com/store/books/details?id=-zViCgAAQBAJ&pcampaignid=books_web_aboutlink

Registrar Notes:

ACADEMIC INTEGRITY: YOUR WORK, YOUR SUCCESS

SFU’s Academic Integrity web site http://www.sfu.ca/students/academicintegrity.html is filled with information on what is meant by academic dishonesty, where you can find resources to help with your studies and the consequences of cheating.  Check out the site for more information and videos that help explain the issues in plain English.

Each student is responsible for his or her conduct as it affects the University community.  Academic dishonesty, in whatever form, is ultimately destructive of the values of the University. Furthermore, it is unfair and discouraging to the majority of students who pursue their studies honestly. Scholarly integrity is required of all members of the University. http://www.sfu.ca/policies/gazette/student/s10-01.html

TEACHING AT SFU IN FALL 2021

Teaching at SFU in fall 2021 will involve primarily in-person instruction, with approximately 70 to 80 per cent of classes in person/on campus, with safety plans in place.  Whether your course will be in-person or through remote methods will be clearly identified in the schedule of classes.  You will also know at enrollment whether remote course components will be “live” (synchronous) or at your own pace (asynchronous).

Enrolling in a course acknowledges that you are able to attend in whatever format is required.  You should not enroll in a course that is in-person if you are not able to return to campus, and should be aware that remote study may entail different modes of learning, interaction with your instructor, and ways of getting feedback on your work than may be the case for in-person classes.

Students with hidden or visible disabilities who may need class or exam accommodations, including in the context of remote learning, are advised to register with the SFU Centre for Accessible Learning (caladmin@sfu.ca or 778-782-3112) as early as possible in order to prepare for the fall 2021 term.