Comments (7)
oops, I meant input size is 1x64x32x32
. And yes, you can use MVU_Code_gen
to generate weights and input necessary for the conv_tester.sv
.
from barvinn.
Could you please confirm on which branch of Pito/BARVINN and MVU you are?
from barvinn.
I am currently on origin/master <-> 3649e73 for BARVINN ; origin/master <-> 5e24521b for PITO_RISCV ; and aff7d9d4 for MVU
from barvinn.
I am in the process of adding a memory subsystem to BARVINN and our first FPGA target is ALVEO U200. The DMA engine is under construction and the code you see is a left over of this development.
If you just want to try a simple Conv kernel on BARVINN, you can comment line 46 and 54 and the code will perform a Convolution between an input of size 1x3x32x32
and weight size of 64x64x3x3
. The computation is divided between 8 MVUs. This code assumes that the data is already prepared in the correct format in input and weight buffers. The purpose of the DMA calls is actually to request the host to send over data in the correct format for the computation.
To use DMA engine and the host, you can follow my work on mem_sub_system
branch on Pito. I should have some results soon.
from barvinn.
Ahh, I see that makes sense. Thanks for the added clarification about the the DMA engine part being under construction. Sorry for the confusion, you had mentioned about that in #20 . With the lines commented, I am able to generate the firmware files!. I will give a try with full BARVINN simulation now.
from barvinn.
Awesome! let me know if you have more questions!
from barvinn.
Sorry, needed a bit more clarification. You mentioned the csrc/conv2d.c
will do 3x32x32
input with 64x64x3x3
weight. Shouldn't the weights be 3x64x3x3
since we only have 3 input channels? Also for preparing the input and weight RAMs , I can use the MVU_Code_gen
repository to generate the weight.hex
and input.hex
necessary for the conv_tester.sv
simulation, right?
from barvinn.
Related Issues (15)
- Fix word endianness in the data transposer module HOT 1
- Allow packed data for data transposer HOT 1
- Connect MVU to data transposer
- Reading MVU result in Verification Env
- Simulation project build not successful HOT 9
- [conv2d] : Interrupt waiting code hangs sim HOT 6
- BARVINN Documentation is out of date
- Problems with `CSR_MVUCONFIG1` HOT 3
- [0x0f013087: !unknown instruction!] when fusesoc run --target=sim barvinn HOT 2
- Errors in sim and synth with fusesoc HOT 6
- Tools and board used to run this repository HOT 1
- Hardcoded paths HOT 1
- Missing weight and input HEX files HOT 1
- Can't find /csrc/conv/common/crt0.S HOT 5
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 barvinn.