HLS Pragma(3)config_storage
config_storage only supports FIFO types.
Descrption
設(shè)置Vitis HLS微架構(gòu)FIFO存儲(chǔ)元素與內(nèi)存資源綁定的全局默認(rèn)選項(xiàng)。
通過為特定的設(shè)計(jì)元素指定BIND_STORAGE pragma或指令,或者為接口上的對(duì)象指定INTERFACE pragma或指令的storage_typeoption,可以覆蓋由config_storage為FIFO存儲(chǔ)定義的默認(rèn)配置。
Syntax
config_storage [OPTIONS] <type> //Configures the fifio typeOptions
?-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總結(jié)
以上是生活随笔為你收集整理的HLS Pragma(3)config_storage的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: HLS pragmas(1)bind_s
- 下一篇: zynqNet整体思路框架