Simulation Results

#pcoprdqd (hex)qd (dec)addr
100ori2000F15
201ori300044
302sub3FFFFFFFC-4
403slt400000
504sltu500011
605slti600011
706slti700000
807sltiu800000
908halt

Pipeline Results

#IFIDEXMEMWBok
10000
ori






20001
ori
0000
2 0 2





30002
sub
0001
3 0 3
0000
0xf




40003
slt
0002
3 0 3
0001
0x4
0000




qb forwarded: 0x4 (rb: 3)

qa transferred: 0xf (ra: 2)
50004
sltu
0003
4 2 3
0002
0xfffffffc
0001

0000
0xf
0000
0xf

qb forwarded: 0x4 (rb: 3)

qb forwarded: 0xfffffffc (rb: 3)

qb transferred: 0x4 (rb: 3)
60005
slti
0004
5 2 3
0003
0x0
0002

0001
0x4
0001
0x4

qb forwarded: 0xfffffffc (rb: 3)
70006
slti
0005
6 2 6
0004
0x1
0003

0002
0xfffffffc
0002
0xfffffffc
80007
sltiu
0006
7 2 7
0005
0x1
0004

0003
0x0
0003
0x0
90008
halt
0007
8 3 8
0006
0x0
0005

0004
0x1
0004
0x1
10
0008

0007
0x0
0006

0005
0x1
0005
0x1
11

0008

0007

0006
0x0
0006
0x0
12


0008

0007
0x0
0007
0x0

Registers

formatr0r1r2r3r4r5r6r7
hex00000000000000010000000FFFFFFFFC00000000000000010000000100000000
decimal0115-40110
formatr8r9r10r11r12r13r14r15
hex00000000000000090000000A0000000B0000000C0000000D0000000E0000000F
decimal09101112131415
formatr16r17r18r19r20r21r22r23
hex0000001000000011000000120000001300000014000000150000001600000017
decimal1617181920212223
formatr24r25r26r27r28r29r30r31
hex00000018000000190000001A0000001B0000001C0000001D0000001E0000001F
decimal2425262728293031

Memory

addr0123456789ABCDEF
000000000000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000
000000100000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000