config_storage - 2023.2 English

Vitis High-Level Synthesis User Guide (UG1399)

Document ID
Release Date
2023.2 English


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.


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


-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.


The following example configures the default binding of fifo:

config_storage fifo -impl uram