FPGA AI Suite: IP Reference Manual

ID 768974
Date 9/06/2024
Public
Document Table of Contents

3.4. IP Generation Utility Command Line Options

The actions of the IP generation utility (dla_create_ip command) are controlled primarily by the --flow option. Depending on your choice for the --flow option, you might need to specify other command options.

The --flow Option

This option specifies the IP generation utility execution flow to run.

Syntax
--flow <flow>

Where <flow> specifies the execution flow to run.

Valid values
Default Value
create_ip

The --arch Option

This option specifies one or more FPGA AI Suite architecture description files (.arch) to use in the flow.

If you specify this option, you cannot specify the --arch_dir option.

Syntax
--arch <architecture> [<architecture2>] [<architecture3] ...

For the create_ip and add_arch flows, specify a path to the architecture description file or files to add to an IP library.

For the remove_arch flow, specify the name of the architecture description file or files to remove from an IP library.

The --arch_dir Option

Use this option with the create_ip and add_arch flows to specify the path to a directory that contains architecture description files. If you specify this option, the IP generation utility adds each architecture in the specified directory to the FPGA AI Suite IP library.

If you specify this option, you cannot specify the --arch option.

Syntax
--arch_dir <path_to_arch_folder>

The --ip_dir Option

This option specifies the path of the FPGA AI Suite IP library directory to use in the flow.

In the create_ip flow, this directory is created if it does not exist. For all other flows, the specified IP library directory must exist.

Syntax
--ip_dir <ip_directory>
Default Value
<ai_suite_root>/ip

The --unlicenced/--licenced Options

Generate an unlicensed or licensed copy of the FPGA AI Suite IP:
  • Unlicensed IP: Unlicensed IP has a limit of 10000 inferences. After 10000 inferences, the unlicensed IP refuses to perform any additional inference and a bit in the CSR is set. For details about the CSR bit, refer to DMA Descriptor Queue.
  • Licensed IP: Licensed IP has no inference limitation.

If you generate a licensed copy of the IP but do not have a license, then Quartus cannot to generate a programming bitstream for your FPGA.

If neither option is specified, then the tool queries the lmutil license manager to determine the correct option.

Syntax

--unlicenced

--licenced

The --overwrite Option

For the create_ip flow, use this option to overwrite the IP library directory when you specify an existing IP library directory.

If you specify an existing directory with the create_ip flow and do not specify the --overwrite option, you are asked if you want to overwrite the directory.

Syntax
--overwrite