Main Content

Generate Statement and Vector and Component Instance Label Parameters

This page describes parameters that reside in the HDL Code Generation > Global Settings > General tab of the Configuration Parameters dialog box.

Block generate label

Specify postfix to block labels used for HDL GENERATE statements.

Settings

Default: '_gen'

Specify the postfix as a character vector. HDL Coder™ appends the postfix to block labels used for HDL GENERATE statements.

Command-Line Information

Property: BlockGenerateLabel
Type: character vector
Default: '_gen'

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

Output generate label

Specify postfix to output assignment block labels for VHDL® GENERATE statements.

Settings

Default: 'outputgen'

Specify the postfix as a character vector. HDL Coder appends this postfix to output assignment block labels in VHDL GENERATE statements.

Command-Line Information

Property: OutputGenerateLabel
Type: character vector
Default: 'outputgen'

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

Instance generate label

Specify text to append to instance section labels in VHDL GENERATE statements.

Settings

Default: '_gen'

Specify the postfix as a character vector. HDL Coder appends the postfix to instance section labels in VHDL GENERATE statements.

Command-Line Information

Property: InstanceGenerateLabel
Type: character vector
Default: '_gen'

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

Vector prefix

Specify prefix to vector names in generated code.

Settings

Default: 'vector_of_'

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

Command-Line Information

Property: VectorPrefix
Type: character vector
Default: 'vector_of_'

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

Instance postfix

Specify postfix to generated component instance names.

Settings

Default: '' (no postfix appended)

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

Command-Line Information

Property: InstancePostfix
Type: character vector
Default: ''

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

Instance prefix

Specify prefix to generated component instance names.

Settings

Default: 'u_'

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

Command-Line Information

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

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

Map file postfix

Specify postfix appended to file name for generated mapping file.

Settings

Default: '_map.txt'

Specify the postfix as a character vector. HDL Coder appends the postfix to file name for generated mapping file.

For example, if the name of the device under test is my_design, HDL Coder adds the postfix _map.txt to form the name my_design_map.txt.

Command-Line Information

Property: HDLMapFilePostfix
Type: character vector
Default: '_map.txt'

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