How cs231-dldca-lab/cs231-2026 works
This repository is a CS231 lab course workspace, not a single application: students work through weekly in-lab and out-lab exercises, primarily in Verilog, then assembly and performance measurement, with Champ-Sim named in the schedule. The useful workflow is a student completing a lab task and obtaining a result from its hardware simulation, assembly program, or timing experiment. The graph groups the substantial exercise areas and includes the interactive switch lab’s documented test-generation/autograding path. Source excerpts are sparse, so links among unsampled exercises are omitted rather than inferred.
Main entry points: interactive_tester.py Test generator and grader · matmul.c Matrix benchmark · chrono_demo.cpp Timer experiment · dotprod.cpp Dot product timing
Components 24
Verilog labs
- Setup exercises
00_inlab - Verilog in-labs
01_inlab - Verilog out-labs
01_outlab - FSM and CRC labs
03_inlab - Protocol labs
03_outlab - CRC verifier
03_outlab/task3/verify_task3.py
Assembly labs
- Assembly in-labs
04_inlab - Assembly out-labs
04_outlab - Calling conventions
05_inlab - Assembly exercises
05_outlab - Advanced assembly
06_inlab
Performance labs
- Performance exercises
07_inlab - Performance out-labs
- Matrix benchmark
07_inlab/task4/matmul.c - Timer experiment
07_inlab/task5/chrono_demo.cpp - Dot product timing
07_inlab/task7/dotprod.cpp - Corrected timing
07_inlab/task7/dotprod_solution.cpp
Champ-Sim labs
- Switch assignment
03_outlab/task5 - Test generator and grader
03_outlab/task5/interactive_tester.py - Command input
03_outlab/task5/input.txt - Verilog testbench
03_outlab/task5/tb_task5.v - Simulation log
03_outlab/task5_output.txt
Other components
- Student
- Timing runtime
Connections 27
- Student → Setup exercises: works through
README.md - Student → Verilog in-labs: works through
README.md - Student → Verilog out-labs: works through
README.md - Student → FSM and CRC labs: works through
README.md - Student → Protocol labs: works through
README.md - Student → Assembly in-labs: works through
README.md - Student → Assembly out-labs: works through
README.md - Student → Calling conventions: works through
README.md - Student → Assembly exercises: works through
README.md - Student → Advanced assembly: works through
README.md - Student → Performance exercises: works through
README.md - Student → Performance out-labs: works through
README.md - Student → Switch assignment: works through
README.md - Student → Test generator and grader: runs
03_outlab/task5/interactive_tester.py - Test generator and grader → Command input: reads
03_outlab/task5/interactive_tester.py - Test generator and grader → Verilog testbench: updates
03_outlab/task5/interactive_tester.py - Test generator and grader → Simulation log: checks
03_outlab/task5/interactive_tester.py - Test generator and grader → Switch assignment: tests
- Student → Matrix benchmark: runs
07_inlab/task4/matmul.c - Matrix benchmark → Timing runtime: measures with
07_inlab/task4/matmul.c - Student → Timer experiment: runs
07_inlab/task5/chrono_demo.cpp - Timer experiment → Timing runtime: measures with
07_inlab/task5/chrono_demo.cpp - Student → Dot product timing: runs
07_inlab/task7/dotprod.cpp - Dot product timing → Timing runtime: measures with
07_inlab/task7/dotprod.cpp - Student → Corrected timing: runs
07_inlab/task7/dotprod_solution.cpp - Corrected timing → Timing runtime: measures with
07_inlab/task7/dotprod_solution.cpp - Student → CRC verifier: runs
03_outlab/task3/verify_task3.py