Forum Discussion
HLS compiler failed
Hi @lingxi10,
Apologies for the delayed in response, noted on the interfaces used.
After some investigation the size of the data bus can be defined with the sizeof.
More details can be found in the link below for the stream interface:
Hope that clarifty.
Best Wishes
BB
Hi,
Sorry for the late reply. My email is not giving me proper notifications for the update.
Sorry can you elabrate more on how to use sizeof? I didn't find much information from the link you provided. This is the struct I used for the streaming interface:
struct samples {
hls_register ac_int<DATAWIDTH, true> data[NCHAN];
hls_register float currSum;
};
using namespace ihc;
typedef ihc::stream_in<samples, ihc::usesReady<false>, ihc::usesValid<false>> sampleStream_t;
I think I already defined the size of the streaming input in the struct?