Main Content
Concatenate type safe zeros
Syntax for concatenated zeros in generated VHDL code
Model Configuration Pane: Global Settings / Coding style
Description
Specify use of syntax for concatenated zeros in generated VHDL® code.
Dependencies
This option is enabled when the target language (specified by the Language option) is VHDL.
Settings
on
(default) | off
Default: On
on
Use the type-safe syntax,
'0' & '0'
, for concatenated zeros. Typically, this syntax is preferred.off
Use the syntax "
000000...
" for concatenated zeros. This syntax can be easier to read and more compact, but it can lead to ambiguous types.
Tips
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