Professional Documents
Culture Documents
Previous class:
Numeric Representation used in DSP
Fixed point
BITS Pilani
Pilani|Dubai|Goa|Hyderabad
Today class:
Numeric Representation used in DSP
Floating point
Fixed-Point Design
Idea
Digital signal processing algorithms
Often developed in floating point Floating-Point Algorithm
Quantization
Lower area
Code Generation
Lower power
Level
Lower per unit production cost Target System
Numeric Representation used in DSP
Fixed-point
Narrow dynamic range but costs
16-bit low.
20-bit Faster than FLPDSP
24-bit
Floating-point
32-bit
Narrow dynamic range but complex
64-bit hardware.
Slower than FIPDSP
80-bit
128-bit
Floating point representation:
Most important standard is IEEE-754
There are four type of IEEE-754 floating point
representations depending on number of bits used in
it.
Single precession: 4 bytes
Double precession: 8 bytes
Extended Double precession: 10 bytes
Quadruple precession: 16 bytes
Floating point representation:
More accuracy
Increased range
Floating point representation:
Exponent = 129-127=2
Fraction part =0.012 = 0.25
Value = - 1.25 * 22 = - 5
Steps:
1. Convert decimal to binary
2. Represent binary number obtained in proper format
3. Represent exponent in biased format
4. Zero pad.
ANS:
100 = 1100100
0.25 = 0.01
100.25= 1100100.01=1.10010001*26
X-127=6 X=133 = 85h=10000101
E = E1 +E2 - 127
Example:
X1 = 1 10000010 00000000
X2 = 0 10000011 000.00
Ans?
1 10000110 000000
Floating point representation:
Let E1 = 250 and e2 = 250
What will be E?
Need 9 bits to represent and not available.
Over flow in multiplication
Underflow in multiplication
The minimum value of biased exponent = 1 (= -126 actual)
If an actual number has exponent less than -126, this can not be
normalized and called as denormal number.
Ex:
X = 1* 2 -64 and x2 = 1* 2 -65
Floating point representation:
Steps:
~4.00 nsec
Interdependent of instructions.