Main Content

Clocked process postfix

Postfix as character vector

Model Configuration Pane: Global Settings / General

Description

Specify the postfix as a character vector. The code generator appends this postfix to HDL clock process names.

Settings

_process (default) | character vector

Default: _process

HDL Coder™ uses process blocks for register operations. The label for each of these blocks is derived from a register name and the postfix _process. For example, the code generator derives the label delay_pipeline_process in the following block declaration from the register name delay_pipeline and the default postfix _process.

delay_pipeline_process : PROCESS (clk, reset)
BEGIN
  .
  .
  .

Tips

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

For example, you can specify this property while generating HDL code for the symmetric_fir subsystem inside the sfir_fixed model using either of these methods.

  • Use hdlset_param to set the parameter on the model. Then generate HDL code using makehdl.

    hdlset_param('sfir_fixed','ClockProcessPostfix','delay_postfix')
    makehdl('sfir_fixed/symmetric_fir')

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

    makehdl('sfir_fixed/symmetric_fir','ClockProcessPostfix','delay_postfix')

Recommended Settings

No recommended settings.

Programmatic Use

Parameter: ClockProcessPostfix
Type: character vector
Default: '_process'

Version History

Introduced in R2012a

See Also