Fundamental HDL Code Generation Properties
Customize filter name, destination folder, and specify target language
With the fundamental HDL code generation properties, you can customize filter name, destination folder, and specify the target language.
Specify these properties as
name-value arguments to the generatehdl
function.
Name
is the property name and Value
is the
corresponding value. You can specify several name-value arguments in any order as
'Name1',Value1,...,'NameN',ValueN
.
For example:
fir = dsp.FIRFilter('Structure','Direct form antisymmetric'); generatehdl(fir,'InputDataType',numerictype(1,16,15),'TargetLanguage','Verilog');
Target
Language-Specific
Data Types
Tips
If you use the fdhdltool
function to
generate HDL code, you can specify the input and fractional delay data types
as arguments, and then set additional properties in the Generate HDL dialog
box.
Property | Location in Dialog Box |
---|---|
Language | Target section at top of dialog box |
Name | |
Folder | |
Verilog file extension | Global Settings tab |
VHDL file extension |
Version History
Introduced before R2006a