SlideShare a Scribd company logo
1
Texas Instruments
TMS320C54x
DSP
Architecture and Data Addressing
By
Dr. Sudhir N. Shelke
Principal,
Guru Nanak Institute of Technology,
Nagpur
2
Agenda
• Architecture
• Block diagram
• Immediate addressing
• Absolute addressing
• Accumulator addressing
• Direct addressing
• Memory-mapped register addressing
• Stack addressing
• Indirect addressing
• Reference
3
Architecture
• Advanced Harvard architecture
– Separate data and program memory allows a high degree of
parallelism
• CPU can read and write to a single block in the same
cycle
4
Block Diagram
• Memory Access
– 4 internal bus pairs
– C,D for data read
– E for data write
– P for program
• Others
– 2 40-bit Accum.
– 40-bit Barrel shifter
– 40-bit ALU
– 17bx17b multiplier
and 40b dedicated
adder perform a
non pipelined
single-cycle MAC
5
Immediate and Accumulator Addressing
• The instruction syntax contains the specific value of the
operand
– LD #80h, A
• Immediate values can be 3,5,8,9, or 16 bits in length
• Accumulator addressing Uses the accumulator as an
address
– READA Smem
6
Absolute addressing
• Addresses are always 16 bits long, addressing types
depend on instructions
• Data-memory address (dmad) addressing uses a specific
value to specify an address in data space
– MVKD SAMPLE, *AR5
• Program-memory address (pmad) addressing uses a
specific value to specify an address in data space
– MVPD TABLE, *AR7-
• Port address (PA) addressing uses a specific value to
specify an external I/O port address
– PORT FIFO, *AR5
• *(lk) addressing uses a specific value to specify an
address in data space
– Instructions with ingle data-memory operand
– LD *(BUFFER), A
7
Direct addressing
• Uses the accumulator
as an address
– READA Smem
• With direct addressing,
Instructions contain the
lower 7 bits of the data-
memory address (dma)
– Combined with a base
address, data-page
pointer (DP) or stack
pointer (SP) to form a 16-
bit data-memory address
– ADD SAMPLE, B
– DR-referenced
– SP-referenced
8
Memory-mapped register addressing
• Used to modify the memory-mapped registers without
affecting the current data-page pointer (DP) or stack-
pointer (SP)
– Overhead for writing to a register is minimal
– Works for direct and indirect addressing
– SCRATCH-PAD ram LOCATED ON DATA PAGE 0 CAN BE
MODIFIED
• STM #x, DIRECT
• STM #tbl, AR1
9
Stack addressing
• Used to automatically store the program counter during
interrupts and subroutines
• Can be used to store additional items of context or to pass
data values
• Uses a 16-bit memory-mapped register, the stack pointer
(SP)
• PSHD X2
10
Indirect addressing
• 8 auxiliary registers (AR), and 2 auxiliary register
arithmetic units (ARAU)
11
Indirect addressing (cont’d)
12
Indirect addressing (cont’d)
• Circular address modifications (MOD=8,9,10,11 or 14) for
convolution, correlation, FIR filters, etc.
– Circular buffer is a sliding window containing the most recent data
• Circular-buffer size register (BK) specifies the size of the
circular buffer
– Circular buffer of size R must start on a N-bit boundary, where
– 32-word circular buffer starts at xxxx xxxx xx00 0000
– BK=32
– Index is the N LSBs
of ARx
– Index is incremented
or decremented by
step
2N
R>
13
Indirect addressing (cont’d)
14
Indirect addressing (cont’d)
• Bit-Reversed Address Modifications (MOD=4 or 7)
– Enhances execution speed and program memory for FFT
algorithms that use a variety of radixes
• Assume FFT size is , then AR0=
– An ARx points to the physical location of a data value
2N 1
2N -
15
References
• Michael Herz, R. Hartenstein, M. Miranda: Memory Addressing Organization for
Stream-Based Reconfigurable Computing;ICECS 2002,pp. 813 –817, 2002
• A. Pleszkun, E. Davidson: Structured Memory Access Architecture;Proceedings
of IEEE International Conference on Parallel Processing,pp. 461-471, 1983.
• R. Hartenstein, A. Hirschbiel, M. Weber: A Novel Paradigm of Parallel
Computation and its Use to Implement Simple High Performance Hardware;
InfoJapan’90 - International Conference memorating the 30th Anniversary of the
Computer Society of Japan, Tokyo, Japan, 1990.
• D. Grant, P. Denyer, I. Finlay: Synthesis of Address Generators; Proceedings of
IEEE International Conference on Computer-AidedDesign (ICCAD), pp 116-119,
1989.
• K. Kitagaki, T. Oto, T. Demura, Y. Araki, T. Takada: A New Address Generation
Unit Architecture for Video Signal Processing; Proceedings of SPIE International
Conference on Visual Communications and Image Processing’91: Image
Processing, Part Two of Two Parts, pp.891-900, Boston, MA, USA, Nov. 11-13,
1991
• Texas Instruments TMS320C54x DSP Reference Set, Volume 1: CPU and
Peripherals(SPRU131)
• Texas Instruments TMS320C54x DSP Reference Set, Volume 2: Mnemonic
Instruction Set(SPRU172B)

More Related Content

What's hot

8051 Microcontroller PPT's By Er. Swapnil Kaware
8051 Microcontroller PPT's By Er. Swapnil Kaware8051 Microcontroller PPT's By Er. Swapnil Kaware
8051 Microcontroller PPT's By Er. Swapnil Kaware
Prof. Swapnil V. Kaware
 
Digital signal processor architecture
Digital signal processor architectureDigital signal processor architecture
Digital signal processor architecture
komal mistry
 
ARM Processors
ARM ProcessorsARM Processors
ARM Processors
Mathivanan Natarajan
 
Application of DSP
Application of DSPApplication of DSP
Application of DSP
KUNAL RANA
 
Memory organization of 8051
Memory organization of 8051Memory organization of 8051
Memory organization of 8051
Muthu Manickam
 
Unit I.fundamental of Programmable DSP
Unit I.fundamental of Programmable DSPUnit I.fundamental of Programmable DSP
Unit I.fundamental of Programmable DSP
Principal,Guru Nanak Institute of Technology, Nagpur
 
Assembler directives and basic steps ALP of 8086
Assembler directives and basic steps ALP of 8086Assembler directives and basic steps ALP of 8086
Assembler directives and basic steps ALP of 8086
Urvashi Singh
 
PIC-18 Microcontroller
PIC-18 MicrocontrollerPIC-18 Microcontroller
PIC-18 Microcontroller
ASHISH RANJAN
 
Architecture of 8051
Architecture of 8051Architecture of 8051
Architecture of 8051
hello_priti
 
Pin diagram 8085
Pin diagram 8085 Pin diagram 8085
Pin diagram 8085
Siddhesh Palkar
 
8086 micro processor
8086 micro processor8086 micro processor
8086 micro processor
Poojith Chowdhary
 
8051 block diagram
8051 block diagram8051 block diagram
8051 block diagram
DominicHendry
 
Memory & I/O interfacing
Memory & I/O  interfacingMemory & I/O  interfacing
Memory & I/O interfacing
deval patel
 
PART -1 TRAFFIC LIGHT CONTROL USING 8085
PART -1 TRAFFIC LIGHT CONTROL USING 8085PART -1 TRAFFIC LIGHT CONTROL USING 8085
PART -1 TRAFFIC LIGHT CONTROL USING 8085
Subash Sambath Kumar
 
Unit II arm 7 Instruction Set
Unit II arm 7 Instruction SetUnit II arm 7 Instruction Set
Unit II arm 7 Instruction Set
Dr. Pankaj Zope
 
Microprocessor 8085 complete
Microprocessor 8085 completeMicroprocessor 8085 complete
Microprocessor 8085 complete
Shubham Singh
 
8085 microproceesor ppt
8085 microproceesor ppt8085 microproceesor ppt
8085 microproceesor ppt
RJ Aniket
 
Instruction formats-in-8086
Instruction formats-in-8086Instruction formats-in-8086
Instruction formats-in-8086
MNM Jain Engineering College
 
8051 instruction set
8051 instruction set8051 instruction set
8051 instruction set
Andri Prastiyo
 
Microprocessor and Interfacing Notes
Microprocessor and Interfacing NotesMicroprocessor and Interfacing Notes
Microprocessor and Interfacing Notes
Akshansh Chaudhary
 

What's hot (20)

8051 Microcontroller PPT's By Er. Swapnil Kaware
8051 Microcontroller PPT's By Er. Swapnil Kaware8051 Microcontroller PPT's By Er. Swapnil Kaware
8051 Microcontroller PPT's By Er. Swapnil Kaware
 
Digital signal processor architecture
Digital signal processor architectureDigital signal processor architecture
Digital signal processor architecture
 
ARM Processors
ARM ProcessorsARM Processors
ARM Processors
 
Application of DSP
Application of DSPApplication of DSP
Application of DSP
 
Memory organization of 8051
Memory organization of 8051Memory organization of 8051
Memory organization of 8051
 
Unit I.fundamental of Programmable DSP
Unit I.fundamental of Programmable DSPUnit I.fundamental of Programmable DSP
Unit I.fundamental of Programmable DSP
 
Assembler directives and basic steps ALP of 8086
Assembler directives and basic steps ALP of 8086Assembler directives and basic steps ALP of 8086
Assembler directives and basic steps ALP of 8086
 
PIC-18 Microcontroller
PIC-18 MicrocontrollerPIC-18 Microcontroller
PIC-18 Microcontroller
 
Architecture of 8051
Architecture of 8051Architecture of 8051
Architecture of 8051
 
Pin diagram 8085
Pin diagram 8085 Pin diagram 8085
Pin diagram 8085
 
8086 micro processor
8086 micro processor8086 micro processor
8086 micro processor
 
8051 block diagram
8051 block diagram8051 block diagram
8051 block diagram
 
Memory & I/O interfacing
Memory & I/O  interfacingMemory & I/O  interfacing
Memory & I/O interfacing
 
PART -1 TRAFFIC LIGHT CONTROL USING 8085
PART -1 TRAFFIC LIGHT CONTROL USING 8085PART -1 TRAFFIC LIGHT CONTROL USING 8085
PART -1 TRAFFIC LIGHT CONTROL USING 8085
 
Unit II arm 7 Instruction Set
Unit II arm 7 Instruction SetUnit II arm 7 Instruction Set
Unit II arm 7 Instruction Set
 
Microprocessor 8085 complete
Microprocessor 8085 completeMicroprocessor 8085 complete
Microprocessor 8085 complete
 
8085 microproceesor ppt
8085 microproceesor ppt8085 microproceesor ppt
8085 microproceesor ppt
 
Instruction formats-in-8086
Instruction formats-in-8086Instruction formats-in-8086
Instruction formats-in-8086
 
8051 instruction set
8051 instruction set8051 instruction set
8051 instruction set
 
Microprocessor and Interfacing Notes
Microprocessor and Interfacing NotesMicroprocessor and Interfacing Notes
Microprocessor and Interfacing Notes
 

Similar to Unit4.addressing modes 54 xx

Anshika 1111.pptx
Anshika 1111.pptxAnshika 1111.pptx
Anshika 1111.pptx
AnSHiKa187943
 
11 instruction sets addressing modes
11  instruction sets addressing modes 11  instruction sets addressing modes
11 instruction sets addressing modes
Kanika Thakur
 
11 instruction sets addressing modes
11  instruction sets addressing modes 11  instruction sets addressing modes
11 instruction sets addressing modes
Sher Shah Merkhel
 
11 instruction sets addressing modes
11  instruction sets addressing modes 11  instruction sets addressing modes
11 instruction sets addressing modes
Seshu Chakravarthy
 
11 instruction sets addressing modes
11  instruction sets addressing modes 11  instruction sets addressing modes
11 instruction sets addressing modes
Anwal Mirza
 
11_ Instruction Sets addressing modes .ppt
11_ Instruction Sets addressing modes .ppt11_ Instruction Sets addressing modes .ppt
11_ Instruction Sets addressing modes .ppt
SwarajKumarPradhan
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
CharltonInao1
 
11_ Instruction Sets addressing modes -1.ppt
11_ Instruction Sets addressing modes -1.ppt11_ Instruction Sets addressing modes -1.ppt
11_ Instruction Sets addressing modes -1.ppt
Suchikage
 
DSPA.pptx
DSPA.pptxDSPA.pptx
Unit 2.ppt
Unit 2.pptUnit 2.ppt
Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor  Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor
Mustapha Fatty
 
Memory Addressing
Memory AddressingMemory Addressing
Memory Addressing
chauhankapil
 
11_ InstructionSetsAddressingModes .pdf
11_ InstructionSetsAddressingModes .pdf11_ InstructionSetsAddressingModes .pdf
11_ InstructionSetsAddressingModes .pdf
WilliamTom9
 
Digital Signal processor ADSP 21XX family
Digital Signal processor ADSP 21XX familyDigital Signal processor ADSP 21XX family
Digital Signal processor ADSP 21XX family
Saloni Rane
 
DSP architecture
DSP architectureDSP architecture
DSP architecture
jstripinis
 
micro chapter 3jjgffffyeyhhuyerfftfgggffgjj
micro chapter 3jjgffffyeyhhuyerfftfgggffgjjmicro chapter 3jjgffffyeyhhuyerfftfgggffgjj
micro chapter 3jjgffffyeyhhuyerfftfgggffgjj
TadeseBeyene
 
isca22-feng-menda_for sparse transposition and dataflow.pptx
isca22-feng-menda_for sparse transposition and dataflow.pptxisca22-feng-menda_for sparse transposition and dataflow.pptx
isca22-feng-menda_for sparse transposition and dataflow.pptx
ssuser30e7d2
 
11 instruction sets addressing modes
11  instruction sets addressing modes 11  instruction sets addressing modes
11 instruction sets addressing modes
dilip kumar
 
Ch 11
Ch 11Ch 11
Computer Architecture and organization ppt.
Computer Architecture and organization ppt.Computer Architecture and organization ppt.
Computer Architecture and organization ppt.
mali yogesh kumar
 

Similar to Unit4.addressing modes 54 xx (20)

Anshika 1111.pptx
Anshika 1111.pptxAnshika 1111.pptx
Anshika 1111.pptx
 
11 instruction sets addressing modes
11  instruction sets addressing modes 11  instruction sets addressing modes
11 instruction sets addressing modes
 
11 instruction sets addressing modes
11  instruction sets addressing modes 11  instruction sets addressing modes
11 instruction sets addressing modes
 
11 instruction sets addressing modes
11  instruction sets addressing modes 11  instruction sets addressing modes
11 instruction sets addressing modes
 
11 instruction sets addressing modes
11  instruction sets addressing modes 11  instruction sets addressing modes
11 instruction sets addressing modes
 
11_ Instruction Sets addressing modes .ppt
11_ Instruction Sets addressing modes .ppt11_ Instruction Sets addressing modes .ppt
11_ Instruction Sets addressing modes .ppt
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
 
11_ Instruction Sets addressing modes -1.ppt
11_ Instruction Sets addressing modes -1.ppt11_ Instruction Sets addressing modes -1.ppt
11_ Instruction Sets addressing modes -1.ppt
 
DSPA.pptx
DSPA.pptxDSPA.pptx
DSPA.pptx
 
Unit 2.ppt
Unit 2.pptUnit 2.ppt
Unit 2.ppt
 
Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor  Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor
 
Memory Addressing
Memory AddressingMemory Addressing
Memory Addressing
 
11_ InstructionSetsAddressingModes .pdf
11_ InstructionSetsAddressingModes .pdf11_ InstructionSetsAddressingModes .pdf
11_ InstructionSetsAddressingModes .pdf
 
Digital Signal processor ADSP 21XX family
Digital Signal processor ADSP 21XX familyDigital Signal processor ADSP 21XX family
Digital Signal processor ADSP 21XX family
 
DSP architecture
DSP architectureDSP architecture
DSP architecture
 
micro chapter 3jjgffffyeyhhuyerfftfgggffgjj
micro chapter 3jjgffffyeyhhuyerfftfgggffgjjmicro chapter 3jjgffffyeyhhuyerfftfgggffgjj
micro chapter 3jjgffffyeyhhuyerfftfgggffgjj
 
isca22-feng-menda_for sparse transposition and dataflow.pptx
isca22-feng-menda_for sparse transposition and dataflow.pptxisca22-feng-menda_for sparse transposition and dataflow.pptx
isca22-feng-menda_for sparse transposition and dataflow.pptx
 
11 instruction sets addressing modes
11  instruction sets addressing modes 11  instruction sets addressing modes
11 instruction sets addressing modes
 
Ch 11
Ch 11Ch 11
Ch 11
 
Computer Architecture and organization ppt.
Computer Architecture and organization ppt.Computer Architecture and organization ppt.
Computer Architecture and organization ppt.
 

More from Principal,Guru Nanak Institute of Technology, Nagpur

Tcp ip
Tcp ipTcp ip
Icmp
IcmpIcmp
Congestion control
Congestion controlCongestion control
Unit VI CPLD-FPGA Architecture
Unit VI CPLD-FPGA ArchitectureUnit VI CPLD-FPGA Architecture
Unit v. HDL Synthesis Process
Unit v. HDL Synthesis ProcessUnit v. HDL Synthesis Process
Unit 3 instruction of tms320 c5x (3 files merged)
Unit 3  instruction of tms320 c5x (3 files merged)Unit 3  instruction of tms320 c5x (3 files merged)
Unit 3 instruction of tms320 c5x (3 files merged)
Principal,Guru Nanak Institute of Technology, Nagpur
 
Unit 3 Instruction of tms320C5x
Unit 3  Instruction of tms320C5xUnit 3  Instruction of tms320C5x
Unit ii.arc of tms320 c5 xx
Unit ii.arc of tms320 c5 xxUnit ii.arc of tms320 c5 xx
Unit V:Motorola 563xx
Unit V:Motorola 563xxUnit V:Motorola 563xx
Unit v.tms320 cs6x
Unit v.tms320 cs6xUnit v.tms320 cs6x

More from Principal,Guru Nanak Institute of Technology, Nagpur (10)

Tcp ip
Tcp ipTcp ip
Tcp ip
 
Icmp
IcmpIcmp
Icmp
 
Congestion control
Congestion controlCongestion control
Congestion control
 
Unit VI CPLD-FPGA Architecture
Unit VI CPLD-FPGA ArchitectureUnit VI CPLD-FPGA Architecture
Unit VI CPLD-FPGA Architecture
 
Unit v. HDL Synthesis Process
Unit v. HDL Synthesis ProcessUnit v. HDL Synthesis Process
Unit v. HDL Synthesis Process
 
Unit 3 instruction of tms320 c5x (3 files merged)
Unit 3  instruction of tms320 c5x (3 files merged)Unit 3  instruction of tms320 c5x (3 files merged)
Unit 3 instruction of tms320 c5x (3 files merged)
 
Unit 3 Instruction of tms320C5x
Unit 3  Instruction of tms320C5xUnit 3  Instruction of tms320C5x
Unit 3 Instruction of tms320C5x
 
Unit ii.arc of tms320 c5 xx
Unit ii.arc of tms320 c5 xxUnit ii.arc of tms320 c5 xx
Unit ii.arc of tms320 c5 xx
 
Unit V:Motorola 563xx
Unit V:Motorola 563xxUnit V:Motorola 563xx
Unit V:Motorola 563xx
 
Unit v.tms320 cs6x
Unit v.tms320 cs6xUnit v.tms320 cs6x
Unit v.tms320 cs6x
 

Recently uploaded

Transformers design and coooling methods
Transformers design and coooling methodsTransformers design and coooling methods
Transformers design and coooling methods
Roger Rozario
 
Curve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods RegressionCurve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods Regression
Nada Hikmah
 
The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.
sachin chaurasia
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
171ticu
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
Madan Karki
 
Engine Lubrication performance System.pdf
Engine Lubrication performance System.pdfEngine Lubrication performance System.pdf
Engine Lubrication performance System.pdf
mamamaam477
 
NATURAL DEEP EUTECTIC SOLVENTS AS ANTI-FREEZING AGENT
NATURAL DEEP EUTECTIC SOLVENTS AS ANTI-FREEZING AGENTNATURAL DEEP EUTECTIC SOLVENTS AS ANTI-FREEZING AGENT
NATURAL DEEP EUTECTIC SOLVENTS AS ANTI-FREEZING AGENT
Addu25809
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
IJECEIAES
 
Certificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi AhmedCertificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi Ahmed
Mahmoud Morsy
 
Casting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdfCasting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdf
zubairahmad848137
 
john krisinger-the science and history of the alcoholic beverage.pptx
john krisinger-the science and history of the alcoholic beverage.pptxjohn krisinger-the science and history of the alcoholic beverage.pptx
john krisinger-the science and history of the alcoholic beverage.pptx
Madan Karki
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
co23btech11018
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
Yasser Mahgoub
 
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
JamalHussainArman
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
MDSABBIROJJAMANPAYEL
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
insn4465
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
IJECEIAES
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
kandramariana6
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
KrishnaveniKrishnara1
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
Madan Karki
 

Recently uploaded (20)

Transformers design and coooling methods
Transformers design and coooling methodsTransformers design and coooling methods
Transformers design and coooling methods
 
Curve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods RegressionCurve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods Regression
 
The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
 
Engine Lubrication performance System.pdf
Engine Lubrication performance System.pdfEngine Lubrication performance System.pdf
Engine Lubrication performance System.pdf
 
NATURAL DEEP EUTECTIC SOLVENTS AS ANTI-FREEZING AGENT
NATURAL DEEP EUTECTIC SOLVENTS AS ANTI-FREEZING AGENTNATURAL DEEP EUTECTIC SOLVENTS AS ANTI-FREEZING AGENT
NATURAL DEEP EUTECTIC SOLVENTS AS ANTI-FREEZING AGENT
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
 
Certificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi AhmedCertificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi Ahmed
 
Casting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdfCasting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdf
 
john krisinger-the science and history of the alcoholic beverage.pptx
john krisinger-the science and history of the alcoholic beverage.pptxjohn krisinger-the science and history of the alcoholic beverage.pptx
john krisinger-the science and history of the alcoholic beverage.pptx
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
 
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
 

Unit4.addressing modes 54 xx

  • 1. 1 Texas Instruments TMS320C54x DSP Architecture and Data Addressing By Dr. Sudhir N. Shelke Principal, Guru Nanak Institute of Technology, Nagpur
  • 2. 2 Agenda • Architecture • Block diagram • Immediate addressing • Absolute addressing • Accumulator addressing • Direct addressing • Memory-mapped register addressing • Stack addressing • Indirect addressing • Reference
  • 3. 3 Architecture • Advanced Harvard architecture – Separate data and program memory allows a high degree of parallelism • CPU can read and write to a single block in the same cycle
  • 4. 4 Block Diagram • Memory Access – 4 internal bus pairs – C,D for data read – E for data write – P for program • Others – 2 40-bit Accum. – 40-bit Barrel shifter – 40-bit ALU – 17bx17b multiplier and 40b dedicated adder perform a non pipelined single-cycle MAC
  • 5. 5 Immediate and Accumulator Addressing • The instruction syntax contains the specific value of the operand – LD #80h, A • Immediate values can be 3,5,8,9, or 16 bits in length • Accumulator addressing Uses the accumulator as an address – READA Smem
  • 6. 6 Absolute addressing • Addresses are always 16 bits long, addressing types depend on instructions • Data-memory address (dmad) addressing uses a specific value to specify an address in data space – MVKD SAMPLE, *AR5 • Program-memory address (pmad) addressing uses a specific value to specify an address in data space – MVPD TABLE, *AR7- • Port address (PA) addressing uses a specific value to specify an external I/O port address – PORT FIFO, *AR5 • *(lk) addressing uses a specific value to specify an address in data space – Instructions with ingle data-memory operand – LD *(BUFFER), A
  • 7. 7 Direct addressing • Uses the accumulator as an address – READA Smem • With direct addressing, Instructions contain the lower 7 bits of the data- memory address (dma) – Combined with a base address, data-page pointer (DP) or stack pointer (SP) to form a 16- bit data-memory address – ADD SAMPLE, B – DR-referenced – SP-referenced
  • 8. 8 Memory-mapped register addressing • Used to modify the memory-mapped registers without affecting the current data-page pointer (DP) or stack- pointer (SP) – Overhead for writing to a register is minimal – Works for direct and indirect addressing – SCRATCH-PAD ram LOCATED ON DATA PAGE 0 CAN BE MODIFIED • STM #x, DIRECT • STM #tbl, AR1
  • 9. 9 Stack addressing • Used to automatically store the program counter during interrupts and subroutines • Can be used to store additional items of context or to pass data values • Uses a 16-bit memory-mapped register, the stack pointer (SP) • PSHD X2
  • 10. 10 Indirect addressing • 8 auxiliary registers (AR), and 2 auxiliary register arithmetic units (ARAU)
  • 12. 12 Indirect addressing (cont’d) • Circular address modifications (MOD=8,9,10,11 or 14) for convolution, correlation, FIR filters, etc. – Circular buffer is a sliding window containing the most recent data • Circular-buffer size register (BK) specifies the size of the circular buffer – Circular buffer of size R must start on a N-bit boundary, where – 32-word circular buffer starts at xxxx xxxx xx00 0000 – BK=32 – Index is the N LSBs of ARx – Index is incremented or decremented by step 2N R>
  • 14. 14 Indirect addressing (cont’d) • Bit-Reversed Address Modifications (MOD=4 or 7) – Enhances execution speed and program memory for FFT algorithms that use a variety of radixes • Assume FFT size is , then AR0= – An ARx points to the physical location of a data value 2N 1 2N -
  • 15. 15 References • Michael Herz, R. Hartenstein, M. Miranda: Memory Addressing Organization for Stream-Based Reconfigurable Computing;ICECS 2002,pp. 813 –817, 2002 • A. Pleszkun, E. Davidson: Structured Memory Access Architecture;Proceedings of IEEE International Conference on Parallel Processing,pp. 461-471, 1983. • R. Hartenstein, A. Hirschbiel, M. Weber: A Novel Paradigm of Parallel Computation and its Use to Implement Simple High Performance Hardware; InfoJapan’90 - International Conference memorating the 30th Anniversary of the Computer Society of Japan, Tokyo, Japan, 1990. • D. Grant, P. Denyer, I. Finlay: Synthesis of Address Generators; Proceedings of IEEE International Conference on Computer-AidedDesign (ICCAD), pp 116-119, 1989. • K. Kitagaki, T. Oto, T. Demura, Y. Araki, T. Takada: A New Address Generation Unit Architecture for Video Signal Processing; Proceedings of SPIE International Conference on Visual Communications and Image Processing’91: Image Processing, Part Two of Two Parts, pp.891-900, Boston, MA, USA, Nov. 11-13, 1991 • Texas Instruments TMS320C54x DSP Reference Set, Volume 1: CPU and Peripherals(SPRU131) • Texas Instruments TMS320C54x DSP Reference Set, Volume 2: Mnemonic Instruction Set(SPRU172B)