Description
Specifies the default behavior for array partitioning.
Syntax
config_array_partition [OPTIONS]
Options
-
-auto_partition_threshold <int>
- Sets the threshold for partitioning arrays, including those
without constant indexing. Arrays with fewer elements than the specified
threshold limit are partitioned into individual elements, unless
set_directive_interface
orset_directive_bind_storage
is applied on the array. The default setting is 4 when-auto_partition_threshold
is not specified. -
-auto_promotion_threshold <int>
- Sets the threshold for partitioning arrays with constant-indexing. Arrays with fewer elements than the specified threshold limit, and that have constant-indexing (the indexing is not variable), are partitioned into individual elements. The default is 64.
Examples
Partitions all arrays in the design, except global arrays, with less than 12 elements into individual elements.
config_array_partition -auto_partition_threshold 12