Escolar Documentos
Profissional Documentos
Cultura Documentos
PROCESSORS
K. VIJAYA KUMAR
Asst. Prof.
USHARAMA COLLEGE OF
ENGINEERING & TECHNOLOGY
On-chip peripherals
Introduction to DSP Processors
Introduction to programmable Architecture of TMS 320C5X
DSPs Introduction
Multiplier
Bus structure
Multiplier accumulator (MAC)
Central Arithmetic and Logic Unit
Modified Bus Structure
(MAC) Unit
Most of the operations involve array multiplication
Harvard Architecture
Modified Harvard
Architecture
Von Neumann
Architecture
Von Neumann
Architecture
Von Neumann
Architecture
General purpose processors have this
architecture
Shares same memory for program and data
Processor performs instruction Fetch,
Decode and execute operations sequentially
Speed increased by pipelining
Contains common interval address and data
bus, ALU, accumulator, I/O devices and
common memory for program and data
Not suitable for DSP Architecture
Harvard Architecture
Harvard Architecture
Separate memory for program and data
Separate address and data busses for program
and data
High speed of execution
Include various registers, ALUs, address
generators, etc
PMD Bus is used to get instructions from memory
DMD bus is used to exchange operands & results
from data memory
Instruction code from program memory & data
memory can be fetched simultaneously. This
parallel processing increases the speed
It is possible to fetch next instruction when
current instruction is executed. i.e., FETCH,
Harvard Architecture
What is the difference between a von Neumann
architecture and a Harvard architecture?
Harvard architecturehas separate data and instruction
busses, allowing transfers to be performed simultaneously on
both busses. Avon Neumann architecturehas only one bus
which is used for both data transfers and instruction fetches,
and therefore data transfers and instruction fetches must be
scheduled - they can not be performed at the same time.
It is possible to have two separate memory systems for
aHarvard architecture. As long as data and instructions can
be fed in at the same time, then it doesn't matter whether it
comes from a cache or memory. But there are problems with
this. Compilers generally embed data (literal pools) within the
code, and it is often also necessary to be able to write to the
instruction memory space, for example in the case of self
modifying code, or, if an ARM debugger is used, to set software
breakpoints in memory. If there are two completely separate,
isolated memory systems, this is not possible. There must be
some kind of bridge between the memory systems to allow this.
Using a simple, unified memory system together with a Harvard
Modified Harvard Architecture
Modified Harvard Architecture
2 2
3 3
4 4
5 5
6 6
7 7
8 8
On Chip Timers:
Timer generates single pulse or periodic train of pulses.
Its period can be programmed. It can be used for
Generation of periodic interrupts to programmable
DSPs
Generation of sampling clocks for ADCs
Timing signals
Serial Port:
It has input and output buffers. Also Serial to parallel and
parallel to serial converters.
Serial port can operate in asynchronous mode or in
synchronous mode.
It allows following operations.
(1) communication between programmable DSPs and
external peripherals
(2) Parallel writes from PDSP and serial transmission.
(3) Receives serially from external peripherals and gives
parallelly to PDSPs.
(4) Generates interrupts when serial port output buffer is
empty or input buffer is full.
TDM Serial Port:
CH- CH- CH- CH- CH- CH- CH- CH-
1 2 3 4 5 6 7 8
One TDM frame with
8 slots
DE DE DE DE
V0 V1 V2 V2
TMS320C5x
TDX
TDR TDA
T
TCLKX TCL
TCLKR K
TFR
TFSX M
TFSR TAD
D
P-DSP peripherals communicate using TDM
Comm Port:
These are Parallel ports.
Each port have 8 bits and are used for communication between
P-DSPs when they are operating in multi-processor system.
23 bit wide data can be split in to four 8 bit words. Then data
is exchanged among P-DSPs over 4 different comm ports
Host Port:
It is a parallel port 8 or 16 bit wide.
PDSPs communicate with host processors such as
micro processors, PCs, etc through host port
Generates interrupt to P-DSP and load data on reset
through Host port
Used for data communication with host processor
Interrupts:
4 general purpose interrupts ---- INT4 INT1, one Reset (RS) and
non-maskable Interrupt (NMI)
Internal interrupts generated by serial port (RINT, XINT) by timer
TINT through s/w (TRAP, INTR and NMI instructions)
RS has highest priority followed by NMI and INT4 with lowest
priority
Except RS and NMI, any interrupt can be masked.
Program
000 Data
Interrupts and reserved 000
0 Memory Mapped
003 (external) 0
005 registers
004
F External 006
F
0
07F On-chip DARAM B2
On-chip SARAM (RAM = 0
080
F
0 1) Reserved
2BF External (RAM = 0)
2C0 On-chip DARAM B0
F External
0 (CNF = 0)
FDF On-chip DARAM B0 Reserved (CNF = 1)
FE0
F (CNF = 1)
0 On-chip DARAM B1
FFF External (CNF = 0)
F MP/MC = 1 Reserved
Microprocessor
On-chip SARAM (OVLY
mode
= 1)
MP/MC = 0 FFF External (OVLY = 0)
MicroComputer F
mode External
Anusha.alluri96@gmail.com
komaliece403@gmail.com
Kode.mohansai@gmail.com
nsn1256@gmail.com
Kumili.naga@gmail.com