AR# 50496

Vivado HLS - When a directive is applied, does it propagate down the levels in the code?

Description

When a directive is applied, does it propagate down the levels in the code?

Solution

Most directives are applied on scope basis; within a function, within a loop, or within a region bounded by { }. Therefore, directives applied on the top level will not propagate down the hierarchy.

Exceptions:

"INLINE" - One level of hierarchy is removed. If the -recursive option is applied, all lower levels will be impacted as well unless the sub-functions have an overriding directive to set it off.

"PIPELINE" - Requires all loops in the hierarchy below to be unrolled.

Linked Answer Records

Master Answer Records

Answer Number Answer Title Version Found Version Resolved
47431 Xilinx Vivado HLS Solution Center - Design Assistant N/A N/A
AR# 50496
Date 10/05/2012
Status Active
Type Solution Center
Tools More Less