Apr. 24: HW3 solution is posted.
Apr. 13: Homework 3 is posted (Due on Apr. 23).
Apr. 06: HW2 solution is posted.
Mar. 25: Homework 2 update is posted, where one typo in Q1 is fixed.
Mar. 18: Homework 2 is posted (Due on Mar. 29). Please submit homework through e-learning.
Mar. 10: One more office hour time-slot is added: Wednesday 1400–1600 at SHB914 (starting from March 22th).
Mar. 09: Lab2 is due on March 18 night. Please submit both report and source code (lc3b_sim2.c) to elearning.
Feb. 28: HW1 solution is posted.
Feb. 20: L03 slides are updated: in the table of page 12, arguments ($a0 – $a3) are NOT preserved on call.
Feb. 15: Homework 1 update is posted, where some typos in Q10 are fixed.
Feb. 03: Homework 1 is ready (Due on Feb. 23).
| Lecture/Lab: | M14:30-16:15 | Venue: LSB C2 |
| H12:30-14:15 | Venue: LSB C1 | |
| Course Instructor: | Prof. Bei Yu | byu@cse.cuhk.edu.hk |
| Course Tutors: | Chong Wing (Sirius) Cheung | cwcheung@cse.cuhk.edu.hk |
| Haoyu Yang | hyyang@cse.cuhk.edu.hk | |
| Consultation Hours: | W14:00–16:00@SHB914 | |
| H14:30–16:30@SHB914 | ||
| Tutor Hours: | M15:30–17:30@SHB913 |
This course provides an introduction to computer organization. The objective is to introduce the major components of a computer system, how they function together in executing a program, and the organizational paradigms that determine the capabilities, performance and power of computer systems.
Class Attendance (5%), Homeworks (15%), Midterm (15%), Three Labs (25%), Final Exam (40%).
A student must gain at least 50% of the full marks in order to pass the course.
A student must attend at least 80% of lectures in order to gain all class attendance credits.
[1] Computer Organization and Design: The Hardware/Software Interface, 4th Edition (amazon.com) (amazon.cn)
[2] Introduction to Computing Systems: From bits & gates to C & beyond, 2nd Edition (amazon.com) (amazon.cn)
[3] Computer Architecture: A Quantitative Approach, 4th Edition (amazon.com) (amazon.cn)
Lab 1 reference: [1] Appendix B, SPIM simulator
Lab 2 reference: LC-3b-ISA, LC-3b-assembly
Lab 3 reference: LC-3b-datapath
| Week | Date | Topic | Remark | |
| 1 | Jan. 09 | L01 Introduction (slides) | ||
| Jan. 12 | L02 Digital Logic Review (slides) | |||
| 2 | Jan. 16 | L03 Instruction Set Architecture (slides) | review | [1] Sec.2.1–2.10 |
| Jan. 19 | L04 Performance (slides) | review | [1] Sec.1.4 | |
| 3 | Jan. 23 | L05 Arithmetic and Logic Unit (slides) | [1] Sec.3.1–3.5 | |
| Jan. 26 | L06 Datapath (slides) | [1] Sec.4.1–4.4 | ||
| 4 | Jan. 30 | n/a | Lunar New Year | |
| Feb. 02 | n/a | Lunar New Year | ||
| 5 | Feb. 06 | L07 Pipeline (slides) | [1] Sec.4.5–4.9 | |
| Feb. 09 | Lab 1-1 (slides) | |||
| 6 | Feb. 13 | MIPS Processor Summary | ||
| Feb. 16 | Lab 1-2 (slides) | |||
| 7 | Feb. 20 | Lab 1-3 (slides) | ||
| Feb. 23 | L08 LC-3 Introduction (slides) | |||
| 8 | Feb. 27 | Lab 2-1 (slides) | lab2-assignment.tar.gz, toupper2.cod | |
| Mar. 02 | Midterm (start at 12:40pm) | |||
| 9 | Mar. 06 | Lab 2-2 (slides) | ||
| Mar. 09 | Lab 2-3 (slides) | |||
| 10 | Mar. 13 | n/a | conference traveling | |
| Feb. 16 | L09 Memory (slides) | [1] Sec.5.1–5.3,5.7 | ||
| 11 | Mar. 20 | L10 Cache (slides) | solution | [1] Sec.5.4–5.5 |
| Mar. 23 | L11 Virtual Memory (slides) | solution | ||
| 12 | Mar. 27 | Lab 3-1 (slides) | lab3-assign.tar.gz, lib3-gcc4.8.tar.gz | |
| Mar. 30 | Lab 3-2 (slides) | |||
| 13 | Apr. 03 | Lab 3-3 (slides) | ||
| Apr. 06 | L12 I/O Systems (slides) | solution | [1] Sec.6.1–6.6 | |
| 14 | Apr. 10 | L13 Instruction-Level Parallelism (slides) | solution | |
| Apr. 13 | L14 Multi-Threading & Multi-Core (slides) | solution | [1] Sec.7.1–7.6 | |
| 15 | Apr. 17 | n/a | Easter Holiday | |
| Apr. 20 | Lecture Review | |||
| 16 | Apr. 24 | Homework Review (3:40pm@LSB C1) | make-up class |
Please submit your homework through e-learning (link). Late submission is subject to a penalty.
Homework 3 (due on Apr. 23), HW3 Solution
Homework 2 (update) (due on Mar. 29), HW2 Solution
Homework 1 (update) (due on Feb. 23), HW1 Solution
Homework 2 (due on Mar. 29)
Homework 1 (due on Feb. 23)
Reference 1: 2016S-Quiz-1
Reference 2: 2016S-Quiz-2
Reference 3: 2016S-final
Reference 4: 2017S-midterm
Mar. 02, 2017: Midterm.
Apr. 26, 2017: Final 12:30–14:30, @Sir Run Run Shaw Hall.