Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Supporting multiple outstanding DMA requests #26

Open
shtaxxx opened this issue Apr 16, 2019 · 1 comment
Open

Supporting multiple outstanding DMA requests #26

shtaxxx opened this issue Apr 16, 2019 · 1 comment

Comments

@shtaxxx
Copy link
Member

shtaxxx commented Apr 16, 2019

No description provided.

@shtaxxx shtaxxx changed the title Multiple outstanding DMA request Supporting multiple outstanding DMA requests Apr 16, 2019
@shtaxxx
Copy link
Member Author

shtaxxx commented Apr 16, 2019

Two DMAs in the following thread code should be overlapped.

def ctrl():
    myaxi.dma_read_async(local_ram, laddr0, gaddr0, size0)
    myaxi.dma_read_async(local_ram, laddr1, gaddr1, size1)
    myaxi.dma_wait()

To support multiple outstanding requests, unissued request queue and issued request queue will be required respectively.
The similar mechanism had been implemented in PyCoRAM.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant