Burst Inference Failure 5 - 2023.2 English

Vitis HLS Messaging (UG1448)

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

Description

Warning: [214-227] Volatile or Atomic access cannot be transformed (DebugLoc).

Explanation

The current bursting algorithm will reject parameters that are declared with the volatile or atomic type qualifier. Consider rewriting the code to remove these qualifiers.

Example

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