Compilation Options
The CLI tools can be built using the installation instructions. It provides the following options:
Kernel Name
The -n or --name option provides control over the name of the top level
kernel function generated to wrap the decls. The default kernel name is
kernel.
Output file
The -o or --out option tells the compiler to place the output in a new
file <out> instead of printing to STDOUT.
Backend
The -b or --backend allows changing the backend used for generating code.
Support backends are:
vivado: Generates code compatible with Vivado HLS.c++: Generate code that can be compiled into an executable.
run
The subcommand run requires the -o to be present. It automatically generates
a C++ file and links it with the json data parser. See "Generating
Executables" for more information.