EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
背景:ZynqNet能在xilinx的FPGA上实现deep compression的网络,FPGA端程序运用传入每层数据运算后存在DRAM上。 目的:读懂ZynqNet的FPGA端的代码。 目录 程序包括: 1. 读取每层信息 1.1 给所有block设置layer信息 1.2 加载权重预加载图像 2. 运算 2.1 image piexl to ICache 2.2 stride=2时 2.3 for channel in 2.3.1 processInputChannel 2.3.2 setPixelWriteBack 2.4 for channels out 2.4.1 post process 2.4.2 gloabl_pool FPGA端代码经过HLS高层次综合为硬件语言实现在FPGA上。为fpga_top.cpp与fpga_top.hpp
) a0 H) P. ]% x2 o5 |- w4 M
; A, G$ `6 Q3 \) b/ S; \1 ] |