Escolar Documentos
Profissional Documentos
Cultura Documentos
Architecture
7/7/2013
OVERVIEW OF DSP
PROCESSORS
BY
Dr. M.Pallikonda Rajasekaran,
Professor/ECE
7/7/2013
7/7/2013
7/7/2013
1960
DSP hardware using discrete components
1970
Monolithic components for DSP subsystems
1979
Intel 2920 DSP
(40 pin DIP)(EPROM,A/D,D/A,RAM)(1200bps modem)
1982
7/7/2013
Inside a DSP?
Computer
Engine
Program
Memory
Data
Memory
Input / Output
Serial ports
Timers
Host ports
I/O
External ports connects
Link ports
to
outside
world
7/7/2013
7/7/2013
Why DSP?
- Flexible to change Signal Processing
Operations through a change in Software,
whereas hardwired machines are difficult to
Reconfigure.
- High Speed Parallel Processing enables it
to Real World Processing.
- Multi-Function Instruction like MAC etc,.
- Multiple data paths
- Flexible addressing modes
7/7/2013
MEMORY ARCHITECTURE
Stored
Program
and
Data
Program
Control
ALU
Input
Output
Program
Control
ALU
Input
Output
Stored
Data
Harvard Architecture
7/7/2013
Conventional microprocessors
use:
Von Neumann architecture
-program and data all in a single
memory
-Address and data buses are
shared between instruction and
data fetches.
CPU/ALU
Addre
ss
Data
7/7/2013
Memory
-simple
-effective
BUT
performance problems:
-fetch for next instruction collides
with data fetch/store
-Buses may be idle during
instruction decode
10
CPU/ALU
Instr.
D1
Address
Memory
#1
7/7/2013
Memory
D1 Data
D2 Address
Data
Program
D2 Data
Data
Memory
#2
TIFAC CORE IN NETWORK
ENGINEERING
11
GP P optimized for:
-Multi task operations
-handling huge OS
-handling various
programs
-Multiple I/O management
-transporting large size of
data
7/7/2013
12
7/7/2013
13
7/7/2013
14
15
DSP TEXAS
INSTRUMENTS FAMILY
TMS320C6000
C62X,C64X,C67X DSPs
TMS320C2000
C24X,C28X DSPs
Control
Optimized
TMS320C5000
C54X,C55X DSPs
Power
Efficient
OMAP
C55X+ARM
High
Performance
www.ti.com
7/7/2013
16
7/7/2013
17
18
TMS320F240
TMS320F2407A
TMS320F2812
20 MIPS
40 MIPS
150 MIPS
3 Timers
4 Timers
7 Timers
12 PWM Channels
16 PWM Channels
16 PWM Channels
16 Channel ADC @
6 microsec
conversion time
16 Channel ADC
@ 0.5 micro sec
conversion time
16 Channel ADC @
200 ns conversion
time
7/7/2013
19
7/7/2013
20
7/7/2013
21
TMS320C62XX
TMS320C64XX
TMS320C67XX
7/7/2013
22
Development Tools
CODE COMPOSER STUDIO
It includes
Assembler
Linker
Simulator
C/C++ compiler
Debugger
7/7/2013
23
ANALOG DEVICES
FAMILY
Blackfin processors
Tiger SHARC processors
SHARC DSPs
ADSP-21xx
Mixed signal DSPs
7/7/2013
www.analog.com/dsp
24
NOMENCLATURE OF DSP
PROCESSORS
TMS 320 C 25 GB L
TMX-Expt. Device
TMP-Prototype Device
TMS-Qualified Device
PACKAGE TYPE
GB-Ceramic
N-Plastic DIP
FN-Plastic Leaded
FD-Ceramic Leadless
7/7/2013
C-CMOS
E-CMOS EPROM
TEMPERATURE
L -0 -70
H -0 -50
S - -55 -100
M - -55 - 125
A - -40 -85
25
26
TMS320C50 PROCESSOR
TMS320C50PQ57
7/7/2013
27
D(15-0)
D/P RAM
9K X 16
CPU
16-bit T-Reg0
16 X 16 Multiplier
16-bit Barrel
32-bit P-register
Shifter (L or R)
ShiftL(0, 1, 4, -6)
32-bit ALU
32-bit Accumulator and Buffer
ShiftL( 0 7 )
8 Auxiliary Registers
8 Level H/W Stack
3 Status Registers
Block repeat/Circular Buffer
TIFAC CORE IN NETWORK
11 Shadow
Registers
ENGINEERING
7/7/2013
D. RAM
B2
32 X 16
P. ROM
2K X 16
TMS320C50
I/O Ports
64K X 16
Software
Waitstates
Timer
Serial Port
Sync
PLU
BitSet, Clear
Test, Toggle
28
7/7/2013
29
Program Bus
TMS320C50 Multiplier/Accumulator
Data Bus
16
32
MUX
32
Right/Left
Shifter
(0-16)
16
16
T Register (16)
16
Multiplier (16 X 16)
32
P Register (32)
32
Left Shifter (0,1,4,-6)
16
MUX
16
32
MUX 32
32
32
Arithmetic Logic Unit (ALU)
32
Accumulator Register (32)
Accumulator Buffer (32)
32
16
7/7/2013
TIFAC CORE IN NETWORK
30
Left Shifter (0 7) ENGINEERING
Data
0000
0000
INTERNAL
RAM (32KW)
EEPROM
(48KW)
7FFF
8000
BFFF
C000
EXTERNAL
RAM
(32KW)
EXTERNAL
RAM (16KW)
FFFF
7/7/2013
FFFF
TIFAC CORE IN NETWORK
ENGINEERING
31
7/7/2013
32
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
33
Addressing Modes
Direct addressing-ADD 9h
Indirect addressing
Immediate addressing-Rpt # 99
Dedicated-register addressing
Memory-mapped register addressing
Circular addressing
7/7/2013
34
Dedicated-register addressing
BLDD BMAR,DAT 100
BLDD-Block Move from Data memory to
Data memory
BMAR-Block move Address Register
BMAR-200h-Predefined
Data in Address 200h is copied to data
memory location 100h
7/7/2013
35
7/7/2013
36
Circular addressing
CBSR-1
CBSR-2
CBER-1
CBER-2
CBCR
37
7/7/2013
input :
h(n) - program memory
c100 - 1
c101 - 3
c102 - 1
c103 - 3
c104 - 0
c105 - 0
c106 - 0
c107 - 0
x(n) - data memory
8100 - 0
8101 - 1
8102 - 2
8103 - 1
output:
y(n)
- data memory
8200 - 1
8201 - 5
8202 - 8
8203 - 8
8204 - 7
8205 - 3
8206 - 0
38
Assembler/ Compiler :Used to convert the user editor based files into a
machine readable format
Conversion
Utilities
Down loader
Debugger
7/7/2013
ENGINEERING
Software
Source
Efficiency Effort
C
C++
Compiler
Optimizer
80 100%
ASM
Hand
Optimize
100%
7/7/2013
Low
High
40
Software Tools
Assembler
optimizer
Link.cmd
Text
editor
Assembler
.asm
.c
Compiler
optimizer
7/7/2013
Linker
.obj
.c
.asm .obj .out .cmd TIFAC CORE IN NETWORK
ENGINEERING
Debugger
.out
c source file
assembly source file
object file
executable file
linker command file
41
Arithmetic formats
Data width
Speed
Memory organization
Ease of development
Multiprocessor support
Power consumption management
Cost
7/7/2013
42
Fixed point
Floating point
-more flexible
-easier to program
-more expensive
-higher power
consumption
-difficult programming
-low cost
-limited dynamic
-range & precision
7/7/2013
43
7/7/2013
44
Development tools:
-software tools
assemblers
linkers
simulators
debuggers
compilers
-hardware tools
development boards
emulators
7/7/2013
45
Cost:
Least expensive DSPs have
-fewer features
-less on chip Memory
-lower performance
Chipset price depends on:
-Packaging
-Quantity
7/7/2013
46
11
12
3
11
7/7/2013
44
2
3
24
X
R1
R2
Loop
Clr
;Clear Accumulator A
Clr
; Clear Accumulator B
Mov
*R0, Y0
Mov
*R1,X0
Mpy
X0,Y0,A
;X0*Y0 ->A
Add
A,B
;A + B -> B
Inc
R0
;R0 + 1 -> R0
Inc
R1
;R1 + 1 -> R1
Dec
Tst
Jnz
Loop
Mov
B,*R2
47
11
R2
24
44
2
3
7/7/2013
Clr
;Clear Accumulator A
Rep
MAC
*(R0)+, *(R1)+, A
Mov
A, *R2
48
7/7/2013
49
.mmregs
.text
Start:
LACC #2345H
LAR AR1,#8000H
LAR AR2,#0fffH
Loop:
MAR *,AR1
SACL *+,AR2
BANZ Loop,*HERE:B HERE
.end
7/7/2013
50
7/7/2013
51
TI 5000 SERIES
TMS320C50
1. MICRO 50 ST
2. MICRO 50 LC
3. MICRO 50 EB
TMS320VC5416
1. MICRO 5416
2. MICRO 5416 AT
7/7/2013
52
7/7/2013
53
7/7/2013
54
MONITOR
EEPROM
TIMER &
SERIAL
LOGIC
SERIAL
PORT
TIMER
PORT
CONNECTOR
Analog
EXTERNAL
DATA
MEMORY
EXTERNAL
PROGRAM
MEMORY
Output
C50
PROCESSOR
Analog
Input
HIGH
SPEED
ADC
HIGH
SPEED
DAC
RESET
LOGIC
BATTERY
BACKUP
(MICRO 50LC)
7/7/2013
55
7/7/2013
56
7/7/2013
57
7/7/2013
58
7/7/2013
59
TI 6000 SERIES
TMS320C33
1. MICRO 33
TMS320C6713
1. MICRO 6713 AT
7/7/2013
60
7/7/2013
61
MICRO-6713
7/7/2013
62
TI 2000 SERIES
TMS320F240
1. MICRO 240
TMS320F2407
1. MICRO 2407
2. MICRO 2407 EB
7/7/2013
63
7/7/2013
64
7/7/2013
65
IPM UNIT
7/7/2013
66
7/7/2013
67
68
7/7/2013
69
7/7/2013
70
7/7/2013
71
7/7/2013
72
7/7/2013
73
7/7/2013
74
7/7/2013
75
7/7/2013
76
7/7/2013
77
7/7/2013
78
7/7/2013
79
7/7/2013
80
7/7/2013
81
7/7/2013
82
7/7/2013
83
7/7/2013
84
7/7/2013
85
7/7/2013
86
7/7/2013
87
7/7/2013
88
7/7/2013
89
THANK YOU
7/7/2013
90