ECEN4002 Spring 2002DSP Lab Intro R. C. Maher1 A Short Introduction to DSP Microprocessor Architecture R.C. Maher ECEN4002/5002 DSP Laboratory Spring 2002.

Slides:



Advertisements
Similar presentations
Von Neumann Architectures and the PDP-8
Advertisements

The CPU The Central Presentation Unit What is the CPU?
Machine cycle.
Computer Architecture and the Fetch-Execute Cycle
Is There a Real Difference between DSPs and GPUs?
DSPs Vs General Purpose Microprocessors
Lecture 4 Introduction to Digital Signal Processors (DSPs) Dr. Konstantinos Tatas.
CPU Review and Programming Models CT101 – Computing Systems.
Overview of Popular DSP Architectures: TI, ADI, Motorola R.C. Maher ECEN4002/5002 DSP Laboratory Spring 2003.
Microprocessor.  The CPU of Microcomputer is called microprocessor.  It is a CPU on a single chip (microchip).  It is called brain or heart of the.
© 2010 Kettering University, All rights reserved..
Sampling, Reconstruction, and Elementary Digital Filters R.C. Maher ECEN4002/5002 DSP Laboratory Spring 2002.
Midterm Wednesday Chapter 1-3: Number /character representation and conversion Number arithmetic Combinational logic elements and design (DeMorgan’s Law)
Introduction to Fast Fourier Transform (FFT) Algorithms R.C. Maher ECEN4002/5002 DSP Laboratory Spring 2003.
1 SHARC ‘S’uper ‘H’arvard ‘ARC’hitecture Nagendra Doddapaneni ER hit HAR ect VARD ure SUP Arc.
Implementation of Basic Digital Filter Structures R.C. Maher ECEN4002/5002 DSP Laboratory Spring 2003.
IIR Filters and Equalizers R.C. Maher ECEN4002/5002 DSP Laboratory Spring 2002.
Nonlinear and Time Variant Signal Processing R.C. Maher ECEN4002/5002 DSP Laboratory Spring 2002.
An introduction to Digital Signal Processors (DSP) Using the C55xx family.
Prepared by: Hind J. Zourob Heba M. Matter Supervisor: Dr. Hatem El-Aydi Faculty Of Engineering Communications & Control Engineering.
Digital Signal Processors for Real-Time Embedded Systems By Jeremy Kohel.
Real time DSP Professors: Eng. Julian Bruno Eng. Mariano Llamedo Soria.
Processor Architecture Needed to handle FFT algoarithm M. Smith.
CS 1308 Computer Literacy and the Internet Computer Systems Organization.
Computer Architecture and Organization Introduction.
Computer Fundamentals ELEC 330 Digital Systems Engineering Dr. Ron Hayne.
Computer Systems Organization CS 1428 Foundations of Computer Science.
ECEn 191 – New Student Seminar - Session 9: Microprocessors, Digital Design Microprocessors and Digital Design ECEn 191 New Student Seminar.
DSP Lecture Series DSP Memory Architecture Dr. E.W. Hu Nov. 28, 2000.
1 Microprocessor-based systems Course 2 General structure of a computer.
DSP Processors We have seen that the Multiply and Accumulate (MAC) operation is very prevalent in DSP computation computation of energy MA filters AR filters.
General Concepts of Computer Organization Overview of Microcomputer.
Overview of Super-Harvard Architecture (SHARC) Daniel GlickDaniel Glick – May 15, 2002 for V (Dewar)
I/O Memory Reg File ALU Program Counter Instruction Register Control Interconnect Control 1)PC contains mem address of Instruction, 2)From memory, instr.
Introduction to Microprocessors
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
DIGITAL SIGNAL PROCESSORS. Von Neumann Architecture Computers to be programmed by codes residing in memory. Single Memory to store data and program.
MICROOCESSORS AND MICROCONTROLLER:
Computer Organization CDA 3103 Dr. Hassan Foroosh Dept. of Computer Science UCF © Copyright Hassan Foroosh 2002.
CS 1308 Computer Literacy and the Internet. Objectives In this chapter, you will learn about:  The components of a computer system  Putting all the.
Monday, January 14 Homework #1 is posted on the website Homework #1 is posted on the website Due before class, Jan. 16 Due before class, Jan. 16.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Control Unit.
Von Neumann Computers Article Authors: Rudolf Eigenman & David Lilja
Intro to DSPs ejh mmi172. overview line6 pedals use a specialized microprocessor, called a DSP. DSPs, or digital signal processors, are lightweight, application-specific.
1 3 Computing System Fundamentals 3.2 Computer Architecture.
Computer Operation. Binary Codes CPU operates in binary codes Representation of values in binary codes Instructions to CPU in binary codes Addresses in.
DSP Processor
Introduction to microprocessor (Continued) Unit 1 Lecture 2
Computer Design & Organization
Embedded Systems Design
Microprocessor and Assembly Language
CDA 3101 Spring 2016 Introduction to Computer Organization
Data Representation – Instructions
Digital Signal Processors
Subject Name: Digital Signal Processing Algorithms & Architecture
Introduction to Digital Signal Processors (DSPs)
ECEG-3202 Computer Architecture and Organization
Intro to Architecture & Organization
CDA 3101 Summer 2007 Introduction to Computer Organization
EE 445S Real-Time Digital Signal Processing Lab Spring 2014
Arithmetic Logical Unit
An introduction to Digital Signal Processors (DSP)
ECEG-3202 Computer Architecture and Organization
Chapter 4 Introduction to Computer Organization
Introduction to Microprocessor Programming
Computer Evolution and Performance
Objectives Describe common CPU components and their function: ALU Arithmetic Logic Unit), CU (Control Unit), Cache Explain the function of the CPU as.
Register sets The register section/array consists completely of circuitry used to temporarily store data or program codes until they are sent to the.
Presentation transcript:

ECEN4002 Spring 2002DSP Lab Intro R. C. Maher1 A Short Introduction to DSP Microprocessor Architecture R.C. Maher ECEN4002/5002 DSP Laboratory Spring 2002

ECEN4002 Spring 2002DSP Lab Intro R. C. Maher2 What makes a DSP chip a DSP? Conventional microprocessors use the Von Neumann architecture: program and data all in a single memory. Address and data buses are shared between instruction and data fetches. CPU/ALU Memory Address Data

ECEN4002 Spring 2002DSP Lab Intro R. C. Maher3 Von Neumann architecture is inexpensive, simple, and effective, BUT there are performance problems: –Von Neumann “bottleneck”: fetch for next instruction collides with data fetch/store –Buses may be idle during instruction decode –DSP algorithms often have “multiply- accumulate” requirements: coef[n] * data[n], where two operands must be fetched Most DSP chips use Harvard architecture: separate memory space(s) for program and data

ECEN4002 Spring 2002DSP Lab Intro R. C. Maher4 Harvard Architecture CPU/ALU Program Memory P Address Instr. Data Memory #2 Data Memory #1 D1 AddressD1 Data D2 Address D2 Data

ECEN4002 Spring 2002DSP Lab Intro R. C. Maher5 DSP Architectural Features ALU typically centered around Multiply- Accumulate (MAC) structure with large accumulator –Digital filters require accumulated sum-of- products Multiple address generators to handle separate memory spaces –Address units handle modulo buffer arithmetic

ECEN4002 Spring 2002DSP Lab Intro R. C. Maher6 DSP Data Representation Numerical values represented as binary fractions: -1.0  value < (n-1) Radix point Sign bit

ECEN4002 Spring 2002DSP Lab Intro R. C. Maher7 Why a fractional representation? The product of two fractional numbers is also a fractional number Normalized representation is convenient Coefficients from digital filter designs are typically already in fractional form

ECEN4002 Spring 2002DSP Lab Intro R. C. Maher8 DSP Architecture: Accumulator Accumulator register holds intermediate results (n-bit number x n-bit number yields 2n-1 bit number) Accumulator typically has extra “guard bits” or “extension register” for overflow Mult Input Register Accum HighAccum LowGuard

ECEN4002 Spring 2002DSP Lab Intro R. C. Maher9 Accumulator Example Accum High (24 bits)Accum Low (24 bits)Guard (8 bits) … … … Radix point Sign bit … … … Motorola 56xxx has two 56-bit accumulators (48-bit result with 8 guard bits)

ECEN4002 Spring 2002DSP Lab Intro R. C. Maher10 Digital Filter Example Simple FIR filter is given by Current output is sum of product of coefficients and past input values.

ECEN4002 Spring 2002DSP Lab Intro R. C. Maher11 Filter example (cont.) Z -1 + b0b0 b1b1 b2b2 b3b3 x[n] x[n-1] y[n] x[n-2] x[n-3]

ECEN4002 Spring 2002DSP Lab Intro R. C. Maher12 Filter example (cont.) Procedure: –Clear accumulator –Fetch coefficient and data –MAC –Repeat fetch & MAC until done

ECEN4002 Spring 2002DSP Lab Intro R. C. Maher13 DSP Support for Parallel Moves Need to fetch next coefficient and next stored value at each step in the filter DSPs generally support a parallel move or fetch operation while MAC is computed This design avoids idle ALU and data buses Ex: mac x0,y0,a x:(r0)+,x0 y:(r4)+,y0

ECEN4002 Spring 2002DSP Lab Intro R. C. Maher14 Summary DSP chips use the Harvard architecture: separate program and data memory spaces ALU is centered around the multiply-accumulate (MAC) function DSPs typically use a fractional number representation Address computation generally supports modulo buffer address arithmetic DSPs avoid idle cycles by allowing parallel actions