changwoolee / lenet5_hls

FPGA Accelerator for CNN using Vivado HLS
MIT License
291 stars 91 forks source link

hls #5

Open wangenyi opened 6 years ago

wangenyi commented 6 years ago

Hi, i want to know the details when using hls. i do not know the top files when i try to implement it and i can not finish the project. i am a novice, so i want to know more details about this. Thank you very much.

changwoolee commented 6 years ago

Hi, wangenyi I used Xilinx SDx 2016.4 for this project. The functions for hardware implementation is CONVOLUTION_LAYER_1 CONVOLUTION_LAYER_2, and CONVOLUTION_LAYER_3 in lenet5/hw/image_convolution.cpp I'm novice too, so I can't tell you about the settings on vivado hls. but if you use SDx(or SDSoC), this link might help you. https://www.xilinx.com/html_docs/xilinx2017_2/sdsoc_doc/topics/tutorials/task_specify_hardware_functions.html

Thank you