Computer Architecture

Spring 2023

School of Information Science and Technology SIST
SchanghaiTech University

LectureTuesday, 8:15-9:55.教学中心 (Teaching Center) 301.
LectureThursday, 8:15-9:55.教学中心 (Teaching Center) 301.
DiscussionsMonday, 20:30 - 21:30教学中心 (Teaching Center) 301.
DiscussionsFriday, 20:30 - 21:30教学中心 (Teaching Center) 301.
Lab 1Thu, 19:50-21:20 SIST 1B-108 TA: Yulu Song.
Lab 2Tue, 19:50-21:20 SIST 1B-108 TA: Huizhe Su.
Lab 3Tue, 19:50-21:20 SIST 1B-110 TA: Linjie Ma.
Lab 4Mon, 19:50-21:20 SIST 1B-110 TA: Lei Jia.
Lab 5Mon, 19:50-21:20 SIST 1B-108 TA: Haoran Jiang.
Lab 6Thu, 19:50-21:20 SIST 1B-106 TA: Zongze Li.
Lab 7Tue, 19:50-21:20 SIST 1B-106 TA: Suting Chen.
Lab 8Mon, 19:50-21:20 SIST 1B-106 TA: Cheng Peng.
Lab 9Thu, 19:50-21:20 SIST 1B-110 TA: Haiyue Chen.
Forum Post all your questions on the forum.
Autolab Submit your homework and projects to autolab.
.
Schedule
Week
Date
Topic
Video
Reading
Discussion
Homework
Lab
Project
1 07 Feb Introduction P&H: 2.4 No Discussion HW 1 on Autolab!
Due: 16 Feb
No Lab
09 Feb Intro to C I K&R: 1-6
2 14 Feb Intro to C II K&R: 7-8, App. A & B Discussion 2 HW 2
Due: 3 Mar
Lab 1
16 Feb C_Intro_Pointer_Memory_Manage P&H: 2.1 - 2.3
3 21 Feb C Memory Management P&H: 2.6, 2.7, 2.9, 2.10 VenusGuide
Discussion 3
Lab 2 Project 1.1
Due:13 Mar
23 Feb RISC-V II P&H: 2.5, 2.10
4 28 Feb RISCV III P&H: 2.6, 2.7, 2.9, 2.10 Discussion 4 Lab 3
2 Mar CALL P&H: 2.12
5 7 Mar Floating-point & Logic P&H: 3.3 - 3.5 Discussion 5 HW 3
Due: 18 Mar
Lab 4 Project 1.2
Due:31 Mar
9 Mar Combinational & Sequential P&H: 3.3 - 3.5
6 14 Mar FSM & datapath P&H: 4.1, 4.2, 4.3 Discussion 6
Circ Example
Lab 5
16 Mar Data path P&H: 4.1, 4.2, 4.3
7 21 Mar Midterm Discussion 7
HW 4
Due: 7 Apr
Lab 6 Midterm Solution
23 Mar Data path & controller P&H: 4.5 - 4.8
8 28 Mar Pipeline P&H: 4.5 - 4.9 Discussion 8
Lab 7 Project 2.1
Due: 14 Apr
30 Mar Pipeline P&H: 4.5 - 4.9
9 4 Apr Cache P&H: 5.1, 5.2, 5.3, 5.4 Discussion 9
Lab 8
6 Apr Cache II P&H: 5.1, 5.2, 5.3, 5.4
10 11 Apr Cache III P&H: 5.1, 5.2, 5.3, 5.4, 5.8, 1.6 Discussion 10 HW 5
Due: 27 Apr
13 Apr Data Level Parallelism P&H: 1.7, 1.8, 4.10, 4.11, 6.1-6.7
11 18 Apr FPGA P&H: 6.9, 4.9 HW 6
Due: 14 May
Lab 9 Project 2.2
Due: 4 May
20 Apr Midterm II
12 23 Apr Thread-Level Parallelism P&H: 2.11, 5.10, 6.4, 6.5 Discussion 11 HW 7
Due: 25 May
25 Apr Thread-Level Parallelism II P&H: 2.11, 5.10, 6.4, 6.5
13 27 Apr OS P&H: 5.13, 5.15, 5.16 Discussion 12 Lab 10 Project 3
Due: 18 May
3 May VM P&H: A.12
14 9 May Advanced Cache Discussion 13 HW 8
Due: 28 May
Lab 11 Midterm II solution
11 May Warehouse-Scale Computing P&H: 6.7
15 16 May I/O P&H: 5.1, 5.2, 6.9 Lab 12 Project 4
Due: 2 Jun
18 May Dependability and RAID P&H: 5.2, 5.5, 5.11, A.9
16 23 May Security Meltdown
Spectre
Discussion 14 Lab 13
Image
25 May Summary
Instructor
Chundong Wang
Chundong Wang
<wangchd>
Siting Liu
Siting Liu
<liust>

TAs
Please check the TA office hours on piazza.
Yanpeng Hu
Yanpeng Hu
<huyp>
Head TA
Meng Chen
Meng Chen
<chenmeng>
Zongze Li
Zongze Li
<lizz>
Haiyue Chen
Haiyue Chen
<chenhy5>
Yulu Song
Yulu Song
<songyl1>
Lei Jia
Lei Jia
<jialei>
Cheng Peng
Cheng Peng
<pengcheng2>
Linjie Ma
Linjie Ma
<malj>
Han Li
Han Li
<lihan>
Huizhe Su
Huizhe Su
<suhzh>
Weiming Hu
Weiming Hu
<huwm1>
Jintian Hu
Jintian Hu
<hujt>
Qisheng Jiang
Qisheng Jiang
<jiangqsh>
Haoran Jiang
Haoran Jiang
<jianghr1>
Qing Xu
Qing Xu
<xuqing2>
Suting Chen
Suting Chen
<chenst>

Syllabus

Check the syllabus for the CA course on egate.

Textbook

P&H
Patterson, David A. and Hennessy, John L. Computer Organization and Design RISC-V edition. Morgan Kaufmann.

References

K&R
Kernighan, Brian W. and Ritchie, Dennis M. The C Programming Language (2rd ed.). Prentice Hall.

Requirements

Reading
Read the chapters before class. I will not read the textbook to you during class. Rather, I will help you better understand certain materials in the textbook.
Class participation
Participate actively in the discussions both in class and on the forum.
Communication
Read your email and the forum at least once in any 12 hour period (including weekends and holidays), as I may post important announcements.

Grading

CS110 Grading

CS110P Grading

Resources

Feedback

We always welcome any feedback on what we could do better. You are also welcome to send us feedback anonymously if you like.