Hi there! While working on Chapter 4 of Computer Organization and Design - The Hardware-Software Interface by Patterson & Hennessy, I decided to create this interactive visualization of the single cycle datapath.
Instruction Formats
R-type instructions add $rd, $rs, $rt
010
rs
rt
rd
shamt
funct
31:26
25:21
20:16
15:11
10:6
5:0
Load/store instruction lw $rt, imm($rs)
3510 (lw)
4310 (sw)
4310 (sw)
rs
rt
imm
31:26
25:21
20:16
15:0
Branch instruction beq $rs, $rt, imm
410
rs
rt
imm
32:26
25:21
20:16
15:0
Jump instruction j address
210
address
31:26
25:0