Burst Inference Failure 4 - 2020.2 English

Vitis HLS Messaging (UG1448)

Document ID
UG1448
Release Date
2020-11-24
Version
2020.2 English

Explanation

Consider modifying the storage size of the identified data type to a storage size of N bits, where N is a power of 2 and in the following bit range: ( 8 <= N <= 1024 ).

Example

//////////// ORIGINAL ////////////
#include <ap_int.h>
void foo(ap_int<21> *a, ap_int<21> *b) {
  for (long i = 0; i < 256; ++i)
    b[i] = a[i];
}

//////////// UPDATED ////////////
// Use 'int' instead of 'ap_int<24>'
void foo(int *a, int *b) {
  for (long i = 0; i < 256; ++i)
    b[i] = a[i];
}