-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for FastVDMA in LiteX #2
Comments
Can we fork this fastVDMA project? After some quick test I see that we need to change the configuration to use the Wishbone, because now it's generating the verilog source for AXI4 val csrFrontend = Module(new AXI4LiteCSR(DMATop.addrWidth))
val readerFrontend = Module(new AXIStreamSlave(DMATop.addrWidth, DMATop.readDataWidth))
val writerFrontend = Module(new AXI4Writer(DMATop.addrWidth, DMATop.writeDataWidth)) I am also not quite sure how can we test the wrapper alone. I remember that @kgugala mentioned that there is some more extensive paper on this project (I mean more extensive than this and this) |
@kabrodzki I made a fork. You should be able to push there. As for more info about the DMA you can always ask the author @piotr-binkowski |
I don't know if this will be useful, but LiteX is able to convert the AXI to wishbone: But this is like a wrapper on a wrapper, so maybe there is a better option. |
I created the repo for the wrapper and uploaded the "Link layer", but I'm not quite sure how to go from there. |
now you should include the DMA in the LiteX system you're working on, so you can access DMA's registers from the CPU |
you will also need to wrap your wishbone signals as |
FastVDMA is available here https://github.com/antmicro/fastvdma
To integrate it with LiteX you have to generate Verilog code and wrap it in LiteX. Here is an example how a Verilog module can be wrapped: https://github.com/enjoy-digital/litesdcard/blob/master/litesdcard/emulator/linklayer.py#L109
The text was updated successfully, but these errors were encountered: