Burst Inference Failure 8 - 2020.1 English

Vitis HLS Messaging (UG1448)

Document ID
UG1448
Release Date
2020-06-03
Version
2020.1 English

Explanation

When accessing the M_AXI arrays, it is required to maintain a sequential and continuous access pattern or burst inferencing can fail. Ensure that the code accesses the array sequentially and in the same order.

Example

//////////// ORIGINAL ////////////
void foo(int *a, int *b) {
  for (long i = 0; i < 256; ++i)
    b[i*4] = a[i*4] ;
}
 
//////////// UPDATED ////////////
// Use continuous accesses
void foo(int *a, int *b) {
  for (long i = 0; i < 256; ++i)
    b[i] = a[i] ;
}