Main Content

Concatenate type safe zeros

Syntax for concatenated zeros in generated VHDL code

Model Configuration Pane: Global Settings / Coding style


Specify use of syntax for concatenated zeros in generated VHDL® code.


This option is enabled when the target language (specified by the Language option) is VHDL.


on (default) | off

Default: On


Use the type-safe syntax, '0' & '0', for concatenated zeros. Typically, this syntax is preferred.


Use the syntax "000000..." for concatenated zeros. This syntax can be easier to read and more compact, but it can lead to ambiguous types.


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

Recommended Settings

No recommended settings.

Programmatic Use

Parameter: SafeZeroConcat
Type: character vector
Value: 'on' | 'off'
Default: 'on'

Version History

Introduced in R2012a