Burst Inference Failure 1 - 2024.1 English

Vitis HLS Messaging (UG1448)

Document ID
UG1448
Release Date
2024-05-30
Version
2024.1 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