hossein1387 / BARVINN

BARVINN: A Barrel RISC-V Neural Network Accelerator: https://barvinn.readthedocs.io/en/latest/
MIT License
79 stars 11 forks source link

Can't find /csrc/conv/common/crt0.S #30

Closed 33xsk closed 3 months ago

33xsk commented 4 months ago

Excuse me, is /csrc/conv/common damaged ?

hossein1387 commented 4 months ago

it should have point to the pito_riscv common directory. It is now fixed.

shenbai12138 commented 4 months ago

/home/tao/BARVINN/csrc/conv/src//main.c: In function 'main_thread': /home/tao/BARVINN/csrc/conv/src//main.c:41:22: error: 'DMA_START_ADDR' undeclared (first use in this function) int wbase_addr = DMA_START_ADDR; ^~~~~~ /home/tao/BARVINN/csrc/conv/src//main.c:41:22: note: each undeclared identifier is reported only once for each function it appears in Excuse me, how can I get int wbase_addr = DMA_START_ADDR, : each undeclared identifier is reported only once for each function it appears in

33xsk commented 4 months ago

Is a header file missing?

shenbai12138 commented 4 months ago

Is csrfile.mem lost?

hossein1387 commented 4 months ago

@shenbai12138 The code you are using was part of my test code when I was developing DMA. Unfortunately the DMA is still work in progress. For now, you can only use local rams on MVUs to store data.