Main Content

Inline VHDL configuration

Specify if generated VHDL code includes inline configurations

Model Configuration Pane: Global Settings / Coding style

Description

Specify whether generated VHDL code includes inline configurations.

Dependencies

This option is enabled when the target language (specified by the Language option) is VHDL.

Settings

on (default) | off

Default: On

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 are creating 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 configurations for a model within the generated VHDL code. If you are creating your own VHDL configuration files, suppress the generation of inline configurations.

Recommended Settings

No recommended settings.

Programmatic Use

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

Version History

Introduced in R2012a