PLab0 — Setup & First Run
Install/verify the assembler and toolchain, run a first program, and confirm your workflow before starting the main programming labs.
Open PLab0This material presents a progressive set of laboratory sessions covering RISC-V assembly programming, debugging, macro-based abstraction, and hardware modeling using Verilog HDL. Each lab focuses on hands-on examples where execution time is measured and speedups are analyzed across scalar, vector, and multicore execution modes.
Install/verify the assembler and toolchain, run a first program, and confirm your workflow before starting the main programming labs.
Open PLab0Core instruction formats, arithmetic, control flow, functions, recursion, floating-point, and vector extensions.
Open PLab1Using as, ld, and GDB: step-by-step debugging, I/O, and multi-function programs.
Open PLab2Macro-based abstraction for arithmetic, multiplication, and power functions.
Open PLab3Verilog HDL fundamentals, testbenches, ALU and RAM modules.
Open MLab1Writing a minimal RV32I processor and associated testbenches.
Open MLab2Full processor design: ALU, decoder, branch unit, memory, and top-level integration.
Open MLab3Extending the processor with the M extension for multiplication and division.
Open MLab4