Burst Inference Failure 4 - 2022.2 English

Vitis HLS Messaging (UG1448)

Document ID
UG1448
Release Date
2022-12-16
Version
2022.2 English

Description

Warning: [214-226] Non byte size access is unsupported (DebugLoc).

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];
}