MAXI Offset - 2020.2 English

Vitis High-Level Synthesis User Guide (UG1399)

Document ID
UG1399
Release Date
2021-03-22
Version
2020.2 English
  • Fully Specified Offset: This rule adheres to the user-specified offset settings in the pragma.
  • No-offset Specified: If maxi offset is not specified in the pragma, the global config option: config_interface -m_axi_offset <off/direct/slave> will impact the offset rules.
    • Rule 1: User-specified SAXI Lite: This rule explicitly groups all the maxi offsets into user-specified AXI_lite port, for which the MAXI offset=<slave>.
      void top(int *a) {
      #pragma HLS interface m_axi port=a
      #pragma HLS interface s_axilite port=a
      }
    • Rule 2: No SAXI LITE: This rule explicitly groups all the maxi offsets into the tool default offset.
      • For Vitis: offset = slave
      • For Vivado: offset = off
      • User Specified: config_interface -m_axi_offset direct
      void top(int *a, int *b) {
      #pragma HLS interface m_axi port=a bundle=M0
      #pragma HLS interface m_axi port=b bundle=M0
      }