Skip to content

Latest commit

 

History

328 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cgsim compute graph prototyping library

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).

Building

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

Testing

  • Run scripts/run-{example_name}.sh to test cgsim.
  • Run scripts/extract-{example_name}.sh to test the graph extractor. Resulting Vitis project files are placed in output/{example_name}.

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages