set_top

Description

Defines the top-level function to be synthesized.

IMPORTANT: Any functions called from the top-level function will also become part of the HLS design.

Syntax

set_top <top>
  • <top> is the name of the function to be synthesized by HLS.

Options

This command has no options.

Examples

Sets the top-level function as foo.

set_top foo