DIGITAL SIGNAL PROCESSORS. Von Neumann Architecture Computers to be programmed by codes residing in memory. Single Memory to store data and program.

Slides:



Advertisements
Similar presentations
Chapter 2: Data Manipulation
Advertisements

DSPs Vs General Purpose Microprocessors
Lecture 4 Introduction to Digital Signal Processors (DSPs) Dr. Konstantinos Tatas.
Instruction Set Design
CPU Review and Programming Models CT101 – Computing Systems.
Chapter 2 Data Manipulation Dr. Farzana Rahman Assistant Professor Department of Computer Science James Madison University 1 Some sldes are adapted from.
INSTRUCTION SET ARCHITECTURES
ITCS 3181 Logic and Computer Systems 2015 B. Wilkinson slides3.ppt Modification date: March 16, Addressing Modes The methods used in machine instructions.
Computer Organization and Architecture
Khaled A. Al-Utaibi  Computers are Every Where  What is Computer Engineering?  Design Levels  Computer Engineering Fields  What.
ΜP rocessor Architectures To : Eng. Ahmad Hassan By: Group 18.
Computer Architecture and Data Manipulation Chapter 3.
Computer Organization. This module surveys the physical resources of a computer system. –Basic components CPUMemoryBus I/O devices –CPU structure Registers.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Computer Science: An Overview Tenth Edition by J. Glenn Brookshear Chapter.
1 Lecture 2: Review of Computer Organization Operating System Spring 2007.
Choice for the rest of the semester New Plan –assembler and machine language –Operating systems Process scheduling Memory management File system Optimization.
Microprocessors Introduction to RISC Mar 19th, 2002.
Vacuum tubes Transistor 1948 –Smaller, Cheaper, Less heat dissipation, Made from Silicon (Sand) –Invented at Bell Labs –Shockley, Brittain, Bardeen ICs.
Chapters 5 - The LC-3 LC-3 Computer Architecture Memory Map
Overview von Neumann Model Components of a Computer Some Computer Organization Models The Computer Bus An Example Organization: The LC-3.
Group 5 Alain J. Percial Paula A. Ortiz Francis X. Ruiz.
Operand Addressing and Instruction Representation
Ehsan Shams Saeed Sharifi Tehrani. What is DSP ? Digital Signal Processing (DSP) is used in a wide variety of applications, and it is hard to find a good.
Internal hardware and external components of a computer Three-box Model  Processor The brain of the system Executes programs A big finite state machine.
Machine Instruction Characteristics
Computer Systems Organization CS 1428 Foundations of Computer Science.
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.
Computer Organization - 1. INPUT PROCESS OUTPUT List different input devices Compare the use of voice recognition as opposed to the entry of data via.
Module : Algorithmic state machines. Machine language Machine language is built up from discrete statements or instructions. On the processing architecture,
Chapter 2 Data Manipulation © 2007 Pearson Addison-Wesley. All rights reserved.
Input-Output Organization
Chapter 2 Data Manipulation. © 2005 Pearson Addison-Wesley. All rights reserved 2-2 Chapter 2: Data Manipulation 2.1 Computer Architecture 2.2 Machine.
Introduction to Microprocessors
Computer Organization. This module surveys the physical resources of a computer system.  Basic components  CPU  Memory  Bus  I/O devices  CPU structure.
Operand Addressing And Instruction Representation Cs355-Chapter 6.
Electronic Analog Computer Dr. Amin Danial Asham by.
MICROOCESSORS AND MICROCONTROLLER:
DSP Architectures Additional Slides Professor S. Srinivasan Electrical Engineering Department I.I.T.-Madras, Chennai –
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Data Manipulation Brookshear, J.G. (2012) Computer Science: an Overview.
Stored Program A stored-program digital computer is one that keeps its programmed instructions, as well as its data, in read-write,
Chapter 2 Data Manipulation © 2007 Pearson Addison-Wesley. All rights reserved.
Instruction Sets: Addressing modes and Formats Group #4  Eloy Reyes  Rafael Arevalo  Julio Hernandez  Humood Aljassar Computer Design EEL 4709c Prof:
Processor Structure and Function Chapter8:. CPU Structure  CPU must:  Fetch instructions –Read instruction from memory  Interpret instructions –Instruction.
Lecture 1: Review of Computer Organization
Overview von Neumann Architecture Computer component Computer function
Chapter 2 Data Manipulation © 2007 Pearson Addison-Wesley. All rights reserved.
Chapter 2: Data Manipulation
Different Microprocessors Tamanna Haque Nipa Lecturer Dept. of Computer Science Stamford University Bangladesh.
Chapter 2 Data Manipulation © 2007 Pearson Addison-Wesley. All rights reserved.
BASIC COMPUTER ARCHITECTURE HOW COMPUTER SYSTEMS WORK.
Computer Architecture
A Closer Look at Instruction Set Architectures
Processor Organization and Architecture
Digital Signal Processors
Subject Name: Digital Signal Processing Algorithms & Architecture
Subject Name: Digital Signal Processing Algorithms & Architecture
CISC AND RISC SYSTEM Based on instruction set, we broadly classify Computer/microprocessor/microcontroller into CISC and RISC. CISC SYSTEM: COMPLEX INSTRUCTION.
Processor Organization and Architecture
Processor Organization and Architecture
Computer Architecture and the Fetch-Execute Cycle
Chapter 2: Data Manipulation
BIC 10503: COMPUTER ARCHITECTURE
Classification of instructions
LC-2: The Little Computer 2
Chapter 2: Data Manipulation
Introduction to Microprocessor Programming
UNIT - VIII. DSP Introduction Digital Signal Processing: ◦ Application of mathematical operations to digitally represented signals Signals represented.
Chapter 2: Data Manipulation
Presentation transcript:

DIGITAL SIGNAL PROCESSORS

Von Neumann Architecture Computers to be programmed by codes residing in memory. Single Memory to store data and program. Single Bus to transport data and program b/w CPU and memory/pheripherals.

Harvard Architecture Separate memory for data and program Separate program bus for transferring opcode and immediate operands b/w CPU and program memory. Separate data memory bus to transfer data b/w data memory and CPU.

Modified Harvard Architecture Multiport memories (one PM, 3 DM and 4 AB) CPU can access multiple data simultaneously Increased speed Dedicated h/w for signal processing applications.

What Constitutes a Good DSP?

DSP Requires Multiply and Accumulate

Multiple Buses

Internal Memory for Fast Access

Most of the early processors execute instructions sequentially. After the execution of first instruction the next one starts. To improve the efficiency, advanced microprocessors and digital signal processors use an approach called pipelining.

Instruction Pipeline for Fast Execution Instruction is broken into smaller tasks that can be executed in parallel

Parallel Processing of Instructions

Less Cycles per Instruction Less Power Consumption

DSP Architecture

Internal Memory Organization Program, data and I/O spaces. RAM and ROM(boot loader). Types of RAM (DARAM, SARAM and two-way shared RAM). DARAM AND SARAM configured as DM or PM/DM.

DARAM Composed of several blocks and can be accessed twice per machine cycle. Read and write operation can be done in the same cycle. Mapped in data space or program space.

SARAM and two-way shared RAM Accessed for once per machine cycle for either read or write. Shared memory is write-protected and only DMA can write to the SM. RAM efficiently used for executing identical programs( 50% memory space is reduced).

Addressing Modes

Immediate addressing Direct addressing Indirect addressing by register – Support for circular indirect addressing Access to Memory Mapped Registers MMRs Dedicated register addressing. Circular addressing

Immediate Addressing Mode # Instruction contains the value of the operand. Value is preceded by #. Example: – Add the value 4 to the content of accumulator A. Useful for initializations. Long (16 bits) or short values: – For long values: instruction uses 2 words. ADD #4,A

Immediate Addressing Mode # 16 bit value – 2 words, 2 cycles – Initialization of ARi for example Short value – 3, 5, 8, 9 bits constant – 1 word, 1 cycle – To initialize short length registers or bit fields: DP, ASM … – Not always available Example: STM#1234h,AR2 Load AR2 with the value 1234h. Example: LD#6, DP Load DP with the value 6.

Direct Addressing Direct addressing = random access from a specified base address. – The instruction contains an offset relative to the base address. The base address can be the beginning of a data memory page or the stack pointer. – The data memory is virtually divided in 512 pages of 128 words (512x128 = 2 16 ). Data Page DP relative direct address – CPL bit (ComPiler Mode bit) = 0 in ST1 Stack Pointer SP relative direct address – CPL bit = 1 in ST1

Data memory pages

MMR Memory Mapped Registers Addressing MMRs are in page 0 of data memory. They can be accessed by some specific MMR instructions allowing simple access to page 0. In these cases DP, SP and CPL are ignored It operates like direct addressing except that upper 9 bits of the address that is accessed are assumed zeros.

Indirect Addressing Mode *ARi Compatible with pointers in C. 8 ARi Auxiliary Registers to store the addresses of the operands. They are used as pointers. 2 ARAU = Auxiliary Registers Arithmetic Units to realize operations on the addresses stored in the ARi. Contents of AR by ARP can manually altered by SBRK and ADRK. Very efficient for DSP operations.

Dedicated Register Addressing Similar long immediate addressing mode except the address comes from the special purpose memory mapped registers in the CPU Block Move Address Register(BMAR) and the dynamic bit manipulation register(DBMR).

Circular Addressing Algorithms such as convolution, correlation and finite impulse response(FIR) filter use circular buffers operating via Ars. CBSR1-Circular buffer 1 start register CBSR2 CBER1-End register 1 CBER2,CBCR-Control Register(Enables/Disables) To define circular buffer start & end addresses are loaded and a value b/w start and end register is loaded into AR.

THANK YOU