Comments (4)
Hi Yamraj,
As you have figured out, the data processing is happening in the overlay and written back to out_buffer at the allocated location in DDR via DMAs.
You can check the functionality of the overlay by using Xilinx Vivado tool and sourcing the overlay.tcl provided in "spooNN/mnist-cnn/deploy/" location.
Now if you want to change this overlay, the bd can be tweaked by adding another IP or RTL design sources to achieve the processing you need. Once the bd is validated, you can generate a new overlay bitstream. Here are some of the videos which could be of help to generate custom overlays:
https://www.youtube.com/watch?v=UBsCNPWudww&t=398s
https://www.youtube.com/watch?v=LomArt-hi4M
If you do not have access to Xilinx tools, you can think of using existing overlays and building the python software to solve a different problem.
Hope this helps. Let us know if you have further queries.
Cheers!
Radhika
from go-pynq.
@mr-yamraj , If you are just looking for understanding out_buffer computation implemented in the overlay, do look at the source code at:
https://github.com/fpgasystems/spooNN/blob/master/mnist-cnn/hls/mnist-cnn-1W5A.cpp
from go-pynq.
If I just do this by multiplying numpy matrix and applying activation function. Then that will be ineffective right.
What all existing overlays that you can suggest to do the matrix multiplication and other computation.
from go-pynq.
Yes that is the reason this matrix multiply cpp kernel is targeted to Xilinx FPGA to achieve compute efficiency.
You can check for different neural network implementations from pynq community: http://www.pynq.io/community.html
For ex:
QNN overlay from Xilinx labs is here:
https://github.com/Xilinx/QNN-MO-PYNQ/tree/master/qnn/bitstreams/pynqZ1-Z2
from go-pynq.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-pynq.