Forum Discussion
Altera_Forum
Honored Contributor
15 years agoI have not done this but it should be possible.
I would probably build a read master frontend to fetch the A and B matrix elements from memory and then put a write master backend to write the results back to memory. The megafunction would sit in between the read and write masters. Alternatively you could use DMAs for this and put some logic between the DMA and the megafunction to re-format the data entering/leaving the megafunction. I personally think just building in your own read and write masters would be the better method since it'll be tuned for what you are trying to do. It'll be more work as well but if you are looking for high performance this is the price to pay.