rv32iEXECUTION LABHow to read this ↗

INTERACTIVE DATAPATH

Running the program and preparing its execution trace…
01

Assembly

matrix.s
ADDRESSSOURCE
02

Datapath

ActiveWritebackIdle
FETCHCycle —
Values before this cycle commits
RISC-V multicycle datapathBlue paths show data selected for this RISC-V cycle. Cyan outlines show storage written at commit.

Fetch the next instruction

The program counter supplies the instruction address.

REGISTER FILEBefore → after commit
TRACE THE EXECUTION

Follow the blue path.

Each step is one processor cycle. The highlighted instruction stays in view while fetch, decode, execute, memory, and writeback move its values through the machine.

Use to step, Space to play, and Shift + to advance an instruction. Cyan marks state written at the end of a cycle.

PROGRAM RESULTRecorded run