Integrate third-party EDA tools into filter design workflow
With the synthesis and workflow automation properties, you can enable and customize the generation of script files for third-party Electronic Design Automation (EDA) tools.
These scripts let you compile, simulate, and synthesize the generated HDL code. You can
modify the commands that the coder prints to the scripts by setting the properties on this
page. The coder passes the property values to fprintf
to create the script.
You can use control characters supported by the fprintf
function. For
example, '\n'
inserts a new line into the script file.
Specify these properties as
comma-separated pairs of Name,Value
arguments to the generatehdl
function. Name
is the property name and
Value
is the corresponding value. Name
must appear
inside single quotes (' '
). You can specify several name and value pair
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),'VHDLLibraryName','my_work');
If you use the function fdhdltool
to generate HDL code, you can set the
corresponding properties in the Generate HDL dialog box.
Property | Location in Dialog Box |
---|---|
Compilation script | EDA Tool Scripts tab, left pane.
(VHDLLibraryName property does not have a corresponding
option in the dialog box.) |
Simulation script | EDA Tool Scripts tab, left pane. To access simulation flags, see Test Bench > Configuration tab. |
Synthesis script | EDA Tool Scripts tab, left pane. |