TMS320C3X Floating Point DSP

Similar documents
UNIT#3. Programmable Digital Signal Processors

LOW-COST SIMD. Considerations For Selecting a DSP Processor Why Buy The ADSP-21161?

Microcomputer Architecture and Programming

Computer Hardware Requirements for ERTSs: Microprocessors & Microcontrollers

VIII. DSP Processors. Digital Signal Processing 8 December 24, 2009

General Purpose Signal Processors

Lecture1: introduction. Outline: History overview Central processing unite Register set Special purpose address registers Datapath Control unit

7/7/2013 TIFAC CORE IN NETWORK ENGINEERING

An introduction to Digital Signal Processors (DSP) Using the C55xx family

EE 308: Microcontrollers

Microprocessors/Microcontrollers

ADSP-2100A DSP microprocessor with off-chip Harvard architecture. ADSP-2101 DSP microcomputer with on-chip program and data memory

CHETTINAD COLLEGE OF ENGINEERING AND TECHNOLOGY COMPUTER ARCHITECURE- III YEAR EEE-6 TH SEMESTER 16 MARKS QUESTION BANK UNIT-1

Introduction ADSP-2100 FAMILY OF PROCESSORS

2 MARKS Q&A 1 KNREDDY UNIT-I

EE201A Presentation. Memory Addressing Organization for Stream-Based Reconfigurable Computing

Class Notes. Dr.C.N.Zhang. Department of Computer Science. University of Regina. Regina, SK, Canada, S4S 0A2

COMP2121: Microprocessors and Interfacing. Instruction Set Architecture (ISA)

ARM Cortex core microcontrollers 3. Cortex-M0, M4, M7

8051 Microcontroller

University Syllabus. Subject Code : 10EC751 IA Marks : 25. No. of Lecture Hrs/Week : 04 Exam Hours : 03

C55x v3.x CPU. Reference Guide. Literature Number: SWPU073E June 2009

MICROPROCESSOR BASED SYSTEM DESIGN

,1752'8&7,21. Figure 1-0. Table 1-0. Listing 1-0.

SYLLABUS UNIT - I 8086/8088 ARCHITECTURE AND INSTRUCTION SET

Microcontrollers. Microcontroller

TMS320C54x DSP Programming Environment APPLICATION BRIEF: SPRA182

CPE300: Digital System Architecture and Design

AVR Microcontrollers Architecture

COMP3221: Microprocessors and. and Embedded Systems. Instruction Set Architecture (ISA) What makes an ISA? #1: Memory Models. What makes an ISA?

In this tutorial, we will discuss the architecture, pin diagram and other key concepts of microprocessors.

Microprocessors and Microcontrollers. Assignment 1:

DSP Platforms Lab (AD-SHARC) Session 05

EE 354 Fall 2015 Lecture 1 Architecture and Introduction

icroprocessor istory of Microprocessor ntel 8086:

EEM478-WEEK7 PART B Bootloader

G GLOSSARY. Terms. Figure G-0. Table G-0. Listing G-0.

Chapter 1: Basics of Microprocessor [08 M]

1. What is Microprocessor? Give the power supply & clock frequency of 8085?

M. Sc (CS) (II Semester) Examination, Subject: Computer System Architecture Paper Code: M.Sc-CS-203. Time: Three Hours] [Maximum Marks: 60

University Syllabus DSP Algorithms and Architecture

Basics of Microprocessor

William Stallings Computer Organization and Architecture

COA. Prepared By: Dhaval R. Patel Page 1. Q.1 Define MBR.

CPU Structure and Function

MAHALAKSHMI ENGINEERING COLLEGE-TRICHY

INTELLIGENCE PLUS CHARACTER - THAT IS THE GOAL OF TRUE EDUCATION UNIT-I

Computer Hardware Requirements for Real-Time Applications

Advanced Microcontrollers Grzegorz Budzyń Lecture. 1: Introduction

PART A (22 Marks) 2. a) Briefly write about r's complement and (r-1)'s complement. [8] b) Explain any two ways of adding decimal numbers.

DSP VLSI Design. Instruction Set. Byungin Moon. Yonsei University

COMPUTER ORGANIZATION AND ARCHITECTURE

EXPERIMENT NO. 1 THE MKT 8085 MICROPROCESSOR TRAINER

INTEL Architectures GOPALAKRISHNAN IYER FALL 2009 ELEC : Computer Architecture and Design

Moodle WILLINGDON COLLEGE SANGLI (B. SC.-II) Digital Electronics

The Microcontroller. Lecture Set 3. Major Microcontroller Families. Example Microcontroller Families Cont. Example Microcontroller Families

Midrange 8b PIC Microcontrollers. ECE Senior Design 14 February 2017

Microprocessor Architecture

Processing Unit CS206T

Wed. Aug 23 Announcements

INSTITUTO SUPERIOR TÉCNICO. Architectures for Embedded Computing

UNIT- 5. Chapter 12 Processor Structure and Function

Question Bank Microprocessor and Microcontroller

History and Basic Processor Architecture

COMPUTER STRUCTURE AND ORGANIZATION

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI UNIT I THE 8085 & 8086 MICROPROCESSORS. PART A (2 Marks)

TMS320C55x DSP CPU Reference Guide Preliminary Draft

Co-processor Math Processor. Richa Upadhyay Prabhu. NMIMS s MPSTME February 9, 2016

ELC4438: Embedded System Design Embedded Processor

CN310 Microprocessor Systems Design

Computer and Hardware Architecture I. Benny Thörnberg Associate Professor in Electronics

systems such as Linux (real time application interface Linux included). The unified 32-

Lecture (01) Introducing Embedded Systems and the Microcontrollers By: Dr. Ahmed ElShafee

William Stallings Computer Organization and Architecture. Chapter 11 CPU Structure and Function

What Are The Main Differences Between Program Counter Pc And Instruction Register Ir

omputer Design Concept adao Nakamura

In 8086 Carry flag, Parity flag, Auxiliary carry flag, Zero flag, Overflow flag, Trace flag, Interrupt flag, Direction flag, and Sign flag.

9/25/ Software & Hardware Architecture

INTRODUCTION TO DIGITAL SIGNAL PROCESSOR

1 MALP ( ) Unit-1. (1) Draw and explain the internal architecture of 8085.

Computer Organization Question Bank

ELE 3230 Microprocessors and Computer Systems

2. List the five interrupt pins available in INTR, TRAP, RST 7.5, RST 6.5, RST 5.5.

Embedded Computation

Digital System Design Using Verilog. - Processing Unit Design

FIFTH SEMESTER DIPLOMA EXAMINATION IN ENGINEERING/ TECHNOLOGY-MARCH 2014 EMBEDDED SYSTEMS (Common for CT,CM) [Time: 3 hours] (Maximum marks : 100)

8051 microcontrollers

Microprocessors. Microprocessors and rpeanut. Memory. Eric McCreath

Microprocessors and rpeanut. Eric McCreath

Hardware and Software Architecture. Chapter 2

Chapter 1 Introduction

Universität Dortmund. ARM Architecture

CHETTINAD COLLEGE OF ENGINEERING AND TECHNOLOGY COMMUNICATION ENGINEERING REG 2008 TWO MARKS QUESTION AND ANSWERS

Computer organization by G. Naveen kumar, Asst Prof, C.S.E Department 1

BASIC INTERFACING CONCEPTS

Computer Architecture and Organization. Instruction Sets: Addressing Modes and Formats


INTRODUCTION OF MICROPROCESSOR& INTERFACING DEVICES Introduction to Microprocessor Evolutions of Microprocessor

MICROCONTROLLER UNIT 1

CHAPTER 8: Central Processing Unit (CPU)

Transcription:

TMS320C3X Floating Point DSP Microcontrollers & Microprocessors Undergraduate Course Isfahan University of Technology Oct 2010 By : Mohammad 1

DSP DSP : Digital Signal Processor Why A DSP? Example Voice Recorder DSP Low cost High Performance Dedicated to processing applications Simple Architecture Real Time Systems 2

DSP Manufacturers Texas Instruments Analog Devices Motorola Now : Freescale 3

Digital Signal Processing in GP CPUs By the time passed More DSP functionality added to General Purpose CPUs Today CPUs Contain huge hardware For signal processing calculations Example Streaming SIMD Extension 4

Two Major DSP Categories Floating Point Higher Silicon Area is required for implementation of Floating Point Unit Higher Prices Lower Clock Frequencies Lower Level of parallelism Easy Algorithm Design Fixed Point DSP Very difficult algorithm design Designer should take care of losing data Smaller silicon Area Higher clock frequency Smaller price Higher Level of parallelism Totally : higher level of performance 5

Texas Instruments TMS320C10/C25 TMS320C30/31/32/40 Floating Point TMS320C5x Fixed Point Ultra Low Power TMS320C6x : MIMD architecture... TMS320C67x : Floating Point TMS320C62x/64x : Fixed Point Very high levels of performance 6

TMS320C3x DSPs 1988 Harvard Architecture Floating point computations Addressing Range: 24 Bits (16Mbytes) 3 Families TMS320C30 TMS320C31 TMS320C32 C30 : contained a boot ROM C31/C32 : contained Boot Loader instead 7

Boot Loader What is a boot loader? An application Which is the first application executed by CPU Responsible for Loading the main application into system memory and starting it Boot Loader is usually small Boot Loader contains the first instructions that are executed by CPU Boot loader design is tricky Boot loader is usually stored on a kind of flash memory 8

TMS320C30 Family 9

TMS320C32 Internal Block Diagram SPRU031e Page 43 Description of Buses Program buses PADDR, PDATA Data buses 2 Data memory accesses every machine cycle DDATA, DADDR1, DADDR2, CPU1, CPU2 REG1, REG2 : no connected to memory. (Internal Bus) DMA buses DMAADDR, DMADATA 10

Registers R0 ~ R7 8 Extended Precision Registers (40Bits) Exponent and Mantissa : 2 s complement 11

Extended Precision Range 12

Auxiliary Registers 8 Registers AR0~AR7 32Bits Mainly used for Address Generation Can be used as 32Bits General Purpose Registers Index Registers IR0 and IR1 Used for addressing Two Address Generators: Auxiliary Register Arithmetic Unit 13

Rest of Registers DP : Data page pointer (similar to segment register) BK : Block size (Described Later) SP : System stack pointer ST : Status register IE : CPU/DMA interrupt enable register IF : CPU interrupt flag register IOF : I/O Flags register (control XF0 and XF1) 14

IF Bits 15

Zero-Delay Loops Loops: extensively used in applications Great amount of time is usually consumed on Checking the Loop Condition in each iteration Hardware can handle simple loops No over head for checking the loop condition 16

Zero-Delay Loop Registers Repeat-Counter RC RC = n Causes n+1 iterations RS : Repeat Start Address RE : Repeat End Address 17

Memory Map Page 92 Microcomputer/Boot Loader Mode Page 97 Peripheral related Memory Mapped Registers 18

Addressing Modes Register Addressing Register contains the operand Direct Addressing Instruction contains address of operand directly Indirect Addressing Auxiliary register contains the address to operand 19

Indirect Addressing 20

Indirect Addressing (2) Circular Addressing 21

Indirect Addressing (3) 22

Indirect Addressing (4) Bit reversed addressing 23

Circular Addressing Very useful in DSP algorithms BK Register (Block Size Register) Holds the size of circular buffer 24

FIR Filter Implementation x(n-3) x(n-2) x(n-1) Newest x x(n) Oldest x x(n-(n-1)) x(n-4) AR1 25

FIR Filter Main Loop 26

Boot Loader A Program Written and Stored on C31 & C32 memories Responsible for: Receiving the main application from EPROM, serial port, And copying it into local memory And Executing it right then INT pins indicate What boot loader should do 27

Branch Operations Three categories of branches: Standard Branch Empty the pipeline before performing the branch Delayed Branch Do not empty the pipeline, execute the next three instructions Conditional Delayed Branch Use the conditions that exist at the end of the instruction before the branch They do not depend on instructions following the branch Condition flags are set when R0-R7 change CMPF, CMPI, TSTB executed 28

Pipeline 29

Example Standard Branch 30

Example Standard Branch (2) 31

Delayed Branch 32

Delayed Branch Example 33