ADSP-BF53x/BF56x Blackfin Processor Programming Reference
5-13
Address Arithmetic Unit
• The Length (L) register sets the size of the circular buffer and the
address range through which the DAG circulates the I-register.
L is positive and cannot have a value greater than 2
32
– 1. If an
L-register’s value is zero, its circular buffer operation is disabled.
• The Base (B) register or the B-register plus the L-register is the
value with which the DAG compares the modified I-register value
after each access.
To address a circular buffer, the DAG steps the Index pointer (I-register)
through the buffer values, post-modifying and updating the index on each
access with a positive or negative modify value from the M-register.
If the Index pointer falls outside the buffer range, the DAG subtracts the
length of the buffer (L-register) from the value or adds the length of the
buffer to the value, wrapping the Index pointer back to a point inside the
buffer.
The starting address that the DAG wraps around is called the buffer’s base
address (B-register). There are no restrictions on the value of the base
address for circular buffers that contains 8-bit data. Circular buffers that
contain 16- and 32-bit data must be 16-bit aligned and 32-bit aligned,
respectively. Exceptions can be made for video operations.
For more infor-
mation, see “Memory Address Alignment” on page 5-16.
Circular
buffering uses post-modify addressing.
Summary of Contents for ADSP-BF53x Blackfin
Page 38: ...Conventions xxxviii ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 134: ...System Reset and Powerup 3 18 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 324: ...Instruction Overview 7 20 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 486: ...Instruction Overview 13 28 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 512: ...Instruction Overview 14 26 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 604: ...Instruction Overview 15 92 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 688: ...Instruction Overview 18 48 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 742: ...Instruction Overview 19 54 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 752: ...Examples 20 10 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 790: ...ADSP BF535 Flags A 10 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 800: ...Performance Monitor Registers B 10 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 1042: ...Index I 40 ADSP BF53x BF56x Blackfin Processor Programming Reference...