HLS Pragma(3)config_storage

config_storage only supports FIFO types.

Descrption

设置Vitis HLS微架构FIFO存储元素与内存资源绑定的全局默认选项。
通过为特定的设计元素指定BIND_STORAGE pragma或指令,或者为接口上的对象指定INTERFACE pragma或指令的storage_typeoption,可以覆盖由config_storage为FIFO存储定义的默认配置。

Syntax

config_storage [OPTIONS] <type> //Configures the fifio 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-srlimplementation (-impl autosrl). The default is 2.
•-impl [autosrl | bram | lutram | uram | memory | srl]: Defines the deviceresource to use in binding the specified type.

Examples

The following example configures the default binding of fifo:

config_storage fifo -impl uram

猜你喜欢

转载自blog.csdn.net/wzx_numberone/article/details/119454243
HLS