摘要
针对Altera公司现有FPGA在线测试方法无法适应大批量测试/激励数据自动传输的情况,论文提出了一种基于SoPC的FPGA在线测试方法,该方法采用NiosⅡ控制数据传输过程、DMA协助数据传输、FIFO作为数据暂存,采用自定义外设完成了DMA模块与FIFO的接口设计,从而DMA可以直接操作FIFO,测试结果表明该方法是一种可行且高效的FPGA在线测试方法。创新性在于充分利用JTAG接口完成FPGA的在线测试,同时测试数据能够写入PC中的文件/激励数据从文件读出。
An in-system testing method of FPGA based on SoPC is presented on account of the existing in-system testing methods created by Altera can't transfer data automatically in bulk. Nios Ⅱ is adopted in the method to control the process of data transmission assisted by DMA. FIFO is taken as the data temporary storage. The user-defined peripherals are employed to complete the interface design of DMA and FIFO, so that user-defined peripherals coordinate them and DMA operates FIFO directly. Testing results demonstrate this method is feasible and efficient. Innovation of this paper is that JTAG is fully used and the in-system testing data can write to/read from files stored in PC.
出处
《现代电子技术》
2011年第2期164-166,共3页
Modern Electronics Technique