今天特意从Altera公司介绍SG-DMA的文档中查找关于停止或者重启SG-DMA的方法,发现其控制寄存器(CONTROL)有一位是SW_RESET,即软件复位,上面讲“Software can reset the core by writting to this bit twice.Upon the second write,the core is reset.The logic which sequences the software reset process then resets itself automatically”.Executing a software reset when a DMA transfer is active may result in permanent bus lockup until the next system reset.Hence,Altera recommends that you use the software reset as your last resort.
用户258499 2011-3-21 17:25