0. InitLecture
Grzegorz Mazur, p. 310
"Every program is an exercise in caching"
Sources:
Computer organization and design, RISC-V; Patterson, Hennessy
Reference manuals
Assemblers, linker and the SPIM Simulator
Software:
RARS simulator for RISC-V
NASM assembler
GNU x86 C compiler
DO NOT READ
W. Stallings - Computer Architecture
Wikipedia
x86 instruction set summaries from Internet
ChatGPT :D
Lecture slides are available online on LeON
The slides are not supposed to replace the lecture notes taken by the students
The pass rate dropped by 30% after publishing the slides online
Sample questions available for test/exams
Demo programs:
https://github.com/gbm-ii
Organization
Lecture organization
2x2h/week in the first half of the semester (Mon 16:00, Wednesday 10:00)
last Monday lecture - 25.11
2h/week in the second half
Classes - when announced, Wednesday at 9:00 (1 hour)
Lab exercises and projects
Lab groups - odd/even weeks
Introductory exercise
2 small projects, each to be completed during a singgle lab session (2x 3pts)
2.5 big projects done at home and shown during lab sessions
1 RISC-V assembly, 1.5 x86 hybrid [two versions of one project] (6 + 6 + 2 pts)
Lab requirements
No req for introductory lab
RISC-V:
Knowledge of RISC-V assembly and RARS simulator
x86:
C language basis, x86 assembly, nasm
Calling convantion - x86 System V ABI, sections 2.1-2.3 of intel386-psABI-1-1.pdf document
Scoring
2 tests - 40pts total
Labs - 6pts
Project - 6 + 6 + 2 pts
Exam - 40pts
Tests
in the lab room, online only, during lab sessions
Rules:
correction test - only one test with lower result may be corected
test resul is calculated based on the original score and makeup score -> max ( ((s1+s2) / 2) , (max(s1,s2) * 0.8) )
2nd approach:
Complete lab score of at least 14 points may be transferred
Complete test and/or exam score of at least 70% may be transferred
THERE ARE NOT LECTURES FROM 24.04 TO 14.05