Storage Configuration - 2024.1 English

Vitis High-Level Synthesis User Guide (UG1399)

Document ID
UG1399
Release Date
2024-05-30
Version
2024.1 English

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

The default configuration defined by syn.storage for FIFO storage can be overridden by syn.directive.bind_storage for a specific design element, or specifying the storage_type option for syn.directive.interface for objects on the interface.

syn.storage
The syntax for the syn.storage command is as follows:
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, allowing the tool to determine the best implementation for a given operator. Supported values include: auto, bram, lutram, uram, memory, srl
  • 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.