Instruction and inputs
0x...), and binary (0b...).Values accept decimal or hexadecimal 32-bit words. For loads, memory word is the value returned by memory; for stores, it is shown as the supplied read value.
add evaluated through the CS Tools single-cycle datapath model.
Path overview
The highlighted route is paired with exact values and controls below. Reduced-motion settings do not hide information.
Critical Path & Timing Analysis
Single-cycle execution clock period is governed by the longest combinational path between sequential registers.
Delay Profile Configuration
Adjust component delays in picoseconds (1 – 100,000 ps) to observe how technology parameters affect the critical path.
Critical Path Component Sequence
| Stage / Node | Unit Delay | Cumulative Arrival | Predecessor | Timing Status |
|---|---|---|---|---|
| Program Counterpc | 0 ps | 0 ps | — | Critical |
| Instruction Memoryimem | 250 ps | 250 ps | pc | Critical |
| Register Filereg_file | 150 ps | 400 ps | imem | Critical |
| ALUSrc Multiplexeralu_src_mux | 25 ps | 425 ps | reg_file | Critical |
| Arithmetic Logic Unitalu | 200 ps | 625 ps | alu_src_mux | Critical |
| MemtoReg Multiplexermem_to_reg_mux | 25 ps | 650 ps | alu | Critical |
| Endpoint: Register file synchronous write setup | 20 ps | 670 ps | mem_to_reg_mux | Endpoint |
Datapath Graph Elements
Functional units, multiplexers, and interconnecting directed buses. Select or hover any component or route to synchronize highlights with the architecture diagram.
Control vector
| RegDst | ALUSrc | MemtoReg | RegWrite | MemRead | MemWrite | Branch | Jump | Link | ALUOp |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 10 |
0 means inactive, 1 means asserted, X means don’t-care for this instruction, and ? means the classic datapath model does not define the signal.
Signal and value table
| Signal | Value | Explanation |
|---|---|---|
| PC | 0x00400000 (4194304) | Address of the instruction being evaluated. |
| Instruction word | 0x012A4020 | Fetched 32-bit machine word. |
| Read register 1 | 0x00000009 (9) | Register number selected by the rs field. |
| Read data 1 | 0x00000007 (7) | Value supplied by the first register-file read port. |
| Read register 2 | 0x0000000A (10) | Register number selected by the rt field. |
| Read data 2 | 0x00000005 (5) | Value supplied by the second register-file read port. |
| Immediate extension | 0x00004020 (16416) | The 16-bit immediate is sign-extended. |
| ALU input A | 0x00000007 (7) | The first ALU operand comes from read data 1. |
| ALU input B | 0x00000005 (5) | The ALUSrc mux selects read data 2. |
| ALU result | 0x0000000C (12) | Result produced by the selected ALU operation. |
| Register write target | 0x00000008 (8) | Destination selected by the RegDst mux. |
| Register write data | 0x0000000C (12) | MemToReg selects the ALU result. |
| Next PC | 0x00400004 (4194308) | No branch or jump is active. |