Fixed Point Design - Multimedia Signal Processing - Lecture Slides, Slides of Electrical Engineering

These are the Lecture Slides of Multimedia Signal Processing which includes Numeric Representation, Simulation Methods, Floating, Fixed Point, Conversion, Analytical Methods, Lower Area, Lower Power, Production Cost etc. Key important points are: Fixed Point Design, Numeric Representation, Simulation Methods, Floating, Fixed Point, Conversion, Analytical Methods, Lower Area, Lower Power, Production Cost

Typology: Slides

2012/2013

Uploaded on 03/23/2013

dhrupad
dhrupad 🇮🇳

4.4

(17)

213 documents

1 / 57

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Fixed-point design
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
pf33
pf34
pf35
pf36
pf37
pf38
pf39

Partial preview of the text

Download Fixed Point Design - Multimedia Signal Processing - Lecture Slides and more Slides Electrical Engineering in PDF only on Docsity!

Fixed-point design

Docsity.com

Overview

• Introduction

• Numeric representation

• Simulation methods for floating to fixed point

conversion

• Analytical methods

Docsity.com

Fixed-Point Design

• Float-to-fixed point conversion required to target

  • ASIC and fixed-point digital signal processor core
  • FPGA and fixed-point microprocessor core

• All variables have to be annotated manually

  • Avoid overflow
  • Minimize quantization effects
  • Find optimum wordlength

• Manual process supported by simulation

  • Time-consuming
  • Error prone

Copyright Kyungtae Han [2] Docsity.com

Fixed-Point Representation

  • Fixed point type
    • Wordlength
    • Integer wordlength
  • Quantization modes
    • Round
    • Truncation
  • Overflow modes
    • Saturation
    • Saturation to zero
    • Wrap-around

S X X X X X

Wordlength

Integer wordlength

SystemC format www.systemc.org

X X X X X

Wordlength

Integer wordlength =  2

Back

Copyright Kyungtae Han [2] Docsity.com

Optimum Wordlength

  • Longer wordlength
    • May improve application performance
    • Increases hardware cost
  • Shorter wordlength
    • May increase quantization errors and overflows
    • Reduces hardware cost
  • Optimum wordlength
    • Maximize application performance or minimize quantization error
    • Minimize hardware cost Wordlength ( w )

Distortion d ( w ) Cost c ( w ) [1/performance]

Optimum wordlength

Copyright Kyungtae Han [2] Docsity.com

Wordlength Optimization Approach

  • Analytical approach
    • Quantization error model
    • For feedback systems, instability and limit cycles can occur
    • Difficult to develop analytical quantization error model of adaptive or non-linear systems
  • Simulation-based approach
    • Wordlengths chosen while observing error criteria
    • Repeated until wordlengths converge
    • Long simulation time

Copyright Kyungtae Han [2] Docsity.com

Number representation

Matlab examples

• Numeric circle

• fi Basics

• fi Binary Point Scaling

Docsity.com

Fi type

www.mathworks.com Docsity.com

Fi Object

  • Notation
  • Multiplication
  • Multiplication with KeepMSB Mode
  • Addition
  • Addition with KeepLsb Mode
  • Numerictype
  • fimath

www.mathworks.com Docsity.com

Overview

• Introduction

• Numeric representation

• Simulation methods for floating to fixed

point conversion

• Analytical methods

Docsity.com

Data-range propagation

Disadvantages

• Provide larger bounds on signal values than

necessary

Solution

• Simulation-based range estimation

Docsity.com

Development of fixed point programs

  • Toolbox gFix

[Sung95] Docsity.com

Implementation – range estimation

[Sung95] Docsity.com

Implementation – range estimation

[Sung95] Docsity.com