|
DSP16410CG Datasheet, PDF (85/314 Pages) Agere Systems – DSP16410CG Digital Signal Processor | |||
|
◁ |
Data Sheet
May 2003
DSP16410CG Digital Signal Processor
4 Hardware Architecture (continued)
4.13 Direct Memory Access Unit
(DMAU) (continued)
4.13.3 Data Structures (continued)
4.13.3.2 Two-Dimensional Data Structure (SWT
Channels) (continued)
LIMâ©0â3âª: The user software must initialize the cor-
responding limit register with the dimensions of the
array. The number of rows (or elements) is r. For a sin-
gle-buffered array, the LASTROW[12:0] field is pro-
grammed to r â 1. For a double-buffered array
(Figure 21 on page 84), the LASTROW[12:0] field is
programmed to (2 Ã r ) â 1. The number of columns (n)
is the same as the number of buffers. Therefore, the
LASTCOL[6:0] field is programmed to n â 1.
DCNTâ©0â3⪠and SCNTâ©0â3âª: The corresponding
destination and source count registers contain the row
and column counters for two-dimensional array access.
The user software must initially clear these registers.
The DMAU automatically clears these registers upon
the completion of an SWT transfer and increments the
row and column counter fields of these registers as the
transfer proceeds.
STRâ©0â3âª: The user software must initialize the cor-
responding stride register with the number of memory
locations between common rows (elements) of different
columns (buffers). Typical data structures have buffers
that are contiguous in memory. In this case, the stride
is the same as the buffer length (number of rows per
column). If the current column is not the last column,
the DMAU increments the contents of DADDâ©0â3âª
and SADDâ©0â3⪠by the stride value after each trans-
action, i.e., increments the address registers in row-
major order. This causes DADDâ©0â3⪠and
SADDâ©0â3⪠to address the common row in the next
column.
RIâ©0â3âª: The user software must initialize the corre-
sponding reindex register to the sign-magnitude pointer
postmodification value to be applied to SADDâ©0â3âª
and DADDâ©0â3⪠after the DMAU has accessed the
last column. For a single-buffered array of r rows and
n columns (n > 1), the magnitude of the reindex value
is (r à (n â 1)) â 1. For a double-buffered array of
r rows and n columns (n > 1), the magnitude is
(2r à (n â 1)) â 1. Because the reindex value is always
negative for a two-dimensional array, the user software
must set the sign bit of RIâ©0â3âª.
DMCON0: The user software must set the corre-
sponding SRUN[3:0] and DRUN[3:0] fields in DMCON0
to enable source and destination transfers.
Agere Systems Inc.
Agere SystemsâProprietary
85
Use pursuant to Company instructions
|
▷ |