[hls] header. Directives, or the syn.directive.xxx
commands allow you to customize the synthesis results for the same source code
across multiple implementations. Change the directives to change the results. The
syn.directive.xxx commands are for use in
config files with the Vitis Unified IDE. See Building and Running
an HLS Component in the
Vitis High-Level Synthesis User Guide (UG1399).
Directives applied through a configuration file must include a
<location> as an argument to the
directive. The <location> defines what
element of the source code the directive applies to, such as function, loop, region,
or variable.
syn.directive.xxx commands include the location and the arguments for
the directive. For example:
syn.directive.pipeline=dct2d II=4
Where dct2d is the location
(function name) to apply the PIPELINE directive to, and II=4 is one of the possible
arguments to the directive.