Comments (3)
The .dat files as parsed for lines with 32 groups of hex bytes. First byte on the line of 32 maps to offset 0 (the base address is specified in input.txn) and the last byte on the line maps to offset 31. The first byte of the second line maps to offset 32 and the last byte on the line maps to offset 63, etc.
Lines without "0x" at the beginnning are ignored so some of our files have comments in plain text.
When reading a .dat file, the format is
0x<byte0> 0x<byte1> ... 0x<byte30> 0x<byte31>
0x<byte32> 0x<byte33> ... 0x<byte62> 0x<byte63>
verif/synth_tb/sim_scripts/input_txn_to_hexdump.pl does the conversion of .dat to .raw2 for simulation. The testbench takes in .raw2 files using readmemh. readmemh takes values 4 bytes at a time and the right-most byte going to address 0.
When reading a .raw2 files, the format is
<byte7><byte6>...<byte1><byte0>
<byte15><byte14>...<byte9><byte8>
from hw.
the 'format' here, i am refer in particular to the structure of the feature-maps and the weights in the Memory and CBUF.for example ,for feature-map(Width x Height x M_channel) , weight(Row x Column x M_channel x N_channel),
is 0xbyte0 the weight[w0][h0][m0][n0]?
is 0xbyte2 the weight[w1][h0][m0][n0] or weight[w1][h0][m1][n0]?
where is the weight[w_i][h_j][m_k][n_l] stored in the Memory and CBUF?
from hw.
We've written some documentation about this: http://nvdla.org/hw/format.html
from hw.
Related Issues (20)
- Hh
- [FEATURE REQUEST] DLA support for 3D conv
- Now, we can use nvdla to inference yolox.
- Deploying a quantized network on NVDLA HOT 1
- PDP doesn't support large images
- nvdla hw
- How does the data and weight is handled in NVDLA? HOT 1
- Problem with PReLU
- CNN models for nv_small HOT 1
- Meaning Filehandle GEN1 opened only for input at /usr/share/perl5/IO/Tee.pm line 132.
- rams model clarification HOT 1
- what if m_mm == NULL when deleteGPMemManager is called?
- Nvidia npu v
- verilator build failed
- make: *** [/remote/sdg_fpga_ae_00/nikithav/ai_design/nvdla/hw/outdir/nv_full/spec/defs/project.def] Error 127
- Systemc error when building NVDLA Test Bench HOT 5
- Error in building nv_small configuration (verif_trace_player)
- Error in building verif_trace_player (after the sysc step, in the simv step)
- can any help me out how to go through CMOD (using systemc and tlm)(roadmap)
- Corner related to PPA numbers
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 hw.