Main Content

Inline VHDL® configuration

Specify if generated VHDL code includes inline configurations

Model Configuration Pane: HDL Code Generation / Global Settings / Coding style

Description

The Inline VHDL configuration parameter specifies whether the generated VHDL code includes inline configurations.

Dependencies

To enable this parameter, set Language to VHDL.

Settings

on (default) | off
on

Include VHDL configurations in files that instantiate a component.

off

Suppress the generation of configurations and require user-supplied external configurations. Use this setting if you create your own VHDL configuration files.

Tips

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

HDL configurations can be either inline with the rest of the VHDL code for an entity, or external in separate VHDL source files. By default, HDL Coder™ includes the configurations for a model in the generated VHDL code. If you create your own VHDL configuration files, suppress the generation of inline configurations.

Programmatic Use

Parameter: InlineConfigurations
Type: character vector
Value: 'on' | 'off'
Default: 'on'

Version History

Introduced in R2012a