FileIO - 2021.2 English

Versal ACAP AI Engine Programming Environment User Guide (UG1076)

Document ID
UG1076
ft:locale
English (United States)
Release Date
2021-12-17
Version
2021.2 English

This class represents the I/O port attribute specification used to connect an external file to a graph input or output port for simulation purposes.

Constructor

FileIO(std::string data_file);
FileIO(std::string logical_name, std::string data_file);

The data_file argument is the path name of an external file relative to the application project directory that is opened for input or output during simulation. The logical_name must be the same as the annotation field of the corresponding port as presented in the logical architecture interface specification.