| Contents | Index |
This table summarizes what's new in Version 2.5 (R2009b).
| New Features and Changes | Version Compatibility Considerations | Fixed Bugs and Known Problems |
|---|---|---|
| Yes Details below | Yes—Details labeled as Compatibility Considerations, below. See also Summary. | No |
New features and changes introduced in this version are:
Generation of Model for Cosimulation Now Supports Multirate Filters
RAM Based Programmable Coefficients Supported for FIR Filters with Serial Architectures
R2009b includes an improved and revised Filter Design HDL Coder graphical user interface (GUI). The GUI now supports all functions within a single dialog box. The following figure shows the Generate HDL dialog box.

Some property labels have changed in the new GUI. The following tale lists the previous and current property labels.
| Previous Property Label | Current Property Label |
|---|---|
| Language | Filter target language |
| Folder | Target directory |
The following figure shows the reorganized Test bench pane of the Generate HDL dialog box.

The new Testbench generation output section contains three options:
HDL test bench: Selecting this option enables generation of an HDL test bench, and also enables all options in the Configuration section of the Test Bench pane.
Cosimulation blocks: Selecting this option enables Generate a model containing HDL Cosimulation block(s) for use in testing the DUT. Selecting this option also enables all options in the Configuration section of the Test Bench pane.
Cosimulation model for use with: Selecting this option enables generation of a model containing an HDL Cosimulation block for use in testing the DUT, and lets you select the desired cosimulation tool. Selecting this option also enables all options in the Configuration section of the Test Bench pane.
To configure test bench options and generate test bench code, you must select one or more of the options of the Testbench generation output section. If you deselect the three options of the Testbench generation output section, the coder disables all options in the Configuration section of the Test Bench pane.
Release R2009b deprecates the 'IN' and 'MQ' property values. Use the equivalent property values 'Incisive' and 'ModelSim', as summarized in the following table.
| Current Property Value | Deprecated Property Value |
|---|---|
| generatehdl(filterObj, 'GenerateCosimModel','Incisive' ); | generatehdl(filterObj, 'GenerateCosimModel','IN' ); |
| generatehdl(filterObj, 'GenerateCosimModel','ModelSim' ); | generatehdl(filterObj, 'GenerateCosimModel','MQ' ); |
Replace any occurrences of 'IN' and 'MQ' in your control files and scripts with the new property values 'Incisive' and 'ModelSim'. In R2009b, the coder issues a warning if it encounters the old property values during code generation. In subsequent releases, use of the old property values will raise an error.
The coder now supports use of complex coefficients and complex input signals for additional filter structures. In many cases, you can use complex data and complex coefficients in combination. The following table shows the added filter structures that support complex data and/or coefficients, and the permitted combinations.
| Filter Structure | Complex Data | Complex Coefficients | Complex Data and Coefficients |
|---|---|---|---|
| dfilt.df1sos | Y | Y | Y |
| dfilt.df1tsos | Y | Y | Y |
| dfilt.df2sos | Y | Y | Y |
| dfilt.df2tsos | Y | Y | Y |
| mfilt.holdinterp | Y | Y | N/A |
| mfilt.firsrc | Y | Y | Y |
| mfilt.firtdecim | Y | Y | Y |
The coder also supports use of complex data and complex coefficients in combination for the mfilt.firdecim and mfilt.firinterp filter structures. The following table summarizes complex data type support for these filter structures.
| Filter Structure | Complex Data | Complex Coefficients | Complex Data and Coefficients |
|---|---|---|---|
| mfilt.firdecim | Y | Y | Y (newly supported) |
| mfilt.firinterp | Y | Y | Y (newly supported) |
For a list of filter structures supporting complex data, coefficients or both, see in the Filter Design HDL Coder documentation.
R2009b adds the following GUI options supporting use of complex data and coefficients.
The Input complexity menu lets you select or disable generation of ports and signal paths for the real and imaginary components of a complex signal. The Input complexity setting defaults to Real, disabling generation of ports for complex input data. To enable generation of ports for complex input data, set Input complexity to Complex.
The Complex real part postfix option (corresponding to the ComplexRealPostfix command-line property) specifies a string appended to names generated for the real part of complex signals. The default postfix is '_re'.
The Complex imaginary part postfix option (corresponding to the ComplexImagPostfix command-line line property) specifies a string appended to names generated for the imaginary part of complex signals. The default postfix is '_im'.
See also in the Filter Design HDL Coder documentation.
The coder now supports generation of cosimulation models for multirate filters. In previous releases, the coder supported generation of cosimulaton models for single-rate models only.
For FIR filters with serial architectures, the coder now supports generation of a single-port or dual-port RAM interface for loading coefficients. Previous releases supported programmable coefficients stored in a register file.
For detailed information, see in the Filter Design HDL Coder documentation.
![]() | Version 2.6 (R2010a) Filter Design HDL Coder Software | Version 2.4 (R2009a) Filter Design HDL Coder Software | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |