generatehdl
Generate HDL code for quantized filter (To be removed)
generatehdl function will be removed in a future release. Instead, use the DSP HDL IP Designer (DSP HDL Toolbox) app, System objects, or Simulink® blocks from DSP HDL Toolbox™. To generate HDL code from DSP HDL Toolbox algorithms, you must also have the HDL Coder™ product.
Syntax
Description
generatehdl(
generates HDL code for the specified filter System object™ and the input data type, filtSO
,'InputDataType',nt
)nt
.
The generated file is a single source file that includes the entity declaration
and architecture code. You can find this file in your current working folder, inside
the hdlsrc
subfolder.
generatehdl(
generates HDL
code for the specified filterObj
)dfilt
filter object using default
settings.
generatehdl(___,Name,Value)
uses optional
name-value arguments, in addition to the input arguments in previous syntaxes. Use
these properties to override default HDL code generation settings.
To customize filter name, destination folder, and to specify target language, see Fundamental HDL Code Generation Properties.
To configure coefficients, complex input ports, and optional ports for specific filter types, see HDL Filter Configuration Properties.
To optimize the speed or area of generated HDL code, see HDL Optimization Properties.
To customize ports, identifiers, and comments, see HDL Port and Identifier Properties.
To customize HDL constructs, see HDL Construct Properties.
To generate and customize test bench, see HDL Test Bench Properties.
To integrate third-party EDA tools into the filter design workflow, see HDL Synthesis and Workflow Automation Properties.
Examples
Input Arguments
Alternatives
You can use the fdhdltool
function to generate HDL code
instead (requires Filter Design HDL Coder™). Specify the input and fractional delay data types as arguments, and then set
additional properties in the Generate HDL dialog box.
Version History
Introduced before R2006a