GithubHelp home page GithubHelp logo

wchgithb / fpga-proj Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cxlisme/fpga-proj

0.0 0.0 0.0 27.27 MB

FPGA project

Pascal 0.01% Verilog 3.19% VHDL 95.33% V 0.94% Shell 0.31% Stata 0.03% Forth 0.01% Tcl 0.07% JavaScript 0.05% Batchfile 0.01% PureBasic 0.01% SystemVerilog 0.07%

fpga-proj's Introduction

FPGA-proj

FPGA project 本工程主要是通过verilog搭建了一个简单LeNet卷积神经网络
该网络模型:
1.第一层卷积层:输入为灰度图,28×28×1;卷积核为:5×5×1×6;输出为24×24×6,relu
2.第二层池化层:maxpooling;输出为12×12×6
3.第三层卷积层:卷积核为:3×3×6×10;输出为10×10×10,relu
4.第四层全连接层:输入1000个数据,输出节点为200个,relu
5.第五层全连接层:输入200个数据,输出节点为10个
在第一层的卷积中通过单行像素输入,在第三层的卷积中则是feature map一起输入,分别模拟不同的情况下数据输入。
该工程通过实际搭建的神经网络结果进行过对比,中间feature map及结果都只是在精度上有差别。代码整体结构上是没有问题的。
本代码只通过仿真和综合,并未深究跨时钟域时序分析等问题,仅供参考学习
此外笔者还录制了讲解视频,有兴趣的可以看一看,链接:https://www.bilibili.com/video/BV13L411K7ma?share_source=copy_web

fpga-proj's People

Contributors

cxlisme avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.