Device - Specify target device name - MATLAB (original) (raw)
Main Content
Specify target device name
Model Configuration Pane: Target
Description
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
, andSpeed
with default values for that tool. To find the device name for your target device, at the MATLAB® command line, enterhdlcoder.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.
Tips
You can get the SynthesisToolDeviceName
when you specify the SynthesisTool
for your model. Consider that theSynthesisTool
is set toXilinx Vivado
and theSynthesisToolChipFamily
is set to Virtex7
.
- To get the default device name. pass the parameter 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')
Recommended Settings
No recommended settings.
Programmatic Use
**Parameter:**SynthesisToolDeviceName |
---|
Type: Character vector |
Value: A valid device name for the synthesis tool |
Default: ' ' |
Version History
Introduced in R2014a