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 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總結
以上是生活随笔為你收集整理的HLS Pragma(3)config_storage的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: HLS pragmas(1)bind_s
- 下一篇: zynqNet整体思路框架