You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
dritoto 78a39616c2 annotate debug info 1 year ago
examples update examples in 1 year ago
hardware add bit 1 year ago
models update 1 year ago
patch update op.patch 1 year ago
tvm @ 760e9b2b04 mv relay-frontend to examples 1 year ago
varecc annotate debug info 1 year ago
.gitignore update readme 1 year ago
.gitmodules add submodule 1 year ago
Makefile remove git pull 1 year ago fix typo in readme 1 year ago fix PWD typo in 1 year ago


Deep Learning Accelerator Stack


  1. varecc/ includes varec compiler, runtime driver source files.
  2. examples/ includes some end-to-end examples
  3. models/ includes pre-built YOLO models
  4. hardware/ includes pre-built hardware bitstreams
  5. patch/ includes some patches of tvm.


  1. Check TVM for dependencies.
  2. Run make to clone tvm and build.
  3. Set environment variables in and run source



  1. Set “TARGET” to “sim” in “varecc/config/varec_config.json”
  2. Remake by “cd tvm/build && make varec”
  3. In examples directory, run “python3”

On-board (Pynq images)

  1. Copy varecc/ and tvm/(without build/) to Pynq (/home/xilinx/)
  2. (On Pynq)Set “TARGET” to “pynq” in “varecc/config/varec_config.json”
  3. Add varecc/VAREC.cmake into tvm/CMakeLists.txt
  4. In tvm directory, “mkdir build && cp cmake/config.cmake build/ && cd build && make runtime varec”
  5. Change to varecc directory, run “sudo ./scripts/” to start RPC
  6. (On the host)Set “TARGET” to “pynq” in “varecc/config/varec_config.json”
  7. In examples directory, run “python3”


No Description

Python C++ C CMake INI other