Vitis Unified IDE provides a wizard to generate a single kernel graph prototype code. After creating an AI Engine component, open the AI Engine Component Settings on the AI Engine component and click on Generate AIE Prototype Code:
Figure 1. Generate AIE Prototype Code
In the Generate AIE Prototype Code wizard, you can specify the graph and kernel names, choose the input and output interface and data types.
Figure 2. Generate AIE Prototype Code Options
Click Generate Graph Code to generate a reusable graph code that other top‑level graphs can instantiate.
Click Generate Top Level graph and Simulation to
generate a top-level graph that includes input_plio,
output_plio and graph.cpp so you can compile
the generated top-level graph directly.