config_array_partition - 2020.2 English

Vitis High-Level Synthesis User Guide (UG1399)

Document ID
UG1399
Release Date
2021-03-22
Version
2020.2 English

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 or set_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