- What can I simulate in RISC-V Datapath?
- Simulate RV32I and RV32M instructions plus common pseudoinstructions in two synchronized views: an interactive single-cycle datapath diagram with stage-by-stage signal inspection and a five-stage pipeline timing table with stalls, forwarding, and branch prediction.
- How do I write or load a RISC-V program?
- Enter one RV32 instruction per line using x0-x31 or ABI register names such as a0, t0, and ra, or pick from the built-in teaching examples covering ALU operations, loads, branches, loops, shifts, and hazards. Use imm(rs1) for memory operands and numeric byte offsets for branches and jumps.
- What can I inspect at each stage or cycle?
- Step through Fetch, Decode, Execute, Memory, and Writeback to trace active data, control, and branch wires, inspect instruction fields, control signals, ALU values, registers, and data memory, and observe RAW hazards, forwarding paths, load-use stalls, and branch flushes in pipelined mode.
- How can I verify the simulator behavior?
- Open the Signals or Settings drawer and run the built-in self-test suite, which checks assembly encoding, ALU edge cases, single-cycle execution, and five-stage pipeline hazard handling directly in your browser.