This project enables development and simulation of compute graphs for AMD Versal SoCs without AMD's official toolchain. The cgsim library provides a compute graph simulator, while the graph extractor can convert cgsim-based compute graphs into AMD Versal AIE projects (as well as HLS in the future).
Requirements:
- CMake >= 3.25
- Clang >= 16
- Ninja
- GNU ld
- Boost
Additionally, if you copy or link the aietools directory from a recent Vitis install into the root directory of this project, it will build a set of AIE-specific examples.
To build:
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_C_COMPILER=clang-16 -DCMAKE_CXX_COMPILER=clang++-16 -DCMAKE_EXPORT_COMPILE_COMMANDS=ON ..
ninja
- Run
scripts/run-{example_name}.shto test cgsim. - Run
scripts/extract-{example_name}.shto test the graph extractor. Resulting Vitis project files are placed inoutput/{example_name}.