config_unroll - 2021.1 English

Vitis High-Level Synthesis User Guide (UG1399)

Document ID
UG1399
Release Date
2021-06-16
Version
2021.1 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