Main Content

Target Platform

Specify where to deploy generated HDL code

Since R2023b

Model Configuration Pane: Target

Description

Specify the target platform from which to deploy the generated HDL code. The Workflow and Synthesis Tool parameter values determine the available options for this parameter. When Workflow is set to Generic ASIC/FPGA, Target Platform has no options available.

Settings

' ' (Default)

Select the target platform from the drop-down menu options.

Tips

To set this property, use the functions hdlset_param or makehdl. To view the property value, use the function hdlget_param.

For example, to set a target platform to deploy the generated HDL code for the symmetric_fir subsystem inside the sfir_fixed model, use either of these methods:

  • Pass the parameter as an argument to the makehdl function.

    makehdl('sfir_fixed/symmetric_fir','TargetPlatform','Xilinx Zynq ZC702 evaluation kit')
  • Use hdlset_param to set the parameter on the model. Then generate HDL code using makehdl.

    hdlset_param('sfir_fixed','TargetPlatform','Xilinx Zynq ZC702 evaluation kit')
    makehdl('sfir_fixed/symmetric_fir')

Recommended Settings

No recommended settings.

Programmatic Use

Parameter: TargetPlatform
Type: Character vector
Value: A valid target platform
Default: ' '

Version History

Introduced in R2023b