Some sample codes for implementing CNN in Vivado HLS.
CMake
gcc
mkdir -p build && cd build && cmake .. && make
# under directory build/
# run LeNet
./lenet
We currently provide a TCL script to build Vivado HLS based hardware design.
Design files are in src/accel
.
# Top function is selected as conv_layer_tile_accel_inst
vivado_hls tcl/vivado_hls.tcl