Course Units
The units for Fall 2026, in the order they are taught. Each unit has a lecture, one or more demos you can run yourself, and problems on the AI Grader portal, where you can submit them for feedback. Most units also have a lab, built and graded on your own machine and submitted to Gradescope. Units 10 and 11 are still being revised.
- Course Introduction
- Lecture: [PDF] [pptx]
- Software and hardware set-up
- Unit 1: Data Types and Combinational Logic
- Lecture: [PDF] [pptx]
- Review of number systems, from a previous class
- Demo: Integers, overflow and bit packing in SystemVerilog
- Lab: Pseudo-random number generator
- Unit 2: Sequential Logic and Finite State Machines
- Lecture: [PDF] [pptx]
- Demo: Simple scalar functions in SystemVerilog
- Lab: Division by conditional subtraction
- Unit 3: Floating and Fixed-Point Arithmetic
- Unit 4: Bus Basics and Memory-Mapped Interfaces
- Lecture: [PDF] [pptx]
- Demo: A simple AXI4-Lite interface in Vitis HLS
- Lab: A root-solving accelerator in Vitis HLS
- Unit 5: FIFOs and Streaming Interfaces
- Lecture: [PDF] [pptx]
- Demo: A streaming filter with AXI4-Stream
- Demo: A command-response polynomial IP
- Mini-project: Command-response accelerator, built with an AI agent
- Unit 6: Timing and Critical Paths
- Lecture: [PDF] [pptx]
- Demo: Timing and the clock
- In-class exercise: Beat the schedule
- Unit 7: Pipelining
- Lecture: [PDF] [pptx]
- Demo: Pipelining a polynomial loop, part 1
- In-class exercise: One read per iteration
- Unit 8: Loop Unrolling and Memory
- Lecture: [PDF] [pptx]
- Demo: Unrolling the polynomial loop, and the memory bottleneck
- Demo: Unrolling a sum
- Demo: FIR: nested loops
- In-class exercise: Unrolling a dot product
- Lab: Stereo depth
- Unit 9: Kernels and Shared Memory
- Lecture: [PDF] [pptx]
- Shared memory and interconnects; reaching memory through a data mover, with commands and
completions; free-running kernels built from
hls::tasks; AXI4 under the hood; and memory-mapped queues, so a host can send a kernel its jobs - Demo: Crossbar or shared bus, area and throughput of AMD’s interconnect
- Demo: Histogram, a free-running kernel on Waveflow’s data movers: one job at a time, and the same kernel behind memory-mapped queues
- Unit 10: Task-Level Pipelining
- Lecture: [PDF] [pptx]
- Load, compute and store as overlapping tasks, in four steps: the sequential kernel and its idle resources; three tasks on streams, joined by ping-pong and ring buffers, with task-level latency and II; memory behind the tasks, through data movers, with the job carried with its data; and deadlock, found by looking for cycles and counting tokens
- Demo: Scatter, y[ind[i]] = x[i], in three designs: one phase at a time, three tasks on streams, and three tasks with memory behind them
- Demo (reference): Histogram, overlapped, the unit 9 histogram with consecutive jobs overlapping, one descriptor per job
- Unit 11: Arrays and Matrix Multiplication
- Lecture: [PDF] [pptx]
- The cost of a matrix product and its arithmetic intensity; broadcast, fanout and the delay line; systolic arrays, stepped cycle by cycle in both dataflows (weight-stationary, as in Google’s TPU, and output-stationary, as in Waveflow), and how one tile is fed and timed; tiling in two stages: tiles the size of the array, their reads, writes and compute, and how they pipeline (read, compute, drain and write, with shadow registers), then two-level tiles held on chip, which cut the reads; the TPU v1 case study and its roofline, and an H100’s Tensor Cores for contrast; Waveflow’s systolic engine against its compute, input and output bounds, and why a 16 × 16 array misses timing; load, compute and store over tiles
- Animations of the
3 × 3 example:
sys_ws.gifandsys_os.gif - Demo: Systolic, the engine in pysim against its three bounds
- Demo (reference): Scatter, unit 10’s load, compute and store tasks
- Design project