UseAggregatesForConst

Specify whether constants are represented by aggregates, including constants that are less than 32 bits

Settings

'on'

Selected

Specify that constants, including constants that are less than 32 bits, be represented by aggregates. The following VHDL® code show a scalar less than 32 bits represented as an aggregate:

GainFactor_gainparam <= (14 => '1',  OTHERS => '0');

'off' (default)

Cleared(default)

Specify that HDL Coder™ represent constants less than 32 bits as scalars and constants greater than or equal to 32 bits as aggregates. The following VHDL code was generated by default for a value less than 32 bits:

GainFactor_gainparam <= to_signed(16384, 16);

Set or View This Property

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

Was this topic helpful?