Conflicting Constraints - 2022.1 English

Vitis HLS Messaging (UG1448)

Document ID
UG1448
Release Date
2022-06-22
Version
2022.1 English

Description

Thid message reports that the tool is ignoring the array partition directive because of conflicting pragmas.

Solution

Conflicting pragmas in the user code is causing the array partition constraint to be ignored.

Review the pragmas and remove either one of them. The following code sample could lead to this warning:

void cnn( long *pixel, // Input pixel
  int *weights, // Input Weight Matrix
  long *out, // Output pixel
  ... // Other input or Output ports
            
...
int A[256];
#pragma HLS RESOURCE variable=A core=BRAM_T2P latency=3
#pragma HLS ARRAY_RESHAPE variable=A complete dim=1