Main Content

Split entity file postfix

Text to be appended to model name to form name of generated entity file

Model Configuration Pane: Global Settings / General

Description

Enter a character vector to be appended to the model name to form the name of a generated VHDL® entity file.

You can specify an empty character vector for either the Split entity file postfix or the Split arch file postfix. Both VHDL entity and architecture files cannot have empty postfix values. When you specify both values, make sure that you use different values for the Split entity file postfix and the Split arch file postfix.

If you input special characters for Split entity file postfix, the code generator changes the entity name to a valid HDL name before generating code.

Dependencies

This parameter is enabled by selecting the Split entity and architecture check box. When you select this check box, HDL Coder™ places the VHDL entity and architecture code in separate files.

Settings

_entity (default) | character vector

Default: _entity

Tips

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

For example:

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

    makehdl(gcb,'SplitEntityFilePostfix','_ent')
  • When you use hdlset_param, you can set the parameter on the model and then generate HDL code using makehdl.

    hdlset_param(gcs,'SplitEntityFilePostfix','_ent')
    makehdl('myDUT')

Recommended Settings

No recommended settings.

Programmatic Use

Parameter: SplitEntityFilePostfix
Type: character vector
Default: '_entity'

Version History

Introduced in R2012a