Apparatus and method for address modification in a direct memory access controller
AssigneeTexas Instruments Incorporated
InventorPatrick J. Smith
Life of this patent
Estimating the term…
Abstract
In a digital signal processing unit, addressing apparatus implements a multiplicity of addressing modes. The addressing modes include a circular buffer memory mode, a frame mode, and a sorting mode. To increase the speed of the address modification, the index, the index in the presence of a positive wrap-around, and the index in the presence of negative wrap-around are determined together. Other apparatus determines the addressing mode and provides control signals for the selection of the correct index. The correct index is combined with the base address to provide the next new address.
Claims17
A digital signal processing unit comprising:
- a core processing unit, the core processing unit processing signal groups;
- at least one memory unit, the memory unit storing signal groups processed and to be processed by the memory unit;
- at least one serial port, the serial port exchanging signal groups between the signal processing unit and apparatus external to the digital signal processing unit;
- and
- a direct memory access controller, the direct memory access controller controlling the transfer of signal groups between the core processing unit, the memory unit and the serial port, the direct memory access controller including an address unit, the address unit including:
- a first multiplexer unit responsive to control signals for selecting one of a plurality of offset signal in response to control signals;
- an index unit responsive to mode determination control signals and to address signals for determining a base address and a previous address index;
- an adder unit for combining the output signal from multiplex unit and the address index to provide a new address index;
- a first and a second adder unit responsive to the output signal of the adder unit and a buffer size for determining a positive wrap signal and a negative wrap signal;
- second multiplexer having the output signals from the adder unit, the first adder unit and the second adder unit applied to input terminals thereof, the second multiplexer selecting an address index;
- and
- a combining unit for combining the address index and the base address to form a new address signal group.
The method for providing a modified address in a digital signal processing unit, the method comprising:
- determining a base address;
- determining an addressing mode;
- determining a first modified index value;
- determining a second modified index value, the second modified index value being the first modified index value plus a positive wrap-around value;
- determining a third modified index value, the third modified index value being the first modified index value plus a negative wrap around value;
- selecting one of the first, second, and third modified index values to be the new modified index value;
- and
- combining the new modified index value and the base address to form a new modified address.
An address apparatus for address modification in a circular buffer mode, a frame mode and a sorting mode, the address apparatus comprising:
- index increment selection apparatus for selecting a index increment;
- an index unit for determining a base address value and an index value;
- a adder unit having a plurality of adders, the adder unit generating a modified index value, a positive wrap index value and a negative wrap index value;
- a modified index selection apparatus for selecting a one of the modified index value, the positive wrap index value, and the negative index value;
- and
- a combining unit for combining the selected modified index and the base address value to provide the modified address.
Dependencies are inferred from the claim text.