config_storage

Description

Sets the default options for Vitis HLS micro-architecture binding of storage elements to memory resources, and specify its latency.

Binding is the process in which operators, such as addition, multiplication, and storage, are mapped to specific RTL implementations. This command configures the mapping of storage types to actual implementation choices on the device. The command can be used multiple times to configure the default binding of different storage types to different implementation resources.

The default configuration defined by config_storage 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>

Options

<type>
Configure the fifo type.
-auto_srl_max_bits <value>
Set FIFO auto srl impl selection upper bound for total bits (depth*width). The default is 1024.
-auto_srl_max_depth <value>
Set FIFO auto srl impl selection upper bound for depth. The default is 2.
-impl [autosrl | 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