SlideShare a Scribd company logo
Number Formats for Signals and Coefficients in DSP Systems
1. Fixed-Point Format
2. Double-Precision Fixed-Point Format
3. Floating-Point Format
4. Block Floating-Point Format
5. Dynamic Range and Precision
1 Fixed-Point Format:
1.The simplest scheme for number representation.
Uses a fixed number of bits to represent an integer or fraction.
2. Fixed-Point Signed Integer Representation
An n-bit fixed-point signed integer follows the format:
where:
s represents the sign of the number:
s = 0 for positive numbers and
s = 1 for negative numbers
The range of signed integer values:
3. Fixed-Point Signed Fraction Representation
A fraction can also be represented using a fixed number of bits.
An n-bit signed fraction has an implied binary point after the sign bit.
The value is given by:
Digital signal processing and architecture
4. Handling Multiplication in Fixed-Point Format
Multiplication of integers may produce results requiring more bits.
If bits are limited, wraparound occurs
Fractional representation can mitigate this issue:
Multiplying two fractions produces another fraction.
The result can retain the same bit width by discarding less significant
bits.
2 Double-Precision Fixed-Point Format
1. Definition
To increase the range of numbers in fixed-point format, one approach
is to double the bit size.
2. Benefits of Double-Precision Format
Extends the range of representable numbers.
Provides higher precision.
3. Drawbacks of Double-Precision Format
Requires double the storage space.
May double the number of memory accesses when the DSP device has
3 Floating-Point Format
1. Purpose and Need for Floating-Point Representation
In DSP applications, some algorithms involve the summation of a
large number of products.
A large number of bits is required to represent signals and allow for
adequate signal growth.
Since processors have a limited number of bits, some DSP processors
use a floating-point format for computations.
2. Floating-Point Representation
Mantissa (Mx) – Represents the significant digits.
Exponent (Ex) – Determines the scaling factor.
The value of a floating-point number is given by:
3. Multiplication of Floating-Point Numbers
If two floating-point numbers, x and y, are multiplied:
The multiplication process requires:
A multiplier for the mantissas.
An adder for the exponents.
4. Addition of Floating-Point Numbers
Before adding floating-point numbers, their exponents must be
normalized to ensure they are the same.
This normalization step involves shifting the mantissa of the smaller
exponent to match the larger one.
5. IEEE-754 Single-Precision Floating-Point Representation
A commonly used representation is IEEE-754 single-precision format.
The value of a number in this format is given by:
where:
S is the sign bit (0 for positive, 1 for negative).
F is the fractional part of the mantissa.
E is the exponent, stored as an integer with a bias.
The range of fractional numbers that can be represented in the
mantissa is:
6. Bias and Exponent Range
The bias depends on the number of bits reserved for the exponent:
In single-precision (8-bit exponent):
Bias = 127
Exponent range = 0 to 255
7. Disadvantages of Floating-Point Format
While floating-point format increases the range of representable
numbers, it introduces speed reduction due to additional
computational steps:
Multiplication requires exponent addition and mantissa multiplication.
Addition requires normalization before performing mantissa addition.
Digital signal processing and architecture
4 Block Floating-Point Format
1. Purpose
Increases the range and precision of fixed-point numbers without
requiring full floating-point hardware.
2. Representation
A block of fixed-point numbers shares a common exponent, stored
separately.
Each number in the block has a different mantissa, stored in fixed-
point format.
3. Computation
The common exponent is determined based on the smallest number
of leading zeros in the block.
Numbers are shifted to maximize precision within the given fixed-
point format.
Digital signal processing and architecture
1. Dynamic Range
Definition: The ratio of the maximum value to the minimum value that can be
represented in a given number representation format.
Impact of Bits: More bits increase the dynamic range.
Formula: Every additional bit increases the dynamic range by 6 dB.
2. Resolution
Definition: The smallest value that can be represented in a given format.
Formula:
Higher bits Better resolution.
→
3. Trade-Off Between Precision and Speed
More bits Higher precision Slower processing.
→ →
Truncation vs. Rounding:
Truncation: Simply cuts off extra bits Faster but less accurate.
→
Rounding: Adjusts values properly More accurate but slower.
→
Digital signal processing and architecture
THANK YOU
21011P0401
JANAKI VALLABH

More Related Content

PPTX
Number formats for signals and coefficients in DSP system
PDF
DESIGN OF DOUBLE PRECISION FLOATING POINT MULTIPLICATION ALGORITHM WITH VECTO...
PPTX
Unit 2 Arithmetic
PDF
International Journal of Engineering Research and Development
PPTX
computer arithmetic’s (fixed and floating point)
PPTX
IEEE-754 standard format to handle Floating-Point calculations in RISC-V CPUs...
PPTX
Only floating point lecture 7 (1)
PDF
Fixed Point Conversion
Number formats for signals and coefficients in DSP system
DESIGN OF DOUBLE PRECISION FLOATING POINT MULTIPLICATION ALGORITHM WITH VECTO...
Unit 2 Arithmetic
International Journal of Engineering Research and Development
computer arithmetic’s (fixed and floating point)
IEEE-754 standard format to handle Floating-Point calculations in RISC-V CPUs...
Only floating point lecture 7 (1)
Fixed Point Conversion

Similar to Digital signal processing and architecture (20)

PPT
Bca 2nd sem-u-1.9 digital logic circuits, digital component floting and fixed...
PDF
IRJET- Implementation of Floating Point FFT Processor with Single Precision f...
PPT
B.sc cs-ii-u-1.9 digital logic circuits, digital component floting and fixed ...
PPTX
Floating Point Representation premium.pptx
PPTX
BOOTH ALGO, DIVISION(RESTORING _ NON RESTORING) etc etc
PPT
Single Precision Floating Point Format.ppt
PPTX
Representation of numbers.pptx
PPTX
Floating point representation and arithmetic
PDF
IEEE 754 Standards For Floating Point Representation.pdf
PPTX
IEEE Floating Point Number with Single and Double Precision(Analog and Digita...
PDF
Survey On Two-Term Dot Product Of Multiplier Using Floating Point
PDF
Floating point presentation
PPT
digital logic circuits, digital component floting and fixed point
PPTX
Data processing and processor organisation
PDF
Chpater 6
PPTX
digital logic circuits, digital component floting and fixed point
PPTX
Implementation of character translation integer and floating point values
PPTX
B.sc cs-ii-u-1.8 digital logic circuits, digital component floting and fixed ...
PPTX
Bca 2nd sem-u-1.8 digital logic circuits, digital component floting and fixed...
PDF
Ieee+floating
Bca 2nd sem-u-1.9 digital logic circuits, digital component floting and fixed...
IRJET- Implementation of Floating Point FFT Processor with Single Precision f...
B.sc cs-ii-u-1.9 digital logic circuits, digital component floting and fixed ...
Floating Point Representation premium.pptx
BOOTH ALGO, DIVISION(RESTORING _ NON RESTORING) etc etc
Single Precision Floating Point Format.ppt
Representation of numbers.pptx
Floating point representation and arithmetic
IEEE 754 Standards For Floating Point Representation.pdf
IEEE Floating Point Number with Single and Double Precision(Analog and Digita...
Survey On Two-Term Dot Product Of Multiplier Using Floating Point
Floating point presentation
digital logic circuits, digital component floting and fixed point
Data processing and processor organisation
Chpater 6
digital logic circuits, digital component floting and fixed point
Implementation of character translation integer and floating point values
B.sc cs-ii-u-1.8 digital logic circuits, digital component floting and fixed ...
Bca 2nd sem-u-1.8 digital logic circuits, digital component floting and fixed...
Ieee+floating
Ad

Recently uploaded (20)

PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
UNIT 4 Total Quality Management .pptx
PDF
Well-logging-methods_new................
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PPTX
Lecture Notes Electrical Wiring System Components
PPTX
Geodesy 1.pptx...............................................
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
OOP with Java - Java Introduction (Basics)
PPTX
CH1 Production IntroductoryConcepts.pptx
PPTX
web development for engineering and engineering
PPT
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
UNIT 4 Total Quality Management .pptx
Well-logging-methods_new................
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
R24 SURVEYING LAB MANUAL for civil enggi
Lecture Notes Electrical Wiring System Components
Geodesy 1.pptx...............................................
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
UNIT-1 - COAL BASED THERMAL POWER PLANTS
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
Foundation to blockchain - A guide to Blockchain Tech
Automation-in-Manufacturing-Chapter-Introduction.pdf
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
OOP with Java - Java Introduction (Basics)
CH1 Production IntroductoryConcepts.pptx
web development for engineering and engineering
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
Ad

Digital signal processing and architecture

  • 1. Number Formats for Signals and Coefficients in DSP Systems
  • 2. 1. Fixed-Point Format 2. Double-Precision Fixed-Point Format 3. Floating-Point Format 4. Block Floating-Point Format 5. Dynamic Range and Precision
  • 3. 1 Fixed-Point Format: 1.The simplest scheme for number representation. Uses a fixed number of bits to represent an integer or fraction. 2. Fixed-Point Signed Integer Representation An n-bit fixed-point signed integer follows the format: where: s represents the sign of the number: s = 0 for positive numbers and s = 1 for negative numbers The range of signed integer values:
  • 4. 3. Fixed-Point Signed Fraction Representation A fraction can also be represented using a fixed number of bits. An n-bit signed fraction has an implied binary point after the sign bit. The value is given by:
  • 6. 4. Handling Multiplication in Fixed-Point Format Multiplication of integers may produce results requiring more bits. If bits are limited, wraparound occurs Fractional representation can mitigate this issue: Multiplying two fractions produces another fraction. The result can retain the same bit width by discarding less significant bits.
  • 7. 2 Double-Precision Fixed-Point Format 1. Definition To increase the range of numbers in fixed-point format, one approach is to double the bit size. 2. Benefits of Double-Precision Format Extends the range of representable numbers. Provides higher precision. 3. Drawbacks of Double-Precision Format Requires double the storage space. May double the number of memory accesses when the DSP device has
  • 8. 3 Floating-Point Format 1. Purpose and Need for Floating-Point Representation In DSP applications, some algorithms involve the summation of a large number of products. A large number of bits is required to represent signals and allow for adequate signal growth. Since processors have a limited number of bits, some DSP processors use a floating-point format for computations. 2. Floating-Point Representation Mantissa (Mx) – Represents the significant digits. Exponent (Ex) – Determines the scaling factor. The value of a floating-point number is given by:
  • 9. 3. Multiplication of Floating-Point Numbers If two floating-point numbers, x and y, are multiplied: The multiplication process requires: A multiplier for the mantissas. An adder for the exponents. 4. Addition of Floating-Point Numbers Before adding floating-point numbers, their exponents must be normalized to ensure they are the same. This normalization step involves shifting the mantissa of the smaller exponent to match the larger one.
  • 10. 5. IEEE-754 Single-Precision Floating-Point Representation A commonly used representation is IEEE-754 single-precision format. The value of a number in this format is given by: where: S is the sign bit (0 for positive, 1 for negative). F is the fractional part of the mantissa. E is the exponent, stored as an integer with a bias. The range of fractional numbers that can be represented in the mantissa is:
  • 11. 6. Bias and Exponent Range The bias depends on the number of bits reserved for the exponent: In single-precision (8-bit exponent): Bias = 127 Exponent range = 0 to 255 7. Disadvantages of Floating-Point Format While floating-point format increases the range of representable numbers, it introduces speed reduction due to additional computational steps: Multiplication requires exponent addition and mantissa multiplication. Addition requires normalization before performing mantissa addition.
  • 13. 4 Block Floating-Point Format 1. Purpose Increases the range and precision of fixed-point numbers without requiring full floating-point hardware. 2. Representation A block of fixed-point numbers shares a common exponent, stored separately. Each number in the block has a different mantissa, stored in fixed- point format.
  • 14. 3. Computation The common exponent is determined based on the smallest number of leading zeros in the block. Numbers are shifted to maximize precision within the given fixed- point format.
  • 16. 1. Dynamic Range Definition: The ratio of the maximum value to the minimum value that can be represented in a given number representation format. Impact of Bits: More bits increase the dynamic range. Formula: Every additional bit increases the dynamic range by 6 dB. 2. Resolution Definition: The smallest value that can be represented in a given format. Formula: Higher bits Better resolution. → 3. Trade-Off Between Precision and Speed More bits Higher precision Slower processing. → →
  • 17. Truncation vs. Rounding: Truncation: Simply cuts off extra bits Faster but less accurate. → Rounding: Adjusts values properly More accurate but slower. →