Unit 2 Architectures For Programmable Digital Signal-Processors
Unit 2 Architectures For Programmable Digital Signal-Processors
Speed
On-chip memories should match the speeds of the ALU operations
in order to maintain the single cycle instruction execution of the
DSP.
Size
In a given area of the DSP chip, it is desirable to implement as
many DSP functions as possible. Thus the area occupied by the
on-chip memory should be minimum so that there will be a scope
for implementing more number of DSP functions on- chip.
2.5.2 Organization of On-chip Memories
a. As many DSP algorithms require instructions to be
executed repeatedly, the instruction can be stored in the
external memory, once it is fetched can reside in the
instruction cache.
b. The access times for memories on-chip should be
sufficiently small so that it can be accessed more than once in
every execution cycle.
c. On-chip memories can be configured dynamically so that
they can serve different purpose at different times.
2.6 Data Addressing Capabilities
Data accessing capability of a programmable DSP device is
configured by means of its addressing modes. The summary
of the addressing modes used in DSP is as shown in the table
below.
Table 2.1 DSP Addressing Modes
Addressing
Operand Sample Operation
Mode Format
001 1 100 4
010 2 010 2
011 3 110 6
100 4 001 1
101 5 101 5
110 6 011 3
111 7 111 7
2.8 Address Generation Unit
The main job of the Address Generation Unit is to generate the
address of the operands required to carry out the operation. They
have to work fast in order to satisfy the timing constraints.
As the address generation unit has to perform some mathematical
operations in order to calculate the operand address, it is provided
with a separate ALU.
Address generation typically involves one of the following
operations.
a. Getting value from immediate operand, register or a memory
location
b. Incrementing/ decrementing the current address
c. Adding/subtracting the offset from the current address
d. Adding/subtracting the offset from the current address and
generating new address according to circular addressing mode
e. Generating new address using bit reversed addressing mode
The block diagram of a typical address generation unit is as shown in fig2.13
2.9 Programmability and Program Control
A programmable DSP device should provide the programming capability
involving branching, looping and subroutines.
The implementation of repeat capability should be hardware based so that it
can be programmed with minimal or zero overhead. A dedicated register can
be used as a counter.
In a normal subroutine call, return address has to be stored in a stack
thus requiring memory access for storing and retrieving the return address,
which in turn reduces the speed of operation. Hence a LIFO memory can be
directly interfaced with the program counter.