Main Content

Speed

Specify target device speed value

Model Configuration Pane: Target

Description

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.

Tips

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 parameter 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 using makehdl.

    hdlset_param('sfir_fixed','SynthesisToolSpeedValue', '-1')
    makehdl('sfir_fixed/symmetric_fir')

Recommended Settings

No recommended settings.

Programmatic Use

Parameter: SynthesisToolSpeedValue
Type: character vector
Value: A valid speed value for the target device
Default: ' '

Version History

Introduced in R2014a