-
Notifications
You must be signed in to change notification settings - Fork 21
Installation of Light HLS
Tingyuan LIANG edited this page Dec 8, 2021
·
14 revisions
- Install LLVM-9.0.0 or LLVM-11.0.0:
(1) Download LLVM-11
git clone -b master https://github.com/llvm/llvm-project.git
git checkout 1ab092b75859137c48d279a137fe5dce61a925b6
(2) generate build configuration
cmake -G "Unix Makefiles" -DLLVM_ENABLE_PROJECTS="clang;lldb;compiler-rt;lld;polly;debuginfo-tests" ../LLVM_src/llvm/
(3) build LLVM
make -j8
(4) and install it.
sudo make install
-
In the directory Tests, a series of experiments are conducted during development. The standard Light-HLS is implemented in Light_HLS_Top
-
In the directory Light_HLS_Top, a bash script Build.sh will help to build the project.
-
You can find the built Light-HLS in the directory "build", in which you can test it with the following command:
./Light_HLS_Top ../../../App/conv/conv.cc convs ../config_conv.txt DEBUG