config_storage - 2024.2 English

Vitis High-Level Synthesis User Guide (UG1399)

Document ID
UG1399
Release Date
2024-11-13
Version
2024.2 English

Description

Sets the global default options for Vitis HLS micro-architecture binding of FIFO storage elements to memory resources.

The default configuration defined by config_storage for FIFO strorage can be overridden by specifying the BIND_STORAGE pragma or directive for a specific design element, or specifying the storage_type option for the INTERFACE pragma or directive for objects on the interface.

Syntax

config_storage [OPTIONS] <type>
<type>
Configures the fifo type.

Options

-auto_srl_max_bits <value>
Specifies the maximum allowed SRL total bits (depth * width) for auto-srl implementations (-impl autosrl). The default is 1024.
-auto_srl_max_depth <value>
Specifies the maximum allowed SRL depth for auto-srl implementation (-impl autosrl). The default is 2.
-impl [auto | bram | lutram | uram | memory | srl]
Defines the device resource to use in binding the specified type.

Examples

The following example configures the default binding of fifo:

config_storage fifo -impl uram