Beruflich Dokumente
Kultur Dokumente
Presented to:
CS152, University of California at Berkeley
November 14, 1997
Jeff Bier
Berkeley Design Technology, Inc.
www.bdti.com
bier@bdti.com
(510) 665-1600
Page 1 of 35
11/17/97
© 1997 Berkeley Design Technology, Inc.
The Evolution of DSP Processors
Outline
• DSP applications
• Digital filtering as a motivating problem
• The first generation of DSPs, with an example
• Comparison of DSP processors to general-purpose processors
• DSP evolution continues... later-generation DSPs and alternatives
• Conclusions
Page 2 of 35
11/17/97
© 1997 Berkeley Design Technology, Inc.
The Evolution of DSP Processors
Who Cares?
• DSP is a key enabling technology for many types of electronic
products
• DSP-intensive tasks are the performance bottleneck in many
computer applications today
• Computational demands of DSP-intensive tasks are increasing
very rapidly
• In many embedded applications, general-purpose
microprocessors are not competitive with DSP-oriented
processors today
• 1997 market for DSP processors: $3 billion
Page 3 of 35
11/17/97
© 1997 Berkeley Design Technology, Inc.
The Evolution of DSP Processors
Page 4 of 35
11/17/97
© 1997 Berkeley Design Technology, Inc.
The Evolution of DSP Processors
Trends are towards better support for these (and similar) major
applications.
Page 5 of 35
11/17/97
© 1997 Berkeley Design Technology, Inc.
The Evolution of DSP Processors
Page 6 of 35
11/17/97
© 1997 Berkeley Design Technology, Inc.
The Evolution of DSP Processors
Page 7 of 35
11/17/97
© 1997 Berkeley Design Technology, Inc.
The Evolution of DSP Processors
+ ••• + +
y[n]
a “tap”
Page 8 of 35
11/17/97
© 1997 Berkeley Design Technology, Inc.
The Evolution of DSP Processors
mov *r0,x0
mov *r1,y0 Processor
mpy x0,y0,a
add a,b
mov y0,*r2
inc r0
inc r1
inc r2
dec ctr Memory
tst ctr
jnz loop
Page 9 of 35
11/17/97
© 1997 Berkeley Design Technology, Inc.
The Evolution of DSP Processors
Program
• 16-bit fixed-point Memory
• Specialized instruction
set Data or
Program Bus Register
• 390 ns MAC time
(228 ns today)
Mult.
(P register,
ALU shifters not
shown)
Acc.
Page 10 of 35
11/17/97
© 1997 Berkeley Design Technology, Inc.
The Evolution of DSP Processors
LTD X2
MPY H2
etc.
• Two instructions per tap, but requires unrolling
Page 11 of 35
11/17/97
© 1997 Berkeley Design Technology, Inc.
The Evolution of DSP Processors
Page 12 of 35
11/17/97
© 1997 Berkeley Design Technology, Inc.
The Evolution of DSP Processors
Data Path
Page 13 of 35
11/17/97
© 1997 Berkeley Design Technology, Inc.
The Evolution of DSP Processors
Instruction Set
Page 14 of 35
11/17/97
© 1997 Berkeley Design Technology, Inc.
The Evolution of DSP Processors
Memory Architecture
Program
Memory
Processor
Data Processor Memory
Memory
Page 15 of 35
11/17/97
© 1997 Berkeley Design Technology, Inc.
The Evolution of DSP Processors
Addressing
Page 16 of 35
11/17/97
© 1997 Berkeley Design Technology, Inc.
The Evolution of DSP Processors
Execution Control
• Hardware support for fast looping
• “Fast interrupts” for I/O handling
• Real-time debugging support
Page 17 of 35
11/17/97
© 1997 Berkeley Design Technology, Inc.
The Evolution of DSP Processors
Page 18 of 35
11/17/97
© 1997 Berkeley Design Technology, Inc.
The Evolution of DSP Processors
Page 19 of 35
11/17/97
© 1997 Berkeley Design Technology, Inc.
The Evolution of DSP Processors
16
14
12
GPP DSP
10
8
8
4 3
0
ARM7TDMI
TMS320C50
40 MIPS
40 MIPS
Page 20 of 35
11/17/97
© 1997 Berkeley Design Technology, Inc.
The Evolution of DSP Processors
Page 21 of 35
11/17/97
© 1997 Berkeley Design Technology, Inc.
The Evolution of DSP Processors
Page 22 of 35
11/17/97
© 1997 Berkeley Design Technology, Inc.
The Evolution of DSP Processors
VLIW
Very long instruction word (VLIW) 16Kx32 On-Chip Program Memory
architectures are garnering increased 256
Page 23 of 35
11/17/97
© 1997 Berkeley Design Technology, Inc.
The Evolution of DSP Processors
VLIW
Advantages:
• Increased performance
• More regular architectures
• Potentially easier to program; better compiler targets
• Scalable?
Disadvantages:
• New kinds of programming/compiler complexity
• Code size bloat
• High program memory bandwidth requirements
• High power consumption
Page 24 of 35
11/17/97
© 1997 Berkeley Design Technology, Inc.
The Evolution of DSP Processors
Page 25 of 35
11/17/97
© 1997 Berkeley Design Technology, Inc.
The Evolution of DSP Processors
Page 26 of 35
11/17/97
© 1997 Berkeley Design Technology, Inc.
The Evolution of DSP Processors
Disadvantages:
• Lack of execution timing predictability
• Difficulty of developing optimized DSP code
• Limited DSP-oriented tool support
• High power consumption
• Cost-performance does not approach that of fixed-point DSPs
Page 27 of 35
11/17/97
© 1997 Berkeley Design Technology, Inc.
The Evolution of DSP Processors
Real-Time Suitability
The most important DSP applications are real-time applications.
• Many of these are “hard real-time” applications: failure to meet a
real-time deadline creates a serious malfunction.
Page 28 of 35
11/17/97
© 1997 Berkeley Design Technology, Inc.
The Evolution of DSP Processors
@vec_add_loop:
Page 29 of 35
11/17/97
© 1997 Berkeley Design Technology, Inc.
The Evolution of DSP Processors
Latencies:
• Multiply: 2 cycles; load: 5 cycles; branch: 6 cycles
Page 30 of 35
11/17/97
© 1997 Berkeley Design Technology, Inc.
The Evolution of DSP Processors
Page 31 of 35
11/17/97
© 1997 Berkeley Design Technology, Inc.
The Evolution of DSP Processors
Superscalar execution
• Up to two instructions/cycle
• Can pair one simple MMX instruction with another simple or
complex MMX instruction or non-MMX integer instruction
• Complicated pairing rules
Branch prediction
Page 32 of 35
11/17/97
© 1997 Berkeley Design Technology, Inc.
The Evolution of DSP Processors
80
70
30
20
10
0.5 4 13 77 49
0
MMX Pentium
TMS320C54x
1200 MIPS
466 MIPS
13 MIPS
50 MIPS
5 MIPS
TMS320C10
DSP56001
TMS320C6201
Page 33 of 35
11/17/97
© 1997 Berkeley Design Technology, Inc.
The Evolution of DSP Processors
Conclusions
• DSP processor performance has increased by a factor of about 150x
over the past 15 years (~40%/year)
• Processor architectures for DSP will be increasingly specialized for
applications, especially communications applications
• General-purpose processors will become viable for many DSP
applications
• Users of processors for DSP will have an expanding array of choices
• Selecting processors requires a careful, application-specific analysis
Page 34 of 35
11/17/97
© 1997 Berkeley Design Technology, Inc.
The Evolution of DSP Processors
Page 35 of 35
11/17/97
© 1997 Berkeley Design Technology, Inc.