Generating Code for Single-Rate Farrow Filters

Overview

The coder supports HDL code generation for the following single-rate Farrow filter structures:

A Farrow filter differs from a conventional filter because it has a fractional delay input in addition to a signal input. The fractional delay input enables the use of time-varying delays, as the filter operates. The fractional delay input receives a signal taking on values between 0 and 1.0. For general information how to construct and use Farrow filter objects, see the farrow function reference page of the Filter Design Toolbox documentation.

The coder provides generatetb and generatehdl properties and equivalent GUI options that let you:

Code Generation Properties for Farrow Filters

The following properties support Farrow filter code generation:

GUI Options for Farrow Filters

This section describes Farrow filter code generation options that are available in the Filter Design HDL Coder GUI. These options correspond to the properties described in Code Generation Properties for Farrow Filters.

The Farrow filter options are:

Farrow Filter Code Generation Mechanics

FDATool does not support design or import of Farrow filters. To generate HDL code for a Farrow filter, use one of the following methods:

Options Disabled for Farrow Filters

As shown in the following figure, some options are disabled or set to a fixed default value when the Generate HDL dialog box is opened with a Farrow filter. The options affected are:

Architecture. This option is set to it default (Fully parallel) and disabled.

Clock inputs. This option is set to it default (Single) and disabled.

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS