Search code examples
vivadovivado-hls

Big size array in Vivado_HLS?


Is it possible to have an big size array like arr[200000] as output in top function of Vivado_HLS.


Solution

  • Yes BUT:

    • which kind of "type" are the elements of the array? int? char? a single bit?
    • which kind of interface do you want to use? if you want pass all the elements at the same time, the operation may be impossible because maybe you don't have enough space on the fpga. If you are using a streaming or serial interface you can do this.

    Normally you don't have this kind of limitation but you should evaluate, case by case, what is the best solution with the hardware that you have.