config_storage - 2020.2 English

Vitis High-Level Synthesis User Guide (UG1399)

Document ID
UG1399
Release Date
2021-03-22
Version
2020.2 English

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>
<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 [autosrl | bram | bram_ecc | lutram | uram | uram_ecc | 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