~/talk

Tutorial: Spike Usage and Adding A New RISC-V Extension Support to Spike

name:Eop Chen
links:none on file
slides:none on file

Concise how-to for adding RISC-V extensions to Spike that traces real files and build steps: sim.h/processor.h hold the vector unit, Spike models 32 vector registers and maps the spec’s seven unprivileged CSRs into six stored fields, vtype and vsetvli control element width and LMUL, and microarch is configured via the varch string which generates config.h. Instruction support follows declare_ins macros, sed-driven instruction template.cc and separate computation headers; disassembler registration and a small interactive debug helper let dumps of vector registers verify the change.

AI-written summary · about

  1. 0:00Introduction to Spike
  2. 2:17Getting started with Spike
  3. 4:58Spike architecture overview
  4. 6:18Vector extension overview
  5. 10:31Configuring the vector unit
  6. 13:50Adding instructions
  7. 18:51Instruction disassembling
  8. 22:04Interactive debugging tips
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.