Presentation is loading. Please wait.

Presentation is loading. Please wait.

RAT R1 R2 R3 R4 R5 R6 R7 Fetch Q RS MOB ROB Execute Retire.

Similar presentations


Presentation on theme: "RAT R1 R2 R3 R4 R5 R6 R7 Fetch Q RS MOB ROB Execute Retire."— Presentation transcript:

1 RAT R1 R2 R3 R4 R5 R6 R7 Fetch Q RS MOB ROB Execute Retire

2 Fetch Q ROB Execute Retire RAT RS Sub R1,R1,R1 Addi R10,R0,100 MOB R1

3 Instruction Q ROB Execute Retire RAT rb1 rb0 RS0 RS1 RS RB0<-R0+100
Lw R5, 100(R4) Addi R4,R0,20 rb1 R1 R2 R3 R4 R5 R6 Instruction Q R7 R8 R9 R10 RS MOB RB0<-R0+100 rb0 RB1<-R1-R1 ROB RS0 Addi R10,R0,100 Sub R1,R1,R1 RS1 Execute Retire

4 Instruction Q ROB Execute Retire RAT rb1 rb2 rb4 rb0 RS0 RS1 RS2 RS3
Addi R5,R3,2 Addi R3,R2,2 Instruction Q rb2 rb4 R7 R8 R9 R10 RS MOB RB4<-MEM(rb3) RB0<-R0+100 rb0 RB1<-R1-R1 ROB RB2<-R0+20 RS0 Addi R10,R0,100 RB3<-rb2+100 Sub R1,R1,R1 RS1 Addi R4,R0,20 RS2 RB0<-R0+100 X <- 100+R4 RS3 Execute Lw R5, [x] M0 RB1<-R1-R1 Retire

5 Instruction Q ROB Execute Retire RAT rb1 rb5 rb2 rb6 W rb0 W ok ok RS2
Add R7,R5,R0 Addi R6,R0,6 rb5 Instruction Q rb2 rb6 RS R7 R8 R9 R10 MOB RB4<-MEM(RB3) RB2<-R0+20 W rb0 RB3<-rb2+100 W ROB RB5<-R2+2 ok Addi R10,R0,100 RB6<-rb5+2 Sub R1,R1,R1 ok Addi R4,R0,20 RS2 RB2<-R0+20 X <- 100+R4 RS3 Execute Lw R5, [x] M0 Addi R3,R2,2 RS4 Addi R5,R3,2 RS5 Retire

6 Instruction Q ROB Execute Retire RAT rb5 rb2 rb6 rb7 rb8 W ok W RS3 M0
Addi R9,R0,9 Addi R8,R0,8 rb5 Instruction Q rb2 rb6 rb7 RS rb8 R7 R8 R9 R10 RB7<-R0+6 RB8<-rb6+R0 MOB RB4<-MEM(RB3) W ROB RB3<-rb2+100 Addi R10,R0,100 Sub R1,R1,R1 Addi R4,R0,20 X <- 100+R4 Lw R5, [x] Addi R3,R2,2 Addi R5,R3,2 RS3 M0 ok RS4 RS5 Add R7,R5,R0 Addi R6,R0,6 RS0 RS1 RB5<-R2+2 RB6<-rb5+2 W RB3<-rb2+100 RB5<-R2+2 Execute R10<-RB0 R1<-RB1 Retire

7 Instruction Q ROB Execute Retire RAT rb5 rb6 rb7 rb8 rb9 W rb0 (1) M0
Bne R1,R10,L1 Addi R1,R1,1 rb5 Instruction Q rb6 rb7 RS rb8 R7 R8 R9 R10 RB7<-R0+6 rb9 RB8<-rb6+R0 W MOB RB4<-MEM(RB3) rb0 RB9<-R0+8 (1) ROB RB0<-R0+9 ok M0 RS5 Add R7,R5,R0 Addi R6,R0,6 RS0 RS1 Addi R9,R0,9 RS3 RB6<-rb5+2 Addi R4,R0,20 X <- 100+R4 RB6<-rb5+2 Lw R5, [x] Execute Addi R3,R2,2 RB7<-R0+6 Addi R5,R3,2 R4<-RB2 Retire Addi R8,R0,8 RS2

8 Instruction Q ROB Execute Retire RAT rb1 rb5 rb6 rb7 rb8 rb9 rb0 (2)
Lw R5,100(R4) Addi R4,R0,20 rb5 Instruction Q rb6 rb7 RS rb8 R7 R8 R9 R10 rb9 RB8<-rb6+R0 MOB RB4<-MEM(RB3) rb0 RB9<-R0+8 (2) ROB RB0<-R0+9 W (SH) Addi R9,R0,9 ok M0 Add R7,R5,R0 Addi R6,R0,6 RS1 RS3 RB1<-R1+1 Only 2 ALU! Addi R1,R1,1 RS4 RB2<-rb1-R10 Bne R1,R10,L1 RS5 X <- 100+R4 RB8<-rb6+R0 Lw R5, [x] Execute RB9<-R0+8 Addi R3,R2,2 Addi R5,R3,2 Retire Addi R8,R0,8 RS2


Download ppt "RAT R1 R2 R3 R4 R5 R6 R7 Fetch Q RS MOB ROB Execute Retire."

Similar presentations


Ads by Google