beautypg.com

2 agu programming model, Agu programming model -34 – Freescale Semiconductor StarCore SC140 User Manual

Page 66

background image

2-34

SC140 DSP Core Reference Manual

Address Generation Unit

2.3.2 AGU Programming Model

The programming model of the AGU is shown in Figure 2-13.

The address registers can be programmed for linear addressing, modulo addressing (regular or multiple
wrap-around), and reverse-carry addressing.

Automatic updating of address registers is available when

using address register indirect addressing.

Figure 2-13. AGU Programming Model

ADDRESS REGISTERS

OFFSET, MODIFIER, and MCTL REGISTERS

0

31

N0

N1

0

31

N2

N3

R0

R2

R3

R1

R4

R5

R6

R7

SP (NSP, ESP)

0

31

M0

M1

M2

MCTL

M3

ADDRESS REGISTERS / BASE ADDRESS REGISTERS

0

31

R8 / B0

R10 / B2

R11 / B3

R9 / B1

R12 / B4

R13 / B5

R14 / B6

R15 / B7