Main Content

Complex Signals Postfix Parameters

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

Complex real part postfix

Specify the character vector to append to real part of complex signal names.

Settings

Default: '_re'

Enter a text to be appended to the names generated for the real part of complex signals.

Command-Line Information

Property: ComplexRealPostfix
Type: character vector
Default: '_re'

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

To append a postfix '_repart' to the generated pipeline register names, use either of these methods:

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

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

    hdlset_param(gcs,'ComplexRealPostfix','_repart'')
    makehdl('myDUT')

Complex imaginary part postfix

Specify character vector to append to imaginary part of complex signal names.

Settings

Default: '_im'

Enter a character vector to be appended to the names generated for the imaginary part of complex signals.

Command-Line Information

Property: ComplexImagPostfix
Type: character vector
Default: '_im'

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

To append a postfix '_impart' to the generated pipeline register names, use either of these methods:

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

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

    hdlset_param(gcs,'ComplexImagePostfix','_impart')
    makehdl('myDUT')