User Manual
C166S V2
Instruction Pipeline
User Manual
4-106
V 1.7, 2001-01
I
n-1
........
I
n
ADD
R0,R1
I
n+1
MOV
R3,[R0]
I
n+2
ADD
R6,R0
I
n+3
ADD
R6,R1
I
n+4
........
To avoid stalls, one multicycle or two single cycle instructions may be inserted. These
instructions must not update the GPR used for indirect addressing.
I
n-1
........
I
n
ADD
R0,R1
I
n+1
ADD
R6,R0
I
n+2
ADD
R6,R1
I
n+3
MOV
R3,[R0]
I
n+4
........
4.1.2
Indirect Addressing Modes
In the case of read accesses using indirect addressing modes, the Address Generation
Unit uses a speculative addressing mechanism. The read data path to one of the
different memory areas (DPRAM, Internal SRAM, etc.) is selected according to a history
table before the address is decoded. This history table has one entry for each of the
T
n
T
n+1
T
n+2
T
n+3
T
n+4
T
n+5
DECODE
I
n
=
ADD R0,R1
I
n+1
=
MOV R3,[R0]
I
n+2
I
n+2
I
n+2
I
n+3
ADDRESS
I
n-1
I
n
=
ADD R0,R1
I
n+1
=
MOV R3,[R0]
I
n+1
=
MOV R3,[R0]
I
n+1
=
MOV R3,[R0]
I
n+2
MEMORY
I
n-2
I
n-1
I
n
=
ADD R0,R1
I
n+1
=
MOV R3,[R0]
EXECUTE
I
n-3
I
n-2
I
n-1
I
n
=
ADD R0,R1
WRITE BACK
I
n-4
I
n-3
I
n-2
I
n-1
I
n
=
ADD R0,R1
T
n
T
n+1
T
n+2
T
n+3
T
n+4
T
n+5
DECODE
I
n
=
ADD R0,R1
I
n+1
=
ADD R6,R0
I
n+2
=
ADD R6,R1
I
n+3
=
MOV R3,[R0]
I
n+4
I
n+5
ADDRESS
I
n-1
I
n
=
ADD R0,R1
I
n+1
=
ADD R6,R0
I
n+2
=
ADD R6,R1
I
n+3
=
MOV R3,[R0]
I
n+4
MEMORY
I
n-2
I
n-1
I
n
=
ADD R0,R1
I
n+1
=
ADD R6,R0
I
n+2
=
ADD R6,R1
I
n+3
=
MOV R3,[R0]
EXECUTE
I
n-3
I
n-2
I
n-1
I
n
=
ADD R0,R1
I
n+1
=
ADD R6,R0
I
n+2
=
ADD R6,R1
WRITE BACK
I
n-4
I
n-3
I
n-2
I
n-1
I
n
=
ADD R0,R1
I
n+1
=
ADD R6,R0
Summary of Contents for C166S V2
Page 102: ...User Manual C166S V2 C166S V2 Memory Organization User Manual 3 102 V 1 7 2001 01...
Page 116: ...User Manual C166S V2 Instruction Pipeline User Manual 4 116 V 1 7 2001 01...
Page 152: ...User Manual C166S V2 Interrupt and Exception Handling User Manual 5 152 V 1 7 2001 01...
Page 204: ...User Manual C166S V2 Instruction Set User Manual 7 204 V 1 7 2001 01...
Page 420: ...User Manual C166S V2 Detailed Instruction Description User Manual 8 420 V 1 7 2001 01...
Page 432: ...User Manual C166S V2 Summary of CPU Subsystem Registers User Manual 9 432 V 1 7 2001 01...
Page 437: ...437...