Forum Discussion
Altera_Forum
Honored Contributor
16 years ago<div class='quotetop'>QUOTE (mschnell @ Sep 9 2009, 02:21 PM) <{post_snapback}> (index.php?act=findpost&pid=23795)</div>
--- Quote Start --- IMHO, you in fact should create an Avalon bus master module (aka DMA) that reads memory data words from memory and writes them to the DACs. Why do you think that there is a problem with external memory ? Your Module just accesses the Avalon bus with the appropriate address. AFAIK the Avalon bus design automatically handles bus conflicts. You need to take care that the shared memory region is accessed with the CPU without the cache. When doing the appropria<te Linux device driver, the system offers macros to access "DMA-Memory" for that purpose. (NIOS nommu hardware handles this very different from NIOS mmu, but the Kernel should take care of this.) -Michael[/b] --- Quote End --- Thanks for your reply, The avalon bus cannot be accessed from hardware though it? When i say hardware I mean HDL? We need hardware to write to the DACS. I don't think DMA will do the trick because we need to manipulate the data in hardware before writting to the DACS. Basically, the application transits different wave forms, sort of like a signal generator. The PC will send this data which may be up to 600kb and the hardware will need to output this data at 10Khz.