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

An outline and detailed steps for implementing a finite impulse response (fir) filter using a circular buffer on the adsp-21x dsp device. It covers the requirements of the dsp, including fast multiply-accumulates, extended precision accumulator register, dual operand fetch, circular buffering, and zero-overhead looping. The document also discusses various analog devices architectures and programming, such as sharc and blackfin, and their optimization techniques.

Typology: Slides

2012/2013

Uploaded on 03/23/2013

dhrupad
dhrupad 🇮🇳

4.4

(17)

213 documents

1 / 50

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Architectural Analysis of a DSP Device,
the Instruction Set and the Addressing Modes
1
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32

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