Burst Inference Failure 1 - 2023.2 English

Vitis HLS Messaging (UG1448)

Document ID
UG1448
Release Date
2023-10-18
Version
2023.2 English

Description

This message indicates that the interface pragma is incorrectly used.

Explanation

The code is violating a single-bundle mapping rules.

All arguments mapped to the same interface bundle require the same interface width unless automatic burst interface is disabled.

Solution

The following are examples of incorrect and correct bitwidth use. Use them to verify your code.

  • Incorrect bitwidth:
    void cnn( long *pixel, // Input pixel
      int *weights, // Input Weight Matrix
      int *out, // Output pixel
      ... // Other input or Output ports
                
    #pragma HLS INTERFACE m_axi port=pixel offset=slave bundle=gmem
    #pragma HLS INTERFACE m_axi port=weights offset=slave bundle=gmem1
    #pragma HLS INTERFACE m_axi port=out offset=slave bundle=gmem
  • Correct bitwidth:
    void cnn( long *pixel, // Input pixel
      int *weights, // Input Weight Matrix
      long *out, // Output pixel
      ... // Other input or Output ports
                
    #pragma HLS INTERFACE m_axi port=pixel offset=slave bundle=gmem
    #pragma HLS INTERFACE m_axi port=weights offset=slave bundle=gmem1
    #pragma HLS INTERFACE m_axi port=out offset=slave bundle=gmem