The ADF graph (or sometimes, 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, etc.) that are used by the kernel.
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)
}
};