graph = vfs.aieGraph( input_file="<path-to-your-graph>.cpp", include_paths=["include/aie", "include/dsp"], Xpreproc=["-DFFT_SIZE=1024", "-DUSE_OPTIMIZATION"], ) # Config file form graph = vfs.aieGraph(config_file="mySub.cfg") # Reuse an existing build graph = vfs.aieGraph(vfs_build_dir="vfs_work/mySub_d6bc4007/vfsBuildDir") A minimal mySub.cfg looks like this: input_files = <path-to-your-graph>.cpp include = <path-to-your-includes> part = xcvc1902-vsva2197-1LP-e-S target = x86sim aie.Xpreproc = -DFFT_SIZE=1024 aie.Xpreproc = -DUSE_OPTIMIZATION