RISCV课程
原文: https://cs61c.org/#by-week
Great Ideas in Computer Architecture (Machine Structures)
CS 61C at UC Berkeley with Nick Weaver - Spring 2020
Lecture: MW 5:00 pm - 6:29 pm Wheeler 150
Textbooks:
- Computer Organization and Design RISC-V Edition, 1st ed. by David Patterson, and John Hennessy
- The C Programming Language, 2nd ed. by Brian Kernighan and Dennis Ritchie
- The Datacenter as a Computer by Luiz André Barroso and Urs Hölzle, freely available here
Week 1
C Intro - Pointers, Arrays, Strings
Webcast
Readings: K&R:5-6
Readings: P&H:3.5, 3.9 , IEEE 754 Simulator
RISC-V, RISC-V Functions
Webcast
Readings: P&H:2.6-2.8, 3.2
RISC-V Instruction Formats
Webcast
Readings: P&H:2.5, 2.10
Project 2 Released (2A due 2/28, 2B due 3/6)- Discussion 4: RISC-V Control Flow, ISA (Solutions)
- Lab 3: None (Holiday)
- Project 2 Due A: 2/28 B: 3/6
RISC-V 5-Stage Pipeline/Hazards
Readings: P&H:4.6-4.10
- Discussion 7: Single-Cycle Datapath (Solutions)
- Lab 6: Logisim
- Project 3 Due A: 3/16 B: 3/30
Memory Hierarchy, Fully Associative Caches
Readings: P&H:5.1-4, 5.8-5.9, 5.13 , Cache Flowchart
Caches– Direct-mapped, set-associative; Program Performance w/ Caches
Readings: P&H:5.1-5.4, 5.8-5.9, 5.13 , Cache Flowchart
- Discussion 8: Pipelining and Hazards (Solutions)
- Lab 7: Pipelining and CPU, Mid-Semester Survey
- Homework 7: Caches
Due 4/3
Mutilevel Caches, Cache Questions
Readings: P&H:5.1-5.4, 5.8-5.9, 5.13 , Cache Flowchart
Lec 18
4/1OS and I/O– DMA, Disks, Networking
- Discussion 10: Caches (Solutions)
- Lab 9: Caches
- Homework 8: OS and I/O
Due 4/10
Week 12
Virtual Memory Part 2
Readings: P&H:5.7-5.8
- Discussion 11: Virtual Memory (Solutions)
- Lab 10: OS/Virtual Memory
- Homework 10: Virtual Memory
Due 4/10
Week 13
Lec 22
Amdahl's Law, Thread-level Parallelism, OpenMP Introduction
Readings: P&H:2.11, 4.10, 5.10, 6.5 , OpenMP Summary Card
- Discussion 12: AMAT, Data-level Parallelism, Coherency and Atomics (Solutions)
- Lab 11: SIMD Instructions
- Homework 11: Performance Programming
Due 4/24
Week 14
Cache Coherence, Open MP Sharing Issues, Performance
Readings: The Datacenter as a Computer:Ch 1, Ch 2.4, Ch 3, 5.1-5.3 , P&H:6.7
Lec 24
Warehouse Scale Computing, MapReduce (Spark)
Readings: The Datacenter as a Computer:Ch 1, Ch 2.4, Ch 3, 5.1-5.3 , P&H:6.7

浙公网安备 33010602011771号