Tool and Device Parameters
This page describes configuration parameters in the Tool and Device section of the HDL Code Generation > Target pane of the Configuration Parameters dialog box. By using the parameters in this section, you can specify the synthesis tool, and then select the Family, Device, Package, and Speed for your synthesis target.
Synthesis Tool
Specify the synthesis tool for targeting the generated HDL code. To use
HDL Coder™ with one of the supported third-party FPGA synthesis tools, add the
tool to the system path using the hdlsetuptoolpath
function.
When you specify the Synthesis Tool, HDL Coder populates the Family,
Device, Package, and
Speed with default values for that tool.
Settings
Default:
No synthesis tool specified
The options are:
No synthesis tool specified
Select this option if you do not want to perform logic synthesis. You can generate HDL code from your design.
Xilinx Vivado
Specify Xilinx® Vivado as the synthesis tool.
Xilinx ISE
Specify Xilinx ISE as the synthesis tool.
Altera Quartus II
Specify Altera® Quartus II as the synthesis tool.
Microchip Libero SoC
Specify Microchip Libero® SoC as the synthesis tool.
Intel Quartus Pro
Specify Intel® Quartus® Pro as the synthesis tool.
If your synthesis tool is not one of the Synthesis tool options, see Synthesis Tool Path Setup.
Command-Line Information
Property:
SynthesisTool |
Type: character vector |
Value:
'' | 'Xilinx Vivado' 'Xilinx
ISE' 'Altera Quartus II' |
Default:
'' |
To set this property, use the functions hdlset_param
or makehdl
. To view the property value, use
the function hdlget_param
.
For example, you can specify Altera Quartus II
as the
SynthesisTool
when you generate HDL code for the
symmetric_fir
subsystem inside the
sfir_fixed
model using either of these methods.
Pass the property as an argument to the
makehdl
function.makehdl('sfir_fixed/symmetric_fir', ... 'SynthesisTool','Altera Quartus II')
When you use
hdlset_param
, you can set the parameter on the model and then generate HDL code usingmakehdl
.hdlset_param('sfir_fixed','SynthesisTool','Altera Quartus II') makehdl('sfir_fixed/symmetric_fir')
See Also
Family
Specify the target device chip family for your model as a character vector. When
you specify the Synthesis Tool, HDL Coder populates the Family,
Device, Package, and
Speed with default values for that tool. To find the chip
family for your target device, at the MATLAB® command line, enter hdlcoder.supportedDevices
.
Then, open the linked report and find your target device details.
Settings
Default:
''
Specify the target device chip family for your Simulink® model as a character vector.
Command-Line Information
Property:
SynthesisToolChipFamily |
Type: character vector |
Value: A valid chip family for the target device |
Default:
'' |
For example, if your SynthesisTool
is Xilinx
Vivado
, you can specify Virtex7
as the
SynthesisToolChipFamily
when you generate HDL code for
the symmetric_fir
subsystem inside the
sfir_fixed
model using either of these methods.
Pass the property as an argument to the
makehdl
function.makehdl('sfir_fixed/symmetric_fir', ... 'SynthesisToolChipFamily', 'Virtex7')
When you use
hdlset_param
, you can set the parameter on the model and then generate HDL code usingmakehdl
.hdlset_param('sfir_fixed','SynthesisToolChipFamily', 'Virtex7') makehdl('sfir_fixed/symmetric_fir')
See Also
Device
Specify the target device name for your model as a character vector. When you
specify the Synthesis Tool, HDL Coder populates the Family,
Device, Package, and
Speed with default values for that tool. To find the device
name for your target device, at the MATLAB command line, enter hdlcoder.supportedDevices
.
Then, open the linked report and find your target device details.
Settings
Default:
''
Specify the target device name for your Simulink model as a character vector.
Command-Line Information
Property:
SynthesisToolDevicename |
Type: character vector |
Value: A valid device name for the synthesis tool |
Default:
'' |
You can get the SynthesisToolDeviceName
when you specify
the SynthesisTool
for your model. Consider that the
SynthesisTool
is set to Xilinx
Vivado
and the SynthesisToolChipFamily
is set
to Virtex7
.
To get the default device name. pass the property as an argument to the
hdlget_param
function.hdlget_param('sfir_fixed', ... 'SynthesisToolDeviceName')
When you use
hdlset_param
, you can set the parameter on the model and then generate HDL code usingmakehdl
.hdlset_param('sfir_fixed','SynthesisToolDeviceName', 'xc7v2000t') makehdl('sfir_fixed/symmetric_fir')
See Also
Package
Specify the target device package name for your model as a character vector. When
you specify the Synthesis Tool, HDL Coder populates the Family,
Device, Package, and
Speed with default values for that tool. To find the device
name for your target device, at the MATLAB command line, enter hdlcoder.supportedDevices
.
Then, open the linked report and find your target device details.
Settings
Default:
''
Specify the target device package name for your Simulink model as a character vector.
Command-Line Information
Property:
SynthesisToolPackageName |
Type: character vector |
Value: A valid package name for the synthesis tool |
Default:
'' |
You can get the SynthesisToolPackageName
when you specify
the SynthesisTool
for your model. Consider that the
SynthesisTool
is set to Xilinx
Vivado
and the SynthesisToolChipFamily
is set
to Virtex7
.
To get the default device name. pass the property as an argument to the
hdlget_param
function.hdlget_param('sfir_fixed', ... 'SynthesisToolPackageName')
When you use
hdlset_param
, you can set the parameter on the model and then generate HDL code usingmakehdl
.hdlset_param('sfir_fixed','SynthesisToolPackageName', 'fhg1761') makehdl('sfir_fixed/symmetric_fir')
See Also
Speed
Specify the target device speed value for your model as a character vector. When
you specify the Synthesis Tool, HDL Coder populates the Family,
Device, Package, and
Speed with default values for that tool. To find the chip
family for your target device, at the MATLAB command line, enter hdlcoder.supportedDevices
.
Then, open the linked report and find your target device details.
Settings
Default:
''
Specify the target device speed value for your Simulink model as a character vector.
Command-Line Information
Property:
SynthesisToolSpeedValue |
Type: character vector |
Value: A valid speed value for the target device |
Default:
'' |
You can get the SynthesisToolSpeedValue
when you specify
the SynthesisTool
for your model. Consider that the
SynthesisTool
is set to Xilinx
Vivado
and the SynthesisToolChipFamily
is set
to Virtex7
.
To get the default device name. pass the property as an argument to the
hdlget_param
function.hdlget_param('sfir_fixed', ... 'SynthesisToolSpeedValue')
When you use
hdlset_param
, you can set the parameter on the model and then generate HDL code usingmakehdl
.hdlset_param('sfir_fixed','SynthesisToolSpeedValue', '-1') makehdl('sfir_fixed/symmetric_fir')