PLIO - 2024.1 English

Vitis Libraries

Release Date
2024.1 English

A PLIO port attribute is used to make external stream connections that cross the AI Engine to programmable logic (PL) boundary. The following example shows how the PLIO attributes shown in the previous table can be used in a program to read input data from a file or write output data to a file. The PLIO width and frequency of the PLIO port are also provided in the PLIO constructor. For more details refer to PLIO Attributes.

//Virtual platform ports
inptr = input_plio::create("DataIn1", adf::plio_128_bits, "data/input_128x16.txt");
outptr = output_plio::create("DataOut1", adf::plio_128_bits, "data/output.txt");

//Virtual platform connectivity
connect<parameter>(kernelCoefficients, async([1]));