Docsity

Architectural Analysis: FIR Filter Implementation on ADSP-21x and DSP Requirements, Slides of Electrical Engineering

Partial preview of the text

Download Architectural Analysis: FIR Filter Implementation on ADSP-21x and DSP Requirements and more Slides Electrical Engineering in PDF only on Docsity!

Architectural Analysis of a DSP Device,

the Instruction Set and the Addressing Modes

Docsity.com^1

Outline

  • FIR filter on ADPS-21x

DSP Requirements

  • Fast Multiply-Accumulates (Data-path)
  • Extended Precision Accumulator Register (Data-path)
  • Dual Operand Fetch (Memory)
  • Circular Buffering (Addressing)
  • Zero-Overhead Looping (Instruction set)

Analog Devices Architectures and Programming

  • SHARC
  • Blackfin
  • Performance Optimization

Docsity.com^2

CALCULATING OUTPUTS OF 4-TAP FIR FILTER USING A CIRCULAR BUFFER

4

y(3) = h(0) x(3) + h(1) x(2) + h(2) x(1) + h(3) x(0)

y(4) = h(0) x(4) + h(1) x(3) + h(2) x(2) + h(3) x(1)

y(5) = h(0) x(5) + h(1) x(4) + h(2) x(3) + h(3) x(2)

Memory Location 0 1 2 3

Read x(0) x(1) x(2) x(3)

Write x(4)

Read x(4) x(1) x(2) x(3)

Write

x(5)

Read x(4) x(5) x(2) x(3)

Copied from [Kester03] Docsity.com

FIR filter steps

  1. Obtain a sample with the ADC; generate an interrupt
  2. Detect and manage the interrupt
  3. Move the sample into the input signal's circular buffer
  4. Update the pointer for the input signal's circular buffer
  5. Zero the accumulator
    1. Control the loop through each of the coefficients
    2. Fetch the coefficient from the coefficient's circular buffer
    3. Update the pointer for the coefficient's circular buffer
    4. Fetch the sample from the input signal's circular

Copied from [Kester03]buffer^ Docsity.com^5

Outline

  • FIR filter on ADPS-21x

DSP Requirements

  • Fast Multiply-Accumulates (Data-path)
  • Extended Precision Accumulator Register (Data-path)
  • Dual Operand Fetch (Memory)
  • Circular Buffering (Addressing)
  • Zero-Overhead Looping (Instruction set)

Analog Devices Architectures and Programming

  • SHARC
  • Blackfin
  • Performance Optimization

Docsity.com^7

Motorola DSP5600X

Copied from [Takala05] Docsity.com^10

ADSP -

21x MAC

www.analog.com/dsp Docsity.com^13

Outline

  • FIR filter on ADPS-21x

DSP Requirements

  • Fast Multiply-Accumulates (Data-path)
  • Extended Precision Accumulator Register (Data-path)
  • Dual Operand Fetch (Memory)
  • Circular Buffering (Addressing)
  • Zero-Overhead Looping (Instruction set)

Docsity.com^16

  • Copied from [Takala05] Docsity.com
  • Copied from [Takala05] Docsity.com
  • Copied from [Takala05] Docsity.com
  • Copied from [Takala05] Docsity.com
  • Copied from [Takala05] Docsity.com
  • Copied from [Takala05] Docsity.com
  • Copied from [Takala05] Docsity.com
  • Copied from [Takala05] Docsity.com

Outline

  • FIR filter on ADPS-21x

DSP Requirements

  • Fast Multiply-Accumulates (Data-path)
  • Extended Precision Accumulator Register (Data-path)
  • Dual Operand Fetch (Memory)
  • Circular Buffering (Addressing)
  • Zero-Overhead Looping (Instruction set)

Docsity.com^20