Description
Unroll (syn.unroll.* / config_unroll)
Automatically unroll loops based on the loop index limit (or tripcount).
Syntax
| Option | Config File | Tcl | Default | Description |
|---|---|---|---|---|
| tripcount_threshold | syn.unroll.tripcount_threshold=<N> | config_unroll -tripcount_threshold <N> | 0 (disabled) | All loops which have fewer iterations than the specified value are automatically unrolled during scheduling. Set to 0 to disable automatic unrolling. |
Usage
ini
[hls]
syn.unroll.tripcount_threshold=18
tcl
config_unroll -tripcount_threshold 18
Example (UG1399):** Automatically unroll all loops with fewer than 18 iterations:
tcl
config_unroll -tripcount_threshold 18