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 7 months ago
examples update examples in 8 months ago
hardware add bit 8 months ago
models update 8 months ago
patch update op.patch 7 months ago
tvm @ 760e9b2b04 mv relay-frontend to examples 8 months ago
varecc annotate debug info 7 months ago
.gitignore update readme 8 months ago
.gitmodules add submodule 8 months ago
Makefile remove git pull 7 months ago fix typo in readme 8 months ago fix PWD typo in 7 months 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