Finite Word Length
Finite Word Length
Computers store numbers not with infinite precision but rather in some
approximation that can be packed into a fixed number of bits or bytes.
Almost all computers allow the programmer a choice among several different
such representations or data types. Data types can differ in the number of
bits utilized, but also in the more fundamental respect of whether the stored
number is represented in fixed-point or floating-point format.
There are two common forms that are used to represent the numbers in a
digital or any other digital hardware.
1. Fixed point representation
2. Floating point representation
In the fixed point arithmetic, the position of the binary point is fixed. The bit
to the right represents the fractional part of the number and to those to the
left represents the integer part.
For example, the binary number 01.1100 has the value 1.75 in decimal.
There are many formats to represent fixed point numbers like, Sign-
magnitude, One’s compliment and Two’s compliment, etc.
• This finite word length introduces an error which can affect the
performance of the DSP system.
Overflow in addition
• Overflow in addition of two or more binary numbers occurs when the
sum exceeds the word size available in the digital implementation of
the system.
2. The second reasons for studying limit cycles is that this effect can
effectively used in digital waveform generators. By producing
desirable limit cycles in a reliable manner, these limit cycles can be
used as a source in digital signal processing.
Department of Electronics and Communication Engineering (ECE) 15
Effects of Error in DSP
1. Type of arithmetic
2. Quality of input signal
3. Type of algorithm implemented