Giter Club home page Giter Club logo

cnn_accelerator's Introduction

CNN acclerate

1. input && conv && output

input (uint8): 48 * 48 *3

conv (uint8): 3 * 3 * 3

output : 46 * 46 *3

2. File tree discription

  1. build :

    run build.bat

    run build.bat to bulid the project and to get the vcd file checking the wave

  2. c :

    c project, used to check the correct of the element in array(Fi or Fo) by changing the array Fi, conv

  3. data :

    store the data file (like input signals or result data and so on)

  4. py :

    by run python gen.py

    get the Fi data, or conv data of coe file used by rom.

    by diff_test to check the result

  5. rtl :

    Here are two files:

    1. pe.v
    2. top.v

    pe module used to simulate the conv op and just execute mulitiply operation.

    top module instant 46*3 pe modules

  6. sim:

    tb_top.sv arrange the data to flow in

3. detail and process

while the top module is very simple:

1

while the parallel

1

1

1

1

1

1

1

1

cnn_accelerator's People

Contributors

yukunxue avatar

Stargazers

 avatar  avatar

Watchers

 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.