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.
Содержание ADSP-BF53x Blackfin
Страница 38: ...Conventions xxxviii ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 134: ...System Reset and Powerup 3 18 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 324: ...Instruction Overview 7 20 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 486: ...Instruction Overview 13 28 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 512: ...Instruction Overview 14 26 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 604: ...Instruction Overview 15 92 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 688: ...Instruction Overview 18 48 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 742: ...Instruction Overview 19 54 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 752: ...Examples 20 10 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 780: ...Product Identification Register 21 28 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 790: ...ADSP BF535 Flags A 10 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 800: ...Performance Monitor Registers B 10 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 994: ...Instructions Listed By Operation Code C 194 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 1042: ...Index I 40 ADSP BF53x BF56x Blackfin Processor Programming Reference...