Main Content

Instance prefix

Prefix to generated component instance names

Model Configuration Pane: Global Settings / General

Description

Specify prefix to generated component instance names.

Dependencies

Instance prefix option is disabled when you select the HDL coding standard configuration parameter to Industry.

Settings

'u_' (default) | character vector

Default: 'u_'

Specify the prefix as a character vector. HDL Coder™ appends the prefix to component instance names in generated code.

Tips

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

Recommended Settings

No recommended settings.

Programmatic Use

Parameter: InstancePrefix
Type: character vector
Default: 'u_'

Version History

Introduced in R2012a