CoreArch, a processor pipeline simulator
A free simulator that shows, one clock cycle at a time, where a processor has to wait.
- Pipeline
- Five stages: fetch, decode, execute, memory, write back
- Instructions
- add, sub, and, or, slt, lw, sw, beq, bne
- Model
- The textbook model. Forwarding is off unless you switch it on. Branches are decided in the execute stage.
- Cost
- Free. No account, and nothing is stored.
A computer processor works like an assembly line. Each instruction moves through five stations: fetch, decode, execute, memory, and write back. Students learn this in computer architecture classes, and the hard part is seeing where the line has to stop and wait.
CoreArch shows it. Type a short program in MIPS, the assembly language many of those classes use, and step through it one clock cycle, one tick of the processor's clock, at a time. A stall marks where an instruction waits for a result it needs. A branch wait marks where the next instruction is held back until a branch, an instruction that decides which line runs next, is settled.
My original follows the textbook model that students meet first, with no forwarding, so every wait is visible. Forwarding passes a result straight to the next instruction that needs it, instead of waiting for the result to be saved first. On this page I added a switch that turns forwarding on, so you can compare the two. It handles nine instructions, and nothing you type is stored.
I built it in April 2026 as the first tool on synthiq.app. In June 2026 I also made it something AI assistants could run for a student, through a small public server. It now runs on this page, in your browser.
