Resources

Common Errors

We have compiled a list of common errors you might run into for this course.

Exams

See the exam resources page.

Textbooks

  • Computer Organization and Design RISC-V Edition, 1st or 2nd 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 (PDF)

Reference Cards

  • CS 61C Reference Card: PDF
    • v2.0.0: Fixed note about sltiu's immediate sign extension
    • v3.0.0: Update datapath to match lecture
      • Single-cycle: Moved immediate generator to be physically under the regfile, though no behavioral changes.
      • Pipelined: Moved immediate generator from EX to ID
      • Pipelined: Moved WBMux from MEM to WB, and modified the relevant pipeline registers
    • v4.0.0: Fix pipelined control logic errors
      • Move ImmSel to ID's control logic
      • Move PCSel to MEM's control logic
    • v4.0.1: Move ECC page to end
    • v5.0.0: Remove ECC page, combine datapath pages to one page, change instruction descriptions to be more similar to textbook standards
    • v5.0.1: Fix two typos, rename elements on the datapath
  • GDB Reference Card: PDF
  • Venus Reference: HTML

Review Notes by Topic

Number Representation

C

RISC-V

SDS, Boolean Algebra, FSMs