12-24-2019 06:54 AM
I need to split a big hls:mat into 49 smaller hls:mat with a function syntax similar to below
splitup(hls::mat& input, hls::mat& output[49]) {
}
it is ok to "csim" with this function but when it is "synthesized", the following errors will occur:
ERROR: [SYNCHK 200-11] Variable 'output.data.V' has an unsynthesizable type '[49 x i24*]*' (possible cause(s): pointer to pointer or global pointer).
ERROR: [SYNCHK 200-61] unsupported memory access on variable 'output.data.V' which is (or contains) an array with unknown size at compile time.
It is very odd to create a function with 1+49 parameters. Any advices?
Eli
12-26-2019 06:11 PM
Hi @eewse ,
Pointers to pointers are supported for synthesis but not when used as an argument to the top-level function。
Did you set the splitup as the top-level function?
**~ Got a minute? Answer our Vitis HLS survey here! ~**
12-26-2019 06:11 PM
Hi @eewse ,
Pointers to pointers are supported for synthesis but not when used as an argument to the top-level function。
Did you set the splitup as the top-level function?
**~ Got a minute? Answer our Vitis HLS survey here! ~**
01-03-2020 01:51 AM