Professional Documents
Culture Documents
Device,
the Instruction Set and the Addressing
Modes
SYSC5603 (ELG6163) Digital Signal Processing
Microprocessors, Software and Applications
Miodrag Bolic
Outline
FIR filter on ADPS-21x
DSP Requirements
Fast Multiply-Accumulates (Data-path)
Extended Precision Accumulator Register (Data-path)
Dual Operand Fetch (Memory)
Circular Buffering (Addressing)
Zero-Overhead Looping (Instruction set)
Analog Devices Architectures and Programming
SHARC
Blackfin
Performance Optimization
2
ADSP -21x
Read
Write
Read
x(0)
x(4)
x(4)
x(1)
x(1)
x(2)
x(2)
x(2)
x(3)
x(3)
x(3)
y(3) =
y(4) =
Write
Read
x(4)
x(5)
x(5)
Single
Cycle
Instruction
CNTR = N-1;
DO convolution UNTIL CE;
convolution:
MR = MR + MX0 * MY0(SS), MX0 = DM(I0,M1), MY0 = PM(I4,M5);
Outline
DSP Requirements
Fast Multiply-Accumulates (Data-path)
Extended Precision Accumulator Register (Data-path)
Dual Operand Fetch (Memory)
Circular Buffering (Addressing)
Zero-Overhead Looping (Instruction set)
Analog Devices Architectures and Programming
SHARC
Blackfin
Performance Optimization
Motorola DSP5600X
10
11
12
ADSP -21x
MAC
www.analog.com/dsp
13
14
15
Outline
FIR filter on ADPS-21x
DSP Requirements
Fast Multiply-Accumulates (Data-path)
Extended Precision Accumulator Register (Data-path)
Dual Operand Fetch (Memory)
Circular Buffering (Addressing)
Zero-Overhead Looping (Instruction set)
Analog Devices Architectures and Programming
SHARC
Blackfin
Performance Optimization
16
17
18
19
Outline
FIR filter on ADPS-21x
DSP Requirements
Fast Multiply-Accumulates (Data-path)
Extended Precision Accumulator Register (Data-path)
Dual Operand Fetch (Memory)
Circular Buffering (Addressing)
Zero-Overhead Looping (Instruction set)
Analog Devices Architectures and Programming
SHARC
Blackfin
Performance Optimization
20
21
22
Hardware loops
Software loop:
LOOP:
MOVE #16,B
MAC (R0)+,(R4)+,A
DEC B
JNE
LOOP
[Lapsley97]
23
24
Performance
Upto 160MMACS
Wired Voice
Wireless Voice
VOIP/VON
Industrial Control
Blackfin
SHARC
Media Enabled
Low-Cost
$5 - $30
Floating Point
ADSP-218x/9x
$10 - $100
Power Efficient Upto 3000MMACS
Image compression
$5 - $10
www.analog.com/dsp
25
Outline
FIR filter on ADPS-21x
DSP Requirements
Fast Multiply-Accumulates (Data-path)
Extended Precision Accumulator Register (Data-path)
Dual Operand Fetch (Memory)
Circular Buffering (Addressing)
Zero-Overhead Looping (Instruction set)
Analog Devices Architectures and Programming
SHARC
Blackfin
Performance Optimization
26
SHARC Architecture
27
www.analog.com/dsp
28
DAG 1
8 x 4 x 32
DAG 2
8 x 4 x 24
PROGRAM
SEQUENCER
PMA BUS
TIMER
24
PMA
DMA BUS
32
DMA
PMD BUS
48
DMD BUS
40
PMD
BUS CONNECT
www.analog.com/dsp
DMD
REGISTER
FILE
16 x 40
32-BIT
BARREL
SHIFTER
FLOATING-POINT
& FIXED-POINT
ALU
29
C code
30
31
32
C or Assembly
33
Outline
FIR filter on ADPS-21x
DSP Requirements
Fast Multiply-Accumulates (Data-path)
Extended Precision Accumulator Register (Data-path)
Dual Operand Fetch (Memory)
Circular Buffering (Addressing)
Zero-Overhead Looping (Instruction set)
Analog Devices Architectures and Programming
SHARC
Blackfin
Performance Optimization
34
L3
L2
L1
L0
I3
I2
I1
I0
B3
B2
B1
B0
M3
M2
M1
M0
DAG0
DAG1
Sequencer
R7
R6
R5
R4
R3
R2
R1
R0
8
Barrel
Shifter
16
40
Acc0
16
40
Acc1
www.analog.com/dsp
35
Dynamic
Power
Management
PLL
To 350 MHz
BLACKfin
Processor Core
USB 1.1
SPORTs 2
SPI
Watchdog
JTAG
UART 2
Real Time
Clock
Timers 3 (32bit)
Interfaces
Memory
308
Kbytes
On-Chip
SRAM
48
Kbytes
On-Chip
Cache
264Kbytes
On-Chip
SRAM
GPIO 16
PCI
FLASH/SRAM
SDRAM
www.analog.com/dsp
User Peripherals
System Peripherals
DMA
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50