Main Content

Split arch file postfix

Text to be appended to model name to form name of generated architecture 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® architecture file.

You can specify an empty character vector for either the Split arch file postfix or the Split entity 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 arch file postfix, the code generator changes the architecture 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

_arch (default) | character vector

Default: _arch

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,'SplitArchFilePostfix','_arch1')
  • When you use hdlset_param, you can set the parameter on the model and then generate HDL code using makehdl.

    hdlset_param(gcs,'SplitArchFilePostfix','_arch1')
    makehdl('myDUT')

Recommended Settings

No recommended settings.

Programmatic Use

Parameter: SplitArchFilePostfix
Type: character vector
Default: '_arch'

Version History

Introduced in R2012a