
Data Sheet
June 2001
DSP16410B Digital Signal Processor
96
Agere Systems—Proprietary
Use pursuant to Company instructions
Agere Systems Inc.
4 Hardware Architecture
(continued)
4.13 Direct Memory Access Unit (DMAU)
(continued)
4.13.9 Programming Examples
(continued)
4.13.9.2 SWT Example 2: A One-Dimensional Array
This example describes the input of four blocks of speech data from SIU1 with the following assumptions:
The data is single-buffered.
Data is processed by the SWT3 channel.
There are four blocks of data grouped in four contiguous buffers, corresponding to the number of columns (n) in
a one-dimensional array.
Each single buffer has 160 elements, or rows (r = 0xA0).
The DMAU fills four buffers in sequential order, i.e., it receives all 160 samples of one buffer and then all 160
samples of the next buffer, etc.
The DMAU places the data in ascending linear order in memory beginning at TPRAM1 address 0x01000.
CORE1 begins processing data after 160 samples have been input.
The autoload feature is used to minimize core intervention.
Figure 24
illustrates the data structure for this example.
A One-Dimensional Data Structure for Buffering n Input Channels
INPUT DESTINATION ARRAY
Figure 24. Example of One-Dimensional Data Structure
DESTINATION
BUFFER COMPLETE
0x01000
(DBAS3)
0x010A0
0x01140
0x011E0
A
ROW=0
ROW=1
ROW=159
ROW=0
ROW=1
C
C
C
C
DESTINATION
BUFFER COMPLETE
DESTINATION
BUFFER COMPLETE
DESTINATION
BUFFER COMPLETE
ROW=159
ROW=0
ROW=1
ROW=159
ROW=0
ROW=1
ROW=159