User`s guide
Filter Realization Wizard
5-184
Fixed-Point Options
By default, the filter constructed by the Filter Realization Wizard operates
using the Simulink standard double-precision arithmetic. If you have the
Fixed-Point Blockset installed on your system, you have the additional option
of building the filter to operate using single-precision or fixed-point arithmetic.
Select the option you want from the
Data Type panel:
•
Built-in data types
The filter is constructed using the standard Simulink Sum, Gain, and Unit
Delay blocks, and operates in any precision supported by Simulink
(e.g., double-precision, single-precision, Boolean, etc.). This is the default.
•
Single
The filter is constructed using the Sum, Gain, and Unit Delay blocks from
the Fixed-Point Blockset. The blocks are configured for single-precision
arithmetic.
•
Fixed-Point
The filter is constructed using the Sum, Gain, and Unit Delay blocks from
the Fixed-Point Blockset. The Sum and Gain blocks are configured for
fixed-point arithmetic using the options specified in the
Fixed-Point panel
of the Filter Realization Wizard. These options include:
-
Format (Signed or Unsigned)
-
Word size
- Radix pos
- Overflow (Wrap or Saturate)
-
Rounding (Zero, Nearest, Ceiling, or Floor)
For information on these parameters, see the Fixed-Point Blockset
documentation.
Examples The examples below illustrate some of the common architectures available
through the Filter Realization Wizard:
•Example 1: Direct Form II
•Example 2: Second Order Sections
•Example 3: Nth Order Sections
•Example 4: ARMA Lattice