Home /Modules/cpu/TIMING.md

TIMING.md

lib/cpu/riscv/TIMING.md · 48 line(s) · markdown

RISC-V Timing

RISC-V specifies architectural behavior while leaving most pipeline timing to the implementation.

SLeeLa records:

Instruction alignment

The base RV32I ISA uses 32-bit instructions and IALIGN=32. An instruction extension supporting 16-bit instructions can relax alignment to IALIGN=16. citeturn0search0

Microarchitectural profiles

Single-cycle, multicycle, in-order pipeline, superscalar, speculative, and out-of-order implementations can be represented without changing the ISA model.

Expert timing, voltages, and variable clocks (shared across all CPU models)

The per-CPU timing above is the architectural/behavioral view for this part. The adjustable, quality-first timing system is shared by every CPU model in lib/cpu and is documented once, in the package guide:

Every CPU model (this one included) inherits the clock/overclock surface from SLCPURuntime and can be assembled with those shared expert-timing, voltage, and component options; they are a build-layer concern, not re-declared per CPU.