The ADF graph (or simply “graph”) contains information on how the AIE kernel communicates with the outside world. The tools use the information in this file to manage the resources (memory, ports, stream connections, and more) that the kernel uses.
class theGraph : public graph { // inherit properties of adf::graph
private:
// kernel declarations
public:
// port declarations
theGraph() { // constructor
// kernel definitions
// source code definitions
// runtime ratio declarations
// source/destination files for simulating input/output ports
// declare connections
// declare buffer dimensions (optional)
// declare constraints (optional)
}
};