Graph Code Structure - 2025.2 English - XD100

Vitis Tutorials: AI Engine Development (XD100)

Document ID
XD100
Release Date
2025-12-05
Version
2025.2 English

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)
  }
};