- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello all,
I have a question regarding NIOS II processor. I have some situation where I have to send some allocated memory (By NIOS II software running on it) data to the hardware processing block. I am using on-chip memory as of now as the memory for NIOS II memory.
To get my work done I am thinking that, if I connect another Avalon Master port from my hardware block to the on-chip memory slave port, and then send the start of the memory address I want to copy, to the hardware block(maybe from custom instruction). Then the hardware block would read and write directly from on-chip memory. (Making sure that there are no concurrent access to the same memory locations)
Is there any complications doing this? have anyone tried this before?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Manoj
You may consider the mSGDMA IP, you may refer to page 325 of below document:
https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/ug/ug_embedded_ip.pdf
Thanks.
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Manoj
Do you have any inquiry ?
Thanks.
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Eric,
Thank you for your kind reply and apologies for the delay. I have managed this through memcpy function in C and attaching a RAM module via avaoln memory-mapped bus.
DMA was a bit enefficient for mycase because the amount of data transfered is not big, so initiating DMA takes more time.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page