Hello,
I am trying to design my own accelerator in FS (ARM) gem5. I use this
tutorial
(http://gedare-csphd.blogspot.gr/2013/02/adding-simple-io-device-to-gem5.html)
to add a simple device. The problem is that i want to transfer huge
amount of data to this accelarator using DMA.
In gem5 src/dev there is a dma_device.hh(.cc) with the following functions.
i) dmaWrite(Addr addr, int size, Event *event, uint8_t *data, Tick
delay = 0)
ii) dmaRead(Addr addr, int size, Event *event, uint8_t *data, Tick delay
= 0)
I understand the fields of the above function. My question is what
address must be assigned in the addr field?
In addition, how can i read the memory from inside Linux Kernel? There
is special DMA function?
Please help me, I am trying to design a SystemC accelerator and i can
share my new acceleretor device in gem5 community when i complete the
implementation.
Thanks in advance, Nikos
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users