Giter Site home page Giter Site logo

bnna's Introduction

BNN Accelerator

bnn_acceler

Requirements

  • GHDL
  • GTKWave
  • VHDL

Quick Instruction

cloning repository

  $ git clone https://github.com/bnna-project/bnna.git  
  $ cd bnna  

compiling VHDL code and looking on wave diagrams in GTKWave

  $ ghdl -s test_file.vhdl                 #Syntax Check  
  $ ghdl -a test_file.vhdl                 #Analyse  
  $ ghdl -e test_file.vhdl                 #Build   
  $ ghdl -r test_file --vcd=testbench.vcd  #VCD-Dump  
  $ gtkwave testbench.vcd                  #Start GTKWave  

Also you can compile and look on wave diagrams in GTKWave with command

  $ bash script.sh test_file.vhdl test_file_testbench.vhdl  

Last file must be testbench !!!

auto compiling the project

In the compile folder is a script to compile all the components automatically. You can use it like this:

  $ cd compile
  $ bash auto_compile.sh

After this you just have to compile the test benches you want to use. For example like this (you should still be in the compile folder):

  $ bash script.sh ../BNNA/tb_presentation.vhdl

References

  1. FP-BNN: Binarized neural network on FPGA
    https://www.sciencedirect.com/science/article/abs/pii/S0925231217315655

  2. Stochastic Computing for Hardware Implementationof Binarized Neural Networks
    https://arxiv.org/abs/1906.00915

  3. FINN: A Framework for Fast, Scalable Binarized Neural Network Inference
    https://arxiv.org/abs/1612.07119

bnna's People

Contributors

bnna-project avatar kvnwhy avatar mkrekker avatar somar0 avatar thubn 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.