config_unroll - 2022.2 English

Vitis High-Level Synthesis User Guide (UG1399)

Document ID
UG1399
Release Date
2022-12-07
Version
2022.2 English

Description

Automatically unroll loops based on the loop index limit (or tripcount).

Syntax

config_unroll [OPTIONS] <value>

Options

-tripcount_threshold <value>
All loops which have fewer iterations than the specified value are automatically unrolled. The default value is 0.

Example

The following command ensures all loops which have fewer than 18 iterations are automatically unrolled during scheduling.

config_unroll -tripcount_threshold 18