Storage Configuration - 2025.2 English - UG1702

Vitis Reference Guide (UG1702)

Document ID
UG1702
Release Date
2025-11-20
Version
2025.2 English

Sets the global default options for the HLS micro-architecture binding of FIFO storage elements to memory resources.

You can override the default configuration defined by syn.storage for FIFO storage by syn.directive.bind_storage for a specific design element. You can also override the default configuration by specifying the storage_type option for syn.directive.interface for objects on the interface.

syn.storage
See the following for the syntax of the syn.storage command.
syn.storage=fifo impl=auto auto_srl_max_bits=512 auto_srl_max_depth=3
  • syn.storage=fifo: Starts the command to configure FIFOs.
    Note: FIFO is the only type supported at this time.
  • impl=<value>: Specifies the implementation (impl) keyword followed by the value. When impl is not specified, the default is auto. The default value allows the Vitis tool to determine the best implementation for a given operator. The option supports auto, bram, lutram, uram, memory, and srl values.
  • auto_srl_max_bits=<value>: Only valid when for impl:auto (the default). Specifies the maximum allowed SRL total bits (depth * width) for auto implementations. The default is 1024.
  • auto_srl_max_depth=<value>: Specifies the maximum allowed SRL depth for auto-srl implementation. The default is 2.