RISC-V Instruction Set Simulator (ISS) Studio
RV32I 5-stage instruction pipeline, register file inspector & live memory dump
RISC-V Instruction Set Simulator (ISS) Studio
Cycle-accurate microarchitecture execution workbench modeled after Spike, QEMU, gem5, and CPU Sim. Inspect 32 general-purpose registers, 5-stage pipeline hazards, RAM load/stores, and disassembly.
An Instruction Set Simulator models a Von Neumann CPU with sequential instruction fetch, register file modification, and conditional branch evaluations. Fibonacci iteratively updates F_{n} = F_{n-1} + F_{n-2} using ADDI, ADD, and BNE loop control.
F_n = F_{n-1} + F_{n-2} \quad \text{with } F_0=0, F_1=1Classic 5-Stage RISC Microarchitecture Pipeline
Instruction Fetch
Fetch PC instruction from code memory bus
IDLE
Instruction Decode
Decode opcode, read source registers (rs1, rs2)
IDLE
Execute (ALU)
32-bit Integer ALU & branch condition evaluation
IDLE
Memory Access
Load Word (LW) / Store Word (SW) data transfer
IDLE
Writeback
Commit result to architectural register (rd)
IDLE
RV32I Architectural Register File (32 × 32-Bit)
General Purpose Integer Registers with Standard RISC-V ABI Mappings
Data RAM Segment & Hex Memory Inspector (32-Bit Words)
| Memory Address | Hex Value | Decimal Value | ASCII Representation | Status |
|---|---|---|---|---|
| 0x00001000 | 0x00000000 | 0 | .... | Zero |
| 0x00001004 | 0x00000000 | 0 | .... | Zero |
| 0x00001008 | 0x00000000 | 0 | .... | Zero |
| 0x0000100C | 0x00000000 | 0 | .... | Zero |
| 0x00001010 | 0x00000000 | 0 | .... | Zero |
| 0x00001014 | 0x00000000 | 0 | .... | Zero |
| 0x00001018 | 0x00000000 | 0 | .... | Zero |
| 0x0000101C | 0x00000000 | 0 | .... | Zero |
| 0x00001020 | 0x00000000 | 0 | .... | Zero |
| 0x00001024 | 0x00000000 | 0 | .... | Zero |
| 0x00001028 | 0x00000000 | 0 | .... | Zero |
| 0x0000102C | 0x00000000 | 0 | .... | Zero |
| 0x00001030 | 0x00000000 | 0 | .... | Zero |
| 0x00001034 | 0x00000000 | 0 | .... | Zero |
| 0x00001038 | 0x00000000 | 0 | .... | Zero |
| 0x0000103C | 0x00000000 | 0 | .... | Zero |
| Exec | Address | Machine Code | Instruction | Comment / Micro-op |
|---|---|---|---|---|
| 0x0000 | 0x00000293 | ADDI addi t0, zero, 0x1000 | # t0 = Base RAM Address 0x1000 | |
| 0x0004 | 0x00000513 | ADDI addi a0, zero, 0 | # a0 = F(0) = 0 | |
| 0x0008 | 0x00100593 | ADDI addi a1, zero, 1 | # a1 = F(1) = 1 | |
| 0x000C | 0x00700313 | ADDI addi t1, zero, 7 | # t1 = Loop Counter = 7 iterations | |
| 0x0010 | 0x00A28023 | SW sw a0, 0(t0) | # Store F(0) at 0x1000 | |
| 0x0014 | 0x00B503B3 | ADD add t2, a0, a1 | # t2 = F(n) = F(n-2) + F(n-1) | |
| 0x0018 | 0x00428293 | ADDI addi t0, t0, 4 | # Increment memory pointer by 4 bytes | |
| 0x001C | 0x00728023 | SW sw t2, 0(t0) | # Store F(n) in RAM | |
| 0x0020 | 0x00B00533 | ADD add a0, zero, a1 | # a0 = a1 | |
| 0x0024 | 0x007005B3 | ADD add a1, zero, t2 | # a1 = t2 | |
| 0x0028 | 0xFFF30313 | ADDI addi t1, t1, -1 | # Decrement counter | |
| 0x002C | 0x01430063 | BNE bne t1, zero, loop | # If counter != 0, continue loop | |
| 0x0030 | 0x00000073 | ECALL ecall | # Terminate program execution |