摘要
在深入研究Nios自定制指令的软硬件接口的基础上,利用Matlab/DSP Builder建立快速傅里叶变换FFT核心运算指令基本模型,然后用Altera公司提供的Singacompiler工具对其进行编译,产生QuartusⅡ能够识别的VHDL源程序,并将此程序在Nios中自定制成相关的FFT运算指令。利用自定制的FFT运算指令,在Nios中利用C语言编写基于Nios的FFT算法程序,实现了FFT运算的软硬件协同设计。经测试表明,将FFT算法加入到Nios嵌入式处理器指令集中,可以帮助系统完成复杂的数据处理任务,增强Nios系统的实时处理能力。该设计方法打破了软硬件间的屏障,大大加快了系统的功能验证。
In-depth study of Nios customized instruction based on the hardware and software interfaces, using Matlab / DSP Builder to establish the basic model of FFT-core processing instructions, and then used Altera provided Singacompiler tools to compile them, producing Quartus II able to identify the VI-IDL source code. This program will be customized in the Nios in the FFT operation into the relevant instructions. FFT operations uses customized instructions, in the Nios in the use of C language programs based on Nios, the FFT algorithm to realize FFT computing hardware and software co-design is implemented. The tests show that the FFT algorithm is added to the Nios embedded processor instruction set that can help system to complete complex data processing tasks, enhance Nios system real-time processing capabilities. The design method breaks the barriers between hardware and software, accelerates the functional verification system greatly.
出处
《电子设计工程》
2010年第9期158-161,共4页
Electronic Design Engineering
基金
重庆文理学院校内大学生创新性实验计划资助项目(200909)